//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Simple event generator for replacing dummy MC events // Current application: Iron55 calibration. // // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Felix Boehmer TUM (original author) // // //----------------------------------------------------------- #ifndef TPCSIMPLEEVTGEN_H #define TPCSIMPLEEVTGEN_H // Base Class Headers --------------------------------------- #include "FairTask.h" // External Headers ----------------------------------------- #include #include "TVector3.h" class TClonesArray; class PndTpcDigiPar; class PndTpcSimpleEvtGen : public FairTask { public: // Constructors --------------------------------------------- PndTpcSimpleEvtGen(); ~PndTpcSimpleEvtGen(); // ---------------------------------------------------------- virtual InitStatus Init(); virtual void Exec(Option_t* opt); virtual void SetParContainers(); // Accessors ------------------------------------------------ // Modifiers ------------------------------------------------ void setMode(std::string mode) {_mode = mode;} void setPos(TVector3 pos) {_pos = pos;} private: TClonesArray* _primArray; std::string _mode; TVector3 _pos; PndTpcDigiPar* _par; public: ClassDef(PndTpcSimpleEvtGen,1) }; #endif