CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
TRecEmcHit.h
Go to the documentation of this file.
1#ifndef RootEventData_TRecEmcHit_H
2#define RootEventData_TRecEmcHit_H 1
3
4#include "TObject.h"
5#include <iostream>
6
7using namespace std;
8
9class TRecEmcHit : public TObject {
10
11 public:
12
15
16 //Get
17 Int_t cellId() const { return m_cellId; }
18 Double_t energy() const { return m_energy; }
19 Double_t time() const { return m_time; }
20
21 //Set
22 void setCellId(const Int_t id ) { m_cellId = id; }
23 void setEnergy(const Double_t e) { m_energy = e; }
24 void setTime(const Double_t time) { m_time = time; }
25
26 private:
27 Int_t m_cellId;
28 Double_t m_energy;
29 Double_t m_time;
30
31 ClassDef(TRecEmcHit,2)
32};
33
34#endif //TrackRootData_TRecEmcHit_H
35
void setCellId(const Int_t id)
Definition TRecEmcHit.h:22
Double_t energy() const
Definition TRecEmcHit.h:18
void setEnergy(const Double_t e)
Definition TRecEmcHit.h:23
Int_t cellId() const
Definition TRecEmcHit.h:17
Double_t time() const
Definition TRecEmcHit.h:19
void setTime(const Double_t time)
Definition TRecEmcHit.h:24