#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 TClonesArray; class AliFMD; class AliLoader; class AliRunLoader; class AliFMDDigit; class AliRawReader; //____________________________________________________________________ class AliFMDReconstructor: public AliReconstructor { public: AliFMDReconstructor(); AliFMDReconstructor(const AliFMDReconstructor& other); virtual ~AliFMDReconstructor(); AliFMDReconstructor& operator=(const AliFMDReconstructor& other); void SetPedestal(Float_t mean=10, Float_t width=1, Float_t f=3); virtual void Reconstruct(AliRunLoader* runLoader) const; virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader* rawReader) const; virtual void FillESD(AliRunLoader* runLoader, AliESD* esd) const; protected: virtual void ProcessEvent(Int_t event, AliRawReader* rawReader) const; virtual void ProcessDigits(TClonesArray* digits) const; virtual UShort_t SubtractPedestal(AliFMDDigit* digit) const; mutable AliRunLoader* fRunLoader; //! Run loader mutable AliLoader* fFMDLoader; //! FMD specific loader mutable AliFMD* fFMD; //! Pointer to FMD manager 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 //