CEDRIC  Revision_backup-2009-02
Public Member Functions | Public Attributes | List of all members
EventInfo Class Reference

General Infos about an Event. More...

#include <EventInfo.h>

Public Member Functions

 EventInfo (int idx_)
 
 EventInfo (int idx_, const PaEvent &e)
 
 EventInfo (int idx_, int run_, int spill_, int event_)
 
void makeStrings ()
 

Public Attributes

int idx
 index of PaEvent in event tree More...
 
int run
 run number More...
 
int spill
 burst number More...
 
int event
 event number in spill More...
 
bool valid
 true when members are initialized explicitly, false if only idx is set More...
 
optional infos (variable names correspond exactly to PaEvent function names)

These are only filled if constructor is called with PaEvent reference.

int NParticle
 
int NTrack
 
int NVertex
 
int NCaloClus
 
int TrigMask
 
bool OnlFltAccepted
 
bool OnlFltMonitor
 
string representations
std::string s_idx
 
std::string s_run
 
std::string s_spill
 
std::string s_event
 

Detailed Description

General Infos about an Event.

See Also
EventSelectorDialog

Constructor & Destructor Documentation

EventInfo::EventInfo ( int  idx_)
EventInfo::EventInfo ( int  idx_,
const PaEvent &  e 
)
EventInfo::EventInfo ( int  idx_,
int  run_,
int  spill_,
int  event_ 
)

References makeStrings().

Member Function Documentation

void EventInfo::makeStrings ( )

References event, idx, run, s_event, s_idx, s_run, s_spill, spill, and to_string().

Referenced by EventInfo().

Member Data Documentation

int EventInfo::event

event number in spill

Referenced by makeStrings(), and EventTreeWidget::setItemText().

int EventInfo::idx

index of PaEvent in event tree

Referenced by makeStrings(), and EventTreeWidget::setItemText().

int EventInfo::NCaloClus
int EventInfo::NParticle
int EventInfo::NTrack
int EventInfo::NVertex
bool EventInfo::OnlFltAccepted
bool EventInfo::OnlFltMonitor
int EventInfo::run

run number

Referenced by EventInfo(), makeStrings(), and EventTreeWidget::setItemText().

std::string EventInfo::s_event

Referenced by makeStrings().

std::string EventInfo::s_idx
std::string EventInfo::s_run

Referenced by makeStrings().

std::string EventInfo::s_spill

Referenced by makeStrings().

int EventInfo::spill

burst number

Referenced by EventInfo(), makeStrings(), and EventTreeWidget::setItemText().

int EventInfo::TrigMask
bool EventInfo::valid

true when members are initialized explicitly, false if only idx is set

Referenced by EventTreeWidget::setItemText().