|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <Rtypes.h>#include <TClonesArray.h>#include <TFile.h>#include <TMathBase.h>#include <TString.h>#include <TTimeStamp.h>#include <TTree.h>#include "macro/run/bmnloadlibs.C"Go to the source code of this file.
Functions | |
| void | readHeaders (TString fileName="", Int_t examples=10) |
| readHeaders Example of reading valuable content of the DigiRunHeader and BmnEventHeader | |
| fileName | |
| examples | number of events to show |
Reading Run Header for the whole run statistics: beam counters, run start/end time
Reading Event Header for each event in the range: current spill statistics,
Definition at line 18 of file readHeaders.C.
References TTimeStamp::AsString(), bmnloadlibs(), TDirectoryFile::Get(), DigiRunHeader::GetBT(), DigiRunHeader::GetBTAccepted(), DigiRunHeader::GetBTnBusy(), TTree::GetEntries(), TTree::GetEntry(), BmnEventHeader::GetEventId(), DigiRunHeader::GetPeriodId(), DigiRunHeader::GetRunEndTime(), DigiRunHeader::GetRunId(), DigiRunHeader::GetRunStartTime(), BmnTrigInfo::GetTrigAccepted(), BmnTrigInfo::GetTrigAfter(), BmnTrigInfo::GetTrigBefo(), BmnTrigInfo::GetTrigCand(), BmnEventHeader::GetTrigInfo(), BmnTrigInfo::GetTrigRjct(), i, TFile::IsOpen(), and TTree::SetBranchAddress().