1 #ifndef CRT_RAW_TREE_CC
2 #define CRT_RAW_TREE_CC
12 fTree->LoadBaskets(16e9);
41 return (
size_t)
fTree->GetEntriesFast();
46 std::cout <<
"ERROR in CRTRawTree::GetAbsTime: entry out of range" << std::endl;
50 fTree->GetEntry(ientry);
56 std::cout <<
"ERROR in CRTRawTree::GetMac: entry out of range" << std::endl;
60 fTree->GetEntry(ientry);
66 std::cout <<
"ERROR in CRTRawTree::GetADC: entry out of range" << std::endl;
70 fTree->GetEntry(ientry);
82 std::cout <<
"ERROR in CRTRawTree::GetPollRate: entry out of range" << std::endl;
86 fTree->GetEntry(ientry);
92 std::cout <<
"ERROR in CRTRawTree::GetInterval: entry out of range" << std::endl;
96 uint64_t tprev, tnext;
97 fTree->GetEntry(ientry1);
100 fTree->GetEntry(ientry2);
104 std::cout <<
"ERROR in CRTRawTree::GetInterval: reverse ordered!" << std::endl;
108 return tnext - tprev;
ULong64_t fFragment_timestamp
TBranch * b_Run_start_time
TBranch * b_This_poll_end
TBranch * b_This_poll_start
TBranch * b_Last_poll_end
TBranch * b_Last_poll_start
float GetPollRate(size_t ientry) const
size_t GetNEntries() const
float GetInstRate(size_t ientry_prev, size_t ientry_next) const
TBranch * b_System_clock_deviation
int32_t fSystem_clock_deviation
ULong64_t fRun_start_time
ULong64_t fThis_poll_start
TBranch * b_Fragment_timestamp
uint32_t fFeb_event_number
uint64_t GetAbsTime(size_t ientry) const
uint8_t GetMac(size_t ientry) const
ULong64_t fLast_poll_start
BEGIN_PROLOG could also be cout
TBranch * b_Feb_event_number
uint16_t GetADC(size_t ientry, uint8_t chan) const
uint64_t GetInterval(size_t ientry1, size_t ientry2) const