BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
readScalers.C File Reference

Go to the source code of this file.

Macros

#define PAD_WIDTH   720
#define PAD_HEIGHT   560

Functions

void readScalers (TString fileName="", Long64_t NExamples=0)
 readScalers Example of reading scaler values

Macro Definition Documentation

◆ PAD_HEIGHT

#define PAD_HEIGHT   560

Definition at line 3 of file readScalers.C.

◆ PAD_WIDTH

#define PAD_WIDTH   720

Definition at line 2 of file readScalers.C.

Function Documentation

◆ readScalers()

void readScalers ( TString fileName = "",
Long64_t NExamples = 0 )
Parameters
fileName
NExamplesnumber of events to show (0 - all events)

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 10 of file readScalers.C.

References TTimeStamp::AsString(), can(), TH1::Draw(), TH1::Fill(), TDirectoryFile::Get(), TTree::GetEntries(), TTree::GetEntry(), BmnEventHeader::GetEventType(), BmnEventHeader::GetInputSignalsAR(), BmnEventHeader::GetInputSignalsBR(), DigiRunHeader::GetPeriodId(), DigiRunHeader::GetRunEndTime(), DigiRunHeader::GetRunId(), DigiRunHeader::GetRunStartTime(), TH1::GetXaxis(), i, TFile::IsOpen(), kBMNPAYLOAD, min(), PAD_HEIGHT, PAD_WIDTH, TAxis::SetBinLabel(), and TTree::SetBranchAddress().

Here is the call graph for this function: