]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliReconstruction.h
Fix in composition of QAChecked output image file (Melinda S.)
[u/mrichter/AliRoot.git] / STEER / AliReconstruction.h
index 1298a97e0f22fd598b4671104ba1b99fc56472ba..f33547eb8c0d76004f89a35fda530f107db77626 100644 (file)
@@ -86,6 +86,7 @@ public:
     {fLoadAlignData = detectors;};
 
   //*** Global reconstruction flag setters
+  void SetRunMultFinder(Bool_t flag=kTRUE) {fRunMultFinder=flag;};
   void SetRunVertexFinder(Bool_t flag=kTRUE) {fRunVertexFinder=flag;};
   void SetRunVertexFinderTracks(Bool_t flag=kTRUE) {fRunVertexFinderTracks=flag;};
   void SetRunHLTTracking(Bool_t flag=kTRUE) {fRunHLTTracking=flag;};
@@ -109,6 +110,8 @@ public:
   Float_t GetV0CsPmin() const {return fV0CsPmin;}
   Float_t GetDmax() const {return fDmax;}
   Float_t GetZmax() const {return fZmax;}
+  //
+  Bool_t  IsRunMultFinder()   const {return fRunMultFinder;}
   
   // CDB storage activation
   void SetDefaultStorage(const char* uri);
@@ -160,9 +163,17 @@ public:
   };
   static Int_t   GetDetIndex(const char * detector);
 
+  // Upgrade
+ void SetUpgradeModule(const char* detectors)  {fUpgradeModule = detectors; MatchUpgradeDetector() ; }
+ void MatchUpgradeDetector();
+
 protected:
   virtual Bool_t ProcessEvent(void* event);
   void           InitRun(const char* input);
+  // Functions needed to select events for which we store the ESD friends
+  Bool_t IsHighPt() const;
+  Bool_t IsCosmicOrCalibSpecie() const;
+  void WriteESDfriend();
 
 private:
   AliReconstruction(const AliReconstruction& rec);
@@ -321,7 +332,18 @@ private:
   
   TTree*              fChain;      //! The raw-data chain in case of AliRawReaderChain
 
-  ClassDef(AliReconstruction, 38)      // class for running the reconstruction
+  // Counters used in WriteESDfriend()
+  Int_t fNall;    //! Number of reconstructed events
+  Int_t fNspecie; //! Number of events, selected by IsCosmicOrCalibSpecie
+  Int_t fSspecie; //! Number of events, sampled from fNspecie
+  Int_t fNhighPt; //! Number of events, selected by IsHighPt 
+  Int_t fShighPt; //! Number of events, sampled from fNhighPt
+  // Upgrade detector reconstruction
+  TString fUpgradeModule;
+  Bool_t  fUpgradeMask[kNDetectors];
+
+  ClassDef(AliReconstruction, 39)      // class for running the reconstruction
 };
 
 #endif