//-------------------------------------------------------------------------- // Description: // Class Template //------------------------------------------------------------------------ #ifndef PNDEMCFULLDIGITASK_H #define PNDEMCFULLDIGITASK_H #include "FairTask.h" /** * @brief combines the tasks PndEmcHitsToWaveform and PndEmcWaveformToDigi * @ingroup PndEmc */ class PndEmcFullDigiTask : public FairTask { public: // Constructors PndEmcFullDigiTask(Int_t verbose=0, Bool_t storedigis=kTRUE); // Destructor virtual ~PndEmcFullDigiTask( ); /** Virtual method Init **/ virtual InitStatus Init(); /** Virtual method Exec **/ virtual void Exec(Option_t* opt); void StoreDigi(Bool_t val); // Method to specify whether digis are stored. void StoreWaveforms(Bool_t val); // Method to specify whether wavefors are stored. protected: private: /** Get parameter containers **/ virtual void SetParContainers(); /** Verbosity level **/ Int_t fVerbose; Bool_t fPersistance; static Int_t fEventCounter; ClassDef(PndEmcFullDigiTask,1); }; #endif //PndEmcFullDigiTask_HH