WCSim
Public Member Functions | Private Attributes | List of all members
WCSimRootEventHeader Class Reference

Class containing header information for this trigger. More...

#include <WCSimRootEvent.hh>

Collaboration diagram for WCSimRootEventHeader:
Collaboration graph

Public Member Functions

 WCSimRootEventHeader ()
 
virtual ~WCSimRootEventHeader ()
 
bool CompareAllVariables (const WCSimRootEventHeader *c) const
 
void Set (Int_t i, Int_t r, int64_t d, Int_t sub=1)
 
void SetDate (int64_t d)
 
Int_t GetEvtNum () const
 
Int_t GetRun () const
 
int64_t GetDate () const
 
Int_t GetSubEvtNumber () const
 

Private Attributes

Int_t fEvtNum
 Event number. More...
 
Int_t fRun
 Run number. Should be 0 for the first call of /run/beamOn, and increment for each subsequent call of /run/beamOn. More...
 
int64_t fDate
 Time (ns) More...
 
Int_t fSubEvtNumber
 Trigger number. 0 for the first trigger (or if no trigger has been found), and increments for each subsequent trigger. More...
 

Detailed Description

Class containing header information for this trigger.

Definition at line 277 of file WCSimRootEvent.hh.

Constructor & Destructor Documentation

◆ WCSimRootEventHeader()

WCSimRootEventHeader::WCSimRootEventHeader ( )
inline

Definition at line 286 of file WCSimRootEvent.hh.

◆ ~WCSimRootEventHeader()

virtual WCSimRootEventHeader::~WCSimRootEventHeader ( )
inlinevirtual

Definition at line 287 of file WCSimRootEvent.hh.

Member Function Documentation

◆ CompareAllVariables()

bool WCSimRootEventHeader::CompareAllVariables ( const WCSimRootEventHeader c) const

Definition at line 982 of file WCSimRootEvent.cc.

◆ GetDate()

int64_t WCSimRootEventHeader::GetDate ( ) const
inline

Definition at line 293 of file WCSimRootEvent.hh.

◆ GetEvtNum()

Int_t WCSimRootEventHeader::GetEvtNum ( ) const
inline

Definition at line 291 of file WCSimRootEvent.hh.

◆ GetRun()

Int_t WCSimRootEventHeader::GetRun ( ) const
inline

Definition at line 292 of file WCSimRootEvent.hh.

◆ GetSubEvtNumber()

Int_t WCSimRootEventHeader::GetSubEvtNumber ( ) const
inline

Definition at line 294 of file WCSimRootEvent.hh.

◆ Set()

void WCSimRootEventHeader::Set ( Int_t  i,
Int_t  r,
int64_t  d,
Int_t  sub = 1 
)
inline

Definition at line 289 of file WCSimRootEvent.hh.

◆ SetDate()

void WCSimRootEventHeader::SetDate ( int64_t  d)
inline

Definition at line 290 of file WCSimRootEvent.hh.

Member Data Documentation

◆ fDate

int64_t WCSimRootEventHeader::fDate
private

Time (ns)

Definition at line 282 of file WCSimRootEvent.hh.

◆ fEvtNum

Int_t WCSimRootEventHeader::fEvtNum
private

Event number.

Definition at line 280 of file WCSimRootEvent.hh.

◆ fRun

Int_t WCSimRootEventHeader::fRun
private

Run number. Should be 0 for the first call of /run/beamOn, and increment for each subsequent call of /run/beamOn.

Definition at line 281 of file WCSimRootEvent.hh.

◆ fSubEvtNumber

Int_t WCSimRootEventHeader::fSubEvtNumber
private

Trigger number. 0 for the first trigger (or if no trigger has been found), and increments for each subsequent trigger.

Definition at line 283 of file WCSimRootEvent.hh.


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