X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HMPID%2FAliHMPIDReconstructor.h;h=6852d3898d297652d7eb9741e921eb5ccda5c5a1;hb=0661bdda4bf45d1d51744b832925cdc1aaa87903;hp=d0588f16aca41e3b598d7a4ec7351fe8b8a5f315;hpb=03768ab205d91f06a8091dc8b2156e72e60b803c;p=u%2Fmrichter%2FAliRoot.git diff --git a/HMPID/AliHMPIDReconstructor.h b/HMPID/AliHMPIDReconstructor.h index d0588f16aca..6852d3898d2 100644 --- a/HMPID/AliHMPIDReconstructor.h +++ b/HMPID/AliHMPIDReconstructor.h @@ -8,11 +8,11 @@ #include //base class #include "AliHMPIDTracker.h" //CreateTracker() #include "AliHMPIDDigit.h" //Dig2Clu(), UseDig() -#include "AliHMPIDRecoParam.h" //Init - +#include "AliHMPIDRecoParamV1.h" #include //UseDig() #include //UseDig() #include //SigConv() + class AliRawReader; //Reconstruct() with raw data class AliHMPIDCluster; //Dig2Clu() @@ -27,7 +27,10 @@ public: Bool_t HasDigitConversion() const {return kTRUE;} //HMPID digits converted with ConvertDigits void Reconstruct (TTree* digitsTree, TTree* clustersTree) const; //from AliReconstruction for digit->cluster void FillESD (TTree* /*digitsTree*/, TTree* /*clustersTree*/, AliESDEvent *pESD)const; //calculate pid for HMPID - + static Int_t StreamLevel() { return fgStreamLevel;} + static void SetStreamLevel(Int_t level) { fgStreamLevel = level;} + + using AliReconstructor::FillESD; // using AliReconstructor::Reconstruct; // @@ -36,22 +39,20 @@ public: static void FormClu (AliHMPIDCluster *pClu,AliHMPIDDigit *pDig,TClonesArray *pDigLst,TMatrixF *pPadMap);//cluster formation recursive algorithm static inline AliHMPIDDigit* UseDig (Int_t padX,Int_t padY, TClonesArray *pDigLst,TMatrixF *pDigMap);//use this pad's digit to form a cluster inline Bool_t IsDigSurvive(AliHMPIDDigit *pDig )const;//check for sigma cut - void SetRecoParam(AliHMPIDRecoParam *recopar){ fgkRecoParam = recopar;} - static const AliHMPIDRecoParam* GetRecoParam(){ return fgkRecoParam;} - - + static const AliHMPIDRecoParamV1* GetRecoParam() { return dynamic_cast(AliReconstructor::GetRecoParam(5)); } //5 is the HMPID detector code + protected: - static AliHMPIDRecoParam* fgkRecoParam; // Pointer to HMPID RecoParams Int_t *fUserCut; // n sigmas for pedestals decided by the User for each chamber(if in OCDB) TObjArray *fDaqSig; // container for the pad pedestal sigmas TObjArray *fDig; // tmp list of digits TObjArray *fClu; // tmp list of clusters // private: - AliHMPIDReconstructor(const AliHMPIDReconstructor& r); //dummy copy constructor - AliHMPIDReconstructor &operator=(const AliHMPIDReconstructor& r); //dummy assignment operator + AliHMPIDReconstructor(const AliHMPIDReconstructor&); //Not implemented + AliHMPIDReconstructor &operator=(const AliHMPIDReconstructor&); //Not implemented + static Int_t fgStreamLevel; // flag for streaming - for HMPID reconstruction // - ClassDef(AliHMPIDReconstructor, 1) // class for the HMPID reconstruction + ClassDef(AliHMPIDReconstructor, 3) // class for the HMPID reconstruction }; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++