4 #include "BaseDataClasses.hxx" 28 Int_t
GetBunch(Float_t tTrack, Int_t run,
bool isMC,
bool cosmic_mode, Float_t sigma = 15., Float_t NSigmas = 4.0 )
const;
34 std::vector<Float_t> bunch_time_mc;
35 std::vector<std::vector<Float_t> > bunch_time_data;
36 std::vector<std::pair<int,int> > bunchrunperiod;
UInt_t GetNBunches(const AnaEventB &event)
Number of bunches in the run period for the current run.
Int_t GetBunchPeriod(const AnaEventB &event)
Define the Bunch Period from the run number.
Float_t GetBunchCentralTime(const AnaEventB &event, Int_t ibunch)
Get the central time for bunch ibunch.
void ReadBeamBunchStructure(const std::string &filename)
Read the bunch structure for analysis usage.
Int_t GetBunch(Float_t tTrack, Int_t run, bool isMC, bool cosmic_mode, Float_t sigma=15., Float_t NSigmas=4.0) const
The run number for a given time.