]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/STEER/AliReconstruction.h
missing forward declaration of THashList added
[u/mrichter/AliRoot.git] / STEER / STEER / AliReconstruction.h
index cbee86a2beb6ac290db27e977004640ec2d2a9a8..2e8a8584d70cf60d7b4906893796a7e1a98714fc 100644 (file)
@@ -3,7 +3,7 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-/* $Id$ */
+/* $Id: AliReconstruction.h 63911 2013-08-19 16:46:41Z hristov $ */
 
 ///////////////////////////////////////////////////////////////////////////////
 //                                                                           //
@@ -48,6 +48,7 @@ class AliTriggerRunScalers;
 class AliCTPTimeParams;
 class AliAnalysisManager;
 class AliRecoInputHandler;
+class THashList;
 
 #include "AliQAv1.h"
 #include "AliEventInfo.h"
@@ -74,6 +75,12 @@ public:
   void           SetOption(const char* detector, const char* option);
   void           SetRecoParam(const char* detector, AliDetectorRecoParam *par);
 
+  void           SetCosmicAlias(const char* nm="kCosmic") {fCosmicAlias = nm;}
+  void           SetLaserAlias(const char* nm="kCalibLaser") {fLaserAlias = nm;}
+
+  TString&       GetCosmicAlias() const {return (TString&)fCosmicAlias;}
+  TString&       GetLaserAlias()  const {return (TString&)fLaserAlias;}
+
   void           SetRunLocalReconstruction(const char* detectors) {
     fRunLocalReconstruction = detectors;};
   void           SetRunTracking(const char* detectors) {
@@ -127,7 +134,12 @@ public:
   void SetDefaultStorage(const char* uri);
   void SetSpecificStorage(const char* calibType, const char* uri);
   void SetCDBSnapshotMode(const char* snapshotFileName);
-
+  void AddCheckRecoCDBvsSimuCDB(const char* cdbpath,const char* comment="");
+  void RemCheckRecoCDBvsSimuCDB(const char* cdbpath);
+  void ResetCheckRecoCDBvsSimuCDB() {fCheckRecoCDBvsSimuCDB.Delete();}
+  void RectifyCDBurl(TString& url);
+  const TObjArray* GetCheckRecoCDBvsSimuCDB() const {return &fCheckRecoCDBvsSimuCDB;}
+  void CheckRecoCDBvsSimuCDB();
   Bool_t MisalignGeometry(const TString& detectors);
 
   void           SetAlignObjArray(TObjArray *array)
@@ -170,12 +182,7 @@ public:
   void    SetRunPlaneEff(Bool_t flag=kFALSE)  {fRunPlaneEff = flag;}
 
   enum {
-// #ifdef MFT_UPGRADE 
-//     kNDetectors = 16   // number of detectors
-// #else
-//     kNDetectors = 15   // number of detectors
-// #endif 
-    kNDetectors = 16   // number of detectors    // AU
+    kNDetectors = 18   // number of detectors    + AD +FIT //alla
   };
   static Int_t   GetDetIndex(const char * detector);
   static const char** GetDetectorNames() { return fgkDetectorName; }
@@ -234,6 +241,7 @@ private:
   Bool_t         RunLocalEventReconstruction(const TString& detectors);
   Bool_t         RunVertexFinder(AliESDEvent*& esd);
   Bool_t         RunMuonTracking(AliESDEvent*& esd);
+  Bool_t         RunMFTTrackingMU(AliESDEvent*& esd);      // AU
   Bool_t         RunSPDTrackleting(AliESDEvent*& esd);
   Bool_t         RunMultFinder(AliESDEvent*& esd);
   Bool_t         RunTracking(AliESDEvent*& esd, AliESDpid &PID);
@@ -271,13 +279,15 @@ private:
 
   Bool_t         InitRecoParams(); // init the array with the reconstruciton parameters
   Bool_t         GetEventInfo();   // fill the event info inside the event loop
-
+  void           ProcessTriggerAliases();
+  Bool_t         TriggerMatches2Alias(const char* trigName, const char* alias);
   const char    *MatchDetectorList(const char *detectorList, UInt_t detectorMask);
 
   //*** Global reconstruction flags *******************
   Bool_t         fRunVertexFinder;    // run the vertex finder
   Bool_t         fRunVertexFinderTracks;    // run the vertex finder with tracks
   Bool_t         fRunMuonTracking;    // run the MUON tracking
+  Bool_t         fRunMFTTrackingMU;   // run the MFT+MUON tracking      // AU
   Bool_t         fRunV0Finder;        // run the ESD V0 finder
   Bool_t         fRunCascadeFinder;   // run the ESD cascade finder
   Bool_t         fRunMultFinder;      // run the trackleter for ITS clusters
@@ -293,7 +303,10 @@ private:
   Float_t        fV0CsPmin;      // min. allowed cosine of V0 pointing angle 
   Float_t        fDmax;          // max. allowed transverse impact parameter 
   Float_t        fZmax;          // max. allowed longitudinal impact parameter 
-
+  
+  TString        fCosmicAlias;        // alias for cosmic triggers
+  TString        fLaserAlias;         // alias for laser triggers
+  //
   TString        fRunLocalReconstruction; // run the local reconstruction for these detectors
   TString        fRunTracking;        // run the tracking for these detectors
   TString        fFillESD;            // fill ESD for these detectors
@@ -335,7 +348,8 @@ private:
   AliESDVertex*  fDiamondProfileSPD;       // (x,y) diamond profile from SPD for AliITSVertexer3D(Z)
   AliESDVertex*  fDiamondProfile;          // (x,y) diamond profile for AliVertexerTracks (ITS+TPC)
   AliESDVertex*  fDiamondProfileTPC;       // (x,y) diamond profile from TPC for AliVertexerTracks
-  THashTable*    fListOfCosmicTriggers;    // list of cosmic triggers as defined by trigger coordination
+  THashTable*    fListOfCosmicTriggers;    // list of cosmic triggers as defined by trigger coordination (RS for BWD comp)
+  THashList*     fAlias2Trigger;          // list of aliases with string of triggers per alias
 
   AliGRPObject*  fGRPData;              // Data from the GRP/GRP/Data CDB folder
 
@@ -344,6 +358,7 @@ private:
   TString       fCDBUri;             //! Uri of the default CDB storage
   TString       fQARefUri;         //! Uri of the default QA reference storage
   TObjArray      fSpecCDBUri;         //! Array with detector specific CDB storages
+  TObjArray      fCheckRecoCDBvsSimuCDB; // Array for CDB items which must be the same in the sim and rec
   Bool_t        fInitCDBCalled;               //! flag to check if CDB storages are already initialized
   Bool_t         fCDBSnapshotMode;             //! flag true if we are setting the CDB Manager in snapshot mode
   Bool_t        fSetRunNumberFromDataCalled;  //! flag to check if run number is already loaded from run loader
@@ -362,6 +377,9 @@ private:
   // Plane Efficiency Evaluation
   Bool_t         fRunPlaneEff ;      // Evaluate Plane Efficiency
 
+  // PID
+  AliESDpid*     fESDpid;                      // PID object
+
   // New members needed in order to split Run method
   // into InitRun,RunEvent,FinishRun methods
   AliESDEvent*         fesd;        //! Pointer to the ESD event object
@@ -406,7 +424,7 @@ private:
   Int_t                fMaxVMEM;        //  max VMEM memory, MB
   static const char*   fgkStopEvFName;  //  filename for stop.event stamp
   //
-  ClassDef(AliReconstruction, 46)      // class for running the reconstruction
+  ClassDef(AliReconstruction, 49)      // class for running the reconstruction
 };
 
 #endif