]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliEventInfo.cxx
Example train to produce HF candidates
[u/mrichter/AliRoot.git] / STEER / AliEventInfo.cxx
index ab183f4838a518858b2e9627c89eb764150bba61..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,10 +33,6 @@ ClassImp(AliEventInfo)
 //______________________________________________________________________________
 AliEventInfo::AliEventInfo():
   TObject(),
-  fLHCState("UNKNOWN"),
-  fBeamType("UNKNOWN"),
-  fRunType("UNKNOWN"),
-  fActiveDetectors(""),
   fEventType(0),
   fTriggerClasses(""),
   fTriggerMask(0),
@@ -46,17 +44,17 @@ AliEventInfo::AliEventInfo():
 }
 
 //______________________________________________________________________________
-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
   // ...
@@ -65,10 +63,6 @@ AliEventInfo::AliEventInfo(const char *lhcState, const char *beamType, const cha
 //______________________________________________________________________________
 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),
@@ -87,10 +81,6 @@ AliEventInfo &AliEventInfo::operator =(const AliEventInfo& evInfo)
   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; 
@@ -105,10 +95,6 @@ void AliEventInfo::Reset()
 {
   // Reset the contents
   // ...
-//   fLHCState = "UNKNOWN";
-//   fRunType = "UNKNOWN";
-//   fBeamType = "UNKNOWN";
-//   fActiveDetectors = "";
   fEventType = 0;
   fTriggerClasses = "";
   fTriggerMask = 0;