BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/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
11public:
12 TRecEmcHit();
14
15 // Get
16 Int_t cellId() const { return m_cellId; }
17 Double_t energy() const { return m_energy; }
18 Double_t time() const { return m_time; }
19
20 // Set
21 void setCellId( const Int_t id ) { m_cellId = id; }
22 void setEnergy( const Double_t e ) { m_energy = e; }
23 void setTime( const Double_t time ) { m_time = time; }
24
25private:
26 Int_t m_cellId;
27 Double_t m_energy;
28 Double_t m_time;
29
30 ClassDef( TRecEmcHit, 2 )
31};
32
33#endif // TrackRootData_TRecEmcHit_H