X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliReconstruction.h;h=f33547eb8c0d76004f89a35fda530f107db77626;hb=8386cd34e0d4e7f268d6d586a1f62dcadad46d7a;hp=1298a97e0f22fd598b4671104ba1b99fc56472ba;hpb=c7ff1a330fe7ba245040b356bb143a0993bc2708;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliReconstruction.h b/STEER/AliReconstruction.h index 1298a97e0f2..f33547eb8c0 100644 --- a/STEER/AliReconstruction.h +++ b/STEER/AliReconstruction.h @@ -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