BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TRawData.h
Go to the documentation of this file.
1#ifndef DigiRootData_TRawData_H
2#define DigiRootData_TRawData_H 1
3
4#include "TObject.h"
5
6
7class TRawData : public TObject {
8
9public:
10
12
13 ~TRawData ();
14
15 void initialize (UInt_t id, UInt_t time=0, UInt_t charge=0);
16
17 void Clear(Option_t *option ="");
18
19 void Print(Option_t *option="") const;
20
21
22 void setTrackIndex(const int trackIndex);
23
24
25 // Get associated int id
26 UInt_t getIntId() const;
27
28 // Get time channel
29 UInt_t getTimeChannel() const;
30
31 // Get charge channel
32 UInt_t getChargeChannel() const;
33
34 //Get track index
35 int getTrackIndex() const;
36
37private:
38
39 UInt_t m_intId;
40 UInt_t m_timeChannel;
41 UInt_t m_chargeChannel;
42 Int_t m_trackIndex;
43
44 ClassDef(TRawData,1)
45};
46
47#endif
Double_t time
void initialize(UInt_t id, UInt_t time=0, UInt_t charge=0)
Definition TRawData.cxx:34
void Clear(Option_t *option="")
Definition TRawData.cxx:18
UInt_t getIntId() const
Definition TRawData.cxx:50
void setTrackIndex(const int trackIndex)
Definition TRawData.cxx:41
int getTrackIndex() const
Definition TRawData.cxx:45
UInt_t getChargeChannel() const
Definition TRawData.cxx:60
void Print(Option_t *option="") const
Definition TRawData.cxx:25
UInt_t getTimeChannel() const
Definition TRawData.cxx:55
float charge