]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliEventInfo.cxx
adding separate primary vertex and V0 finder components (Timur)
[u/mrichter/AliRoot.git] / STEER / AliEventInfo.cxx
index 243918f910556c006791622ec71f05961238c4a2..6f2417722d60c397673a29ad396bc3f99040e496 100644 (file)
 
 //////////////////////////////////////////////////////////////////////////////
 //                          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                                     //
 //////////////////////////////////////////////////////////////////////////////
@@ -31,28 +33,28 @@ ClassImp(AliEventInfo)
 //______________________________________________________________________________
 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
   // ...
@@ -61,13 +63,11 @@ AliEventInfo::AliEventInfo(const char *lhcState, const char *runType, const char
 //______________________________________________________________________________
 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
   // ...
@@ -81,13 +81,11 @@ AliEventInfo &AliEventInfo::operator =(const AliEventInfo& evInfo)
   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;
 }
@@ -97,11 +95,9 @@ void AliEventInfo::Reset()
 {
   // Reset the contents
   // ...
-  fLHCState = "UNKNOWN";
-  fRunType = "UNKNOWN";
-  fActiveDetectors = "";
   fEventType = 0;
   fTriggerClasses = "";
   fTriggerMask = 0;
   fTriggerCluster = "";
+  fHLTDecision = "";
 }