]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliReconstruction.h
First round of ESD clean-up at the physics level: removing the tracks that do not...
[u/mrichter/AliRoot.git] / STEER / AliReconstruction.h
index 99dcade92bed5b1ccb24db821ed728cf2f35cce8..2ae673012bee30761aa1f4723550b86474713f57 100644 (file)
@@ -61,6 +61,8 @@ public:
     SetRunLocalReconstruction(detectors); 
     SetRunTracking(detectors);
     SetFillESD(detectors);};
+  void           SetUseTrackingErrorsForAlignment(const char* detectors) 
+    {fUseTrackingErrorsForAlignment = detectors;};
   void           SetLoadAlignFromCDB(Bool_t load)  {fLoadAlignFromCDB = load;};
   void           SetLoadAlignData(const char* detectors) 
     {fLoadAlignData = detectors;};
@@ -72,19 +74,27 @@ public:
   void SetUniformFieldTracking(Bool_t flag=kTRUE){fUniformField=flag;} 
   void SetRunVertexFinder(Bool_t flag=kTRUE) {fRunVertexFinder=flag;};
   void SetRunHLTTracking(Bool_t flag=kTRUE) {fRunHLTTracking=flag;};
+  void SetRunV0Finder(Bool_t flag=kTRUE) {fRunV0Finder=flag;};
+  void SetRunCascadeFinder(Bool_t flag=kTRUE) {fRunCascadeFinder=flag;};
   void SetStopOnError(Bool_t flag=kTRUE) {fStopOnError=flag;}
   void SetWriteAlignmentData(Bool_t flag=kTRUE){fWriteAlignmentData=flag;}
-  void SetCleanESD(Bool_t flag=kTRUE){fCleanESD=flag;}
   void SetWriteESDfriend(Bool_t flag=kTRUE){fWriteESDfriend=flag;}
   void SetWriteAOD(Bool_t flag=kTRUE){fWriteAOD=flag;}
   void SetFillTriggerESD(Bool_t flag=kTRUE){fFillTriggerESD=flag;}
   void SetDiamondProfile(AliESDVertex *dp) {fDiamondProfile=dp;}
                   
+  void SetCleanESD(Bool_t flag=kTRUE){fCleanESD=flag;}
+  void SetDmax(Float_t d) {fDmax=d;}
+  void SetZmax(Float_t z) {fZmax=z;}
+  Float_t GetDmax() const {return fDmax;}
+  Float_t GetZmax() const {return fZmax;}
+
   void           SetCheckPointLevel(Int_t checkPointLevel)
     {fCheckPointLevel = checkPointLevel;}
   // CDB storage activation
   void InitCDBStorage();
   void SetDefaultStorage(const char* uri);
+  void SetRemoteStorage(const char* uri);
   void SetSpecificStorage(const char* calibType, const char* uri);
 
   Bool_t SetRunNumber();
@@ -99,6 +109,7 @@ public:
 
   // Quality Assurance 
   virtual Bool_t RunQualAss(const char* detectors, AliESDEvent *& esd);
+  void    SetQACycles(const char * detector, const Int_t cycles) { fQACycles[GetDetIndex(detector)] = cycles ; }
 
 private:
   Bool_t         RunLocalReconstruction(const TString& detectors);
@@ -130,23 +141,32 @@ private:
   void           FillRawDataErrorLog(Int_t iEvent, AliESDEvent* esd);
 
   //Quality Assurance
+  Int_t                GetDetIndex(const char * detector);
   AliQualAssDataMaker* GetQualAssDataMaker(Int_t iDet);
+  const Int_t          GetQACycles(const char * detector) { return fQACycles[GetDetIndex(detector)] ; }
 
   //*** Global reconstruction flags *******************
   Bool_t         fUniformField;       // uniform field tracking flag
   Bool_t         fRunVertexFinder;    // run the vertex finder
   Bool_t         fRunHLTTracking;     // run the HLT tracking
-  Bool_t         fRunMuonTracking;     // run the HLT tracking
+  Bool_t         fRunMuonTracking;    // run the HLT tracking
+  Bool_t         fRunV0Finder;        // run the ESD V0 finder
+  Bool_t         fRunCascadeFinder;   // run the ESD cascade finder
   Bool_t         fStopOnError;        // stop or continue on errors
   Bool_t         fWriteAlignmentData; // write track space-points flag
-  Bool_t         fCleanESD;           // clean ESD flag
   Bool_t         fWriteESDfriend;     // write ESD friend flag
   Bool_t         fWriteAOD;           // write AOD flag
   Bool_t         fFillTriggerESD;     // fill trigger info into ESD
 
+  //*** Clean ESD flag and parameters *******************
+  Bool_t         fCleanESD;      // clean ESD flag
+  Float_t        fDmax;          // max. allowed transverse impact parameter 
+  Float_t        fZmax;          // max. allowed longitudinal impact parameter 
+
   TString        fRunLocalReconstruction; // run the local reconstruction for these detectors
   TString        fRunTracking;        // run the tracking for these detectors
   TString        fFillESD;            // fill ESD for these detectors
+  TString        fUseTrackingErrorsForAlignment; // for these detectors
   TString        fGAliceFileName;     // name of the galice file
   TString        fInput;              // name of input file or directory
   TString        fEquipIdMap;         // name of file with equipment id map
@@ -174,12 +194,14 @@ private:
   TObjArray*    fAlignObjArray;      // array with the alignment objects to be applied to the geometry
 
   TString       fCDBUri;             // Uri of the default CDB storage
+  TString       fRemoteCDBUri;       // Uri of the remote CDB storage
   TObjArray      fSpecCDBUri;         // Array with detector specific CDB storages
 
   //Quality Assurance
   AliQualAssDataMaker * fQualAssDataMaker[fgkNDetectors];  //! array of QA data maker objects
+  Int_t                 fQACycles[fgkNDetectors] ;         // cycle length (# events) over which QA data are accumulated
 
-  ClassDef(AliReconstruction, 12)      // class for running the reconstruction
+  ClassDef(AliReconstruction, 15)      // class for running the reconstruction
 };
 
 #endif