#ifndef ALIFMDRECONSTRUCTOR_H #define ALIFMDRECONSTRUCTOR_H // // Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights // reserved. // // See cxx source for full Copyright notice // // AliFMDReconstructor.h // Task Class for making TreeR for FMD // //-- Authors: Evgeny Karpechev (INR) and Alla Maevskaia (INR) // Latest changes by Christian Holm Christensen /* Reconstruct nember of particles in given group of pads for given FMDvolume determine by numberOfVolume , numberOfMinSector,numberOfMaxSector, numberOfMinRing, numberOfMaxRing Reconstruction method choose dependence on number of empty pads */ /* $Id$ */ //____________________________________________________________________ // // Class to do reconstruction of events based on the FMD data. The // class will do two kinds of reconstruction, one based on energy // deposition, and one using hit patterns. // // Header guards in the header files speeds up the compilation // considerably. Please leave them in. #ifndef ALIRECONSTRUCTOR_H # include #endif #ifndef ROOT_TObjArray # include #endif //____________________________________________________________________ class TTree; class TClonesArray; class AliFMDDigit; class AliRawReader; class AliRunLoader; //____________________________________________________________________ class AliFMDReconstructor: public AliReconstructor { public: AliFMDReconstructor(); AliFMDReconstructor(const AliFMDReconstructor& other); virtual ~AliFMDReconstructor(); AliFMDReconstructor& operator=(const AliFMDReconstructor& other); virtual void Init(AliRunLoader* runLoader); virtual Bool_t HasDigitConversion() const { return kTRUE; } virtual void ConvertDigits(AliRawReader* reader, TTree* digitsTree) const; virtual Bool_t HasLocalReconstruction() const { return kTRUE; } virtual void Reconstruct(TTree* digitsTree, TTree* clusterTree) const; virtual void FillESD(TTree* digitsTree, TTree* clusterTree, AliESD* esd) const; protected: virtual void ProcessDigits(TClonesArray* digits) const; virtual UShort_t SubtractPedestal(AliFMDDigit* digit) const; TObjArray fAlgorithms; // Array of algorithms Float_t fPedestal; // Pedestal to subtract Float_t fPedestalWidth; // Width of pedestal Float_t fPedestalFactor;// Number of pedestal widths mutable Float_t fCurrentVertex; // Z-coordinate of primary vertex ClassDef(AliFMDReconstructor, 0) // class for the FMD reconstruction }; #endif //____________________________________________________________________ // // Local Variables: // mode: C++ // End: // // EOF //