//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Tpc Gem reads in MCPoints and produces primary electrons // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- #ifndef TPCGEMTASK_HH #define TPCGEMTASK_HH // Base Class Headers ---------------- #include "CbmTask.h" // Collaborating Class Headers ------- // Collaborating Class Declarations -- class TClonesArray; class TpcGemTask : public CbmTask { public: // Constructors/Destructors --------- TpcGemTask(); ~TpcGemTask(); // Operators // Accessors ----------------------- // Modifiers ----------------------- void SetDriftedBranchName(const TString& name) {_driftedBranchName=name;} void SetPersistence(Bool_t opt=kTRUE) {_persistence=opt;} // Operations ---------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); private: // Private Data Members ------------ TString _driftedBranchName; TClonesArray* _driftedArray; TClonesArray* _avalancheArray; Bool_t _persistence; Double_t _gain; // Private Methods ----------------- public: ClassDef(TpcGemTask,1) }; #endif //-------------------------------------------------------------- // $Log$ //--------------------------------------------------------------