HighLAND
Public Member Functions | Public Attributes | List of all members
BeamBunching Class Reference
Inheritance diagram for BeamBunching:
ND280BeamBunching

Public Member Functions

 BeamBunching (const std::string &filename)
 
void ReadBeamBunchStructure (const std::string &filename)
 Read the bunch structure for analysis usage.
 
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.
 
UInt_t GetNBunches (const AnaEventB &event)
 Number of bunches in the run period for the current run.
 
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.
 

Public Attributes

UInt_t _nbunches
 
std::vector< Float_t > bunch_time_mc
 
std::vector< std::vector< Float_t > > bunch_time_data
 
std::vector< std::pair< int, int > > bunchrunperiod
 

Detailed Description

Definition at line 6 of file BeamBunching.hxx.


The documentation for this class was generated from the following files: