//---------------------------------------------------------------------- // File and Version Information: // $Id: Exp $ // // Description: // Class PndEmcMakeDigi. This class takes array of EmcHit's and produce // an array of EmcDigis. // It is convenient to study reconstruction algoritms without // disturbance from digitization // // Software developed for the BaBar Detector at the SLAC B-Factory. // Adapted for the PANDA experiment at GSI //---------------------------------------------------------------------- #ifndef PndEmcMakeDigi_HH #define PndEmcMakeDigi_HH #include "CbmTask.h" #include class PndEmcTwoCoordIndex; class PndEmcHit; class TClonesArray; class PndEmcDigiPar; class PndEmcMakeDigi : public CbmTask { public: // Constructors PndEmcMakeDigi(); // Destructor virtual ~PndEmcMakeDigi(); /** Virtual method Init **/ virtual InitStatus Init(); /** Virtual method Exec **/ virtual void Exec(Option_t* opt); private: /** Input array of EmcWaveforms **/ TClonesArray* fHitArray; /** output array of EmcDigis **/ TClonesArray* fDigiArray; Double_t fThreshold; std::string fDigiPosMethod;// "surface" or "depth" Double_t fEmcDigiRescaleFactor; Double_t fEmcDigiPositionDepth; Int_t fMapVersion; PndEmcDigiPar* fDigiPar; /** Digitisation parameter container **/ /** Get parameter containers **/ virtual void SetParContainers(); ClassDef(PndEmcMakeDigi,1); }; #endif