BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/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