//////////////////////////////////////////////////////////////////////////////
// Class AliEventInfo //
-// Container class for all the information related to LHCstate, run and //
-// event types, trigger mask and trigger clusters. //
-// It is used in order to provide the detector's AliRecoParam objects with//
-// the necessary information so that they can decide which instance of //
-// AliDetectorRecoParam to use in reconstruction one particular event. //
+// Container class for all the information related to //
+// event type, trigger mask and trigger clusters. //
+// It is used together with AliRunInfo in order to provide the detector's //
+// AliRecoParam object with //
+// the necessary information so that it can decide which instance of //
+// AliDetectorRecoParam objects to use in reconstruction one particular //
+// event. //
// //
// cvetan.cheshkov@cern.ch 12/06/2008 //
//////////////////////////////////////////////////////////////////////////////
//______________________________________________________________________________
AliEventInfo::AliEventInfo():
TObject(),
- fLHCState("UNKNOWN"),
- fRunType("UNKNOWN"),
- fActiveDetectors(""),
fEventType(0),
fTriggerClasses(""),
fTriggerMask(0),
- fTriggerCluster("")
+ fTriggerCluster(""),
+ fHLTDecision("")
{
// default constructor
// ...
}
//______________________________________________________________________________
-AliEventInfo::AliEventInfo(const char *lhcState, const char *runType, const char *activeDetectors):
+AliEventInfo::AliEventInfo(UInt_t evType,
+ const char *classes,
+ ULong64_t mask,
+ const char *cluster,
+ const char *decision):
TObject(),
- fLHCState(lhcState),
- fRunType(runType),
- fActiveDetectors(activeDetectors),
- fEventType(0),
- fTriggerClasses(""),
- fTriggerMask(0),
- fTriggerCluster("")
+ fEventType(evType),
+ fTriggerClasses(classes),
+ fTriggerMask(mask),
+ fTriggerCluster(cluster),
+ fHLTDecision(decision)
{
// constructor
// ...
//______________________________________________________________________________
AliEventInfo::AliEventInfo(const AliEventInfo &evInfo):
TObject(evInfo),
- fLHCState(evInfo.fLHCState),
- fRunType(evInfo.fRunType),
- fActiveDetectors(evInfo.fActiveDetectors),
fEventType(evInfo.fEventType),
fTriggerClasses(evInfo.fTriggerClasses),
fTriggerMask(evInfo.fTriggerMask),
- fTriggerCluster(evInfo.fTriggerCluster)
+ fTriggerCluster(evInfo.fTriggerCluster),
+ fHLTDecision(evInfo.fHLTDecision)
{
// Copy constructor
// ...
if(this==&evInfo) return *this;
((TObject *)this)->operator=(evInfo);
- fLHCState = evInfo.fLHCState;
- fRunType = evInfo.fRunType;
- fActiveDetectors = evInfo.fActiveDetectors;
fEventType = evInfo.fEventType;
fTriggerClasses = evInfo.fTriggerClasses;
fTriggerMask = evInfo.fTriggerMask;
fTriggerCluster = evInfo.fTriggerCluster;
+ fHLTDecision = evInfo.fHLTDecision;
return *this;
}
{
// Reset the contents
// ...
- fLHCState = "UNKNOWN";
- fRunType = "UNKNOWN";
- fActiveDetectors = "";
fEventType = 0;
fTriggerClasses = "";
fTriggerMask = 0;
fTriggerCluster = "";
+ fHLTDecision = "";
}