//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // PndTpc Clusterizer reads in MCPoints and produces primary electrons // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCCLUSTERIZERTASK_HH #define TPCCLUSTERIZERTASK_HH // Base Class Headers ---------------- #include "FairTask.h" // Collaborating Class Headers ------- // Collaborating Class Declarations -- class TClonesArray; class PndTpcGas; class PndTpcDigiPar; class PndTpcClusterizerTask : public FairTask { public: // Constructors/Destructors --------- PndTpcClusterizerTask(); ~PndTpcClusterizerTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- void SetPointBranchName(const TString& name) {fpointBranchName=name;} void SetPersistence(Bool_t opt=kTRUE) {fpersistence=opt;} /** if activeated there will be no Interpolation between hits This has to be set if the ALICE Monte Carlo is activeated in PndTpcDetector */ void SetMereChargeConversion(Bool_t opt=kTRUE) {fmereChargeConversion=opt;} void SetFirstPoti(Float_t pot) {fPoti=pot*1.e-9;} // (eV) e.g. for TestChamber // Operations ---------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); virtual void SetParContainers(); void ChargeConversion(); private: // Private Data Members ------------ TString fpointBranchName; TClonesArray* fpointArray; TClonesArray* fprimArray; const PndTpcGas* fgas; Float_t fPoti; //first ionization potential, used in ALCIE charge conv. PndTpcDigiPar* fpar; Bool_t fpersistence; Bool_t fmereChargeConversion; // Private Methods ----------------- public: ClassDef(PndTpcClusterizerTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------