BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/RootEventData/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
6class TRawData : public TObject {
7
8public:
9 TRawData();
10
11 ~TRawData();
12
13 void initialize( UInt_t id, UInt_t time = 0, UInt_t charge = 0 );
14
15 void Clear( Option_t* option = "" );
16
17 void Print( Option_t* option = "" ) const;
18
19 void setTrackIndex( const int trackIndex );
20
21 // Get associated int id
22 UInt_t getIntId() const;
23
24 // Get time channel
25 UInt_t getTimeChannel() const;
26
27 // Get charge channel
28 UInt_t getChargeChannel() const;
29
30 // Get track index
31 int getTrackIndex() const;
32
33private:
34 UInt_t m_intId;
35 UInt_t m_timeChannel;
36 UInt_t m_chargeChannel;
37 Int_t m_trackIndex;
38
39 ClassDef( TRawData, 1 )
40};
41
42#endif
Double_t time
void initialize(UInt_t id, UInt_t time=0, UInt_t charge=0)
Definition TRawData.cxx:30
void Clear(Option_t *option="")
Definition TRawData.cxx:14
UInt_t getIntId() const
Definition TRawData.cxx:42
void setTrackIndex(const int trackIndex)
Definition TRawData.cxx:37
int getTrackIndex() const
Definition TRawData.cxx:39
UInt_t getChargeChannel() const
Definition TRawData.cxx:48
void Print(Option_t *option="") const
Definition TRawData.cxx:21
UInt_t getTimeChannel() const
Definition TRawData.cxx:45