//////////////////////////////////////////////////////////////////////////////
// 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"),
- fBeamType("UNKNOWN"),
- fRunType("UNKNOWN"),
- fActiveDetectors(""),
fEventType(0),
fTriggerClasses(""),
fTriggerMask(0),
}
//______________________________________________________________________________
-AliEventInfo::AliEventInfo(const char *lhcState, const char *beamType, 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),
- fBeamType(beamType),
- fRunType(runType),
- fActiveDetectors(activeDetectors),
- fEventType(0),
- fTriggerClasses(""),
- fTriggerMask(0),
- fTriggerCluster(""),
- fHLTDecision("")
+ fEventType(evType),
+ fTriggerClasses(classes),
+ fTriggerMask(mask),
+ fTriggerCluster(cluster),
+ fHLTDecision(decision)
{
// constructor
// ...
//______________________________________________________________________________
AliEventInfo::AliEventInfo(const AliEventInfo &evInfo):
TObject(evInfo),
- fLHCState(evInfo.fLHCState),
- fBeamType(evInfo.fBeamType),
- fRunType(evInfo.fRunType),
- fActiveDetectors(evInfo.fActiveDetectors),
fEventType(evInfo.fEventType),
fTriggerClasses(evInfo.fTriggerClasses),
fTriggerMask(evInfo.fTriggerMask),
if(this==&evInfo) return *this;
((TObject *)this)->operator=(evInfo);
- fLHCState = evInfo.fLHCState;
- fBeamType = evInfo.fBeamType;
- fRunType = evInfo.fRunType;
- fActiveDetectors = evInfo.fActiveDetectors;
fEventType = evInfo.fEventType;
fTriggerClasses = evInfo.fTriggerClasses;
fTriggerMask = evInfo.fTriggerMask;
{
// Reset the contents
// ...
-// fLHCState = "UNKNOWN";
-// fRunType = "UNKNOWN";
-// fBeamType = "UNKNOWN";
-// fActiveDetectors = "";
fEventType = 0;
fTriggerClasses = "";
fTriggerMask = 0;