DUNE StandardRecord
Base object for DUNE analysis files (CAFs)
Public Member Functions | Public Attributes | Static Private Attributes | List of all members
caf::SRBeamBranch Class Reference

Public Member Functions

bool isFHC () const
 
bool is0HC () const
 Checks hornI to see if the polarity is positive --> this is FHC.
 
bool isRHC () const
 Checks hornI to see if the polarity is zero. More...
 

Public Attributes

bool ismc
 data or simulated beam pulse?
 
bool isgoodpulse = true
 Was the pot for a pulse good? (only applicable to data)
 
unsigned long int pulsetimesec = 0
 pulse time in seconds [s]
 
unsigned long int pulsetimensec = 0
 pulse time in nanoseconds [ns]
 
unsigned long int gpspulsetimesec = 0
 pulse time from GPS [s]
 
unsigned long int gpspulsetimensec = 0
 pulse time from GPS [ns]
 
signed long long int deltapulsetimensec = -9999999
 Delta time [ns].
 
float pulsepot = NaN
 POT in pulse including factor of 1e12 so that a user does not have to apply this correction.
 
float hornI = NaN
 Horn current [kA].
 

Static Private Attributes

constexpr static float NaN = std::numeric_limits<float>::signaling_NaN()
 

Member Function Documentation

◆ isRHC()

bool caf::SRBeamBranch::isRHC ( ) const
inline

Checks hornI to see if the polarity is zero.

Checks hornI to see if the polarity is negative --> this is RHC


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