![]() |
AliPhysics
5f29099 (5f29099)
|
Public Types | |
enum | { kBCWidth = 12, kOrbitWidth = 24, kPeriodWidth = 28 } |
Public Member Functions | |
void | CreateBranch (TTree *tree) |
void | ReadBranch (TTree *tree) |
void | Fill (AliESDEvent *esd, UInt_t dets, const TString &guid) |
Static Public Member Functions | |
static ULong64_t | EncodeFull (ULong64_t period, ULong64_t orbit, ULong64_t bc) |
Public Attributes | |
ULong64_t | fFull |
UInt_t | fTime |
UInt_t | fDetectors |
UShort_t | fType |
UChar_t | fGUID [42] |
Data structure to be filled by task - one for each event
Definition at line 18 of file EventTimeTask.C.
anonymous enum |
Widths of field in the full timestamp
Enumerator | |
---|---|
kBCWidth | |
kOrbitWidth | |
kPeriodWidth |
Definition at line 23 of file EventTimeTask.C.
|
inline |
Create a branch in a tree
tree | Tree to create the branch in |
Definition at line 43 of file EventTimeTask.C.
|
inlinestatic |
Utility function to encode the full time stamp from components.
period | Period counter (overflow of orbit counter) |
orbit | Orbit counter (period of 88us) |
bc | Bunch crossing number (period of 25ns) |
Definition at line 66 of file EventTimeTask.C.
Referenced by ELossTimeTask::Event(), and Fill().
|
inline |
Fill information from ESD into this data structure.
esd | Event |
dets | List of active detectors in this event. |
guid | Current file GUID |
Definition at line 92 of file EventTimeTask.C.
Referenced by EncodeFull().
|
inline |
Set the address of a branch for reading back objects from the tree
tree | Tree to read back from |
Definition at line 53 of file EventTimeTask.C.
Referenced by EventTimeSorter::OpenInput().
UInt_t EventTimeData::fDetectors |
Mask of detectors present in the event - FMD is 0x1000
Definition at line 33 of file EventTimeTask.C.
Referenced by Fill(), EventTimeSorter::Run(), and EventTimeSorter::Test().
ULong64_t EventTimeData::fFull |
Full time stamp
Definition at line 29 of file EventTimeTask.C.
Referenced by Fill(), EventTimeSorter::Run(), and EventTimeSorter::Test().
UChar_t EventTimeData::fGUID[42] |
GUID
Definition at line 37 of file EventTimeTask.C.
Referenced by Fill(), EventTimeTask::UserCreateOutputObjects(), EventTimeTask::UserExec(), and EventTimeTask::UserNotify().
UInt_t EventTimeData::fTime |
LDC creation time - standard time_t
Definition at line 31 of file EventTimeTask.C.
Referenced by Fill(), and EventTimeSorter::Run().
UShort_t EventTimeData::fType |
Type of event - 7 is physics
Definition at line 35 of file EventTimeTask.C.
Referenced by Fill(), EventTimeSorter::Run(), and EventTimeSorter::Test().