//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Just an output to see the eventnumber :) // // // Environment: // Software developed for the FOPI-TPC Detector at GSI. // // Author List: // Martin Berger TUM (original author) // //----------------------------------------------------------- #ifndef TPCEVCOUNT_HH #define TPCEVCOUNT_HH //base class #include "FairTask.h" class TpcEventCounter : public FairTask { public: TpcEventCounter(); virtual ~TpcEventCounter(); virtual InitStatus Init(); virtual void Exec(Option_t* opt); // virtual void SetParContainers(); void SetnEvts(Int_t evt){_nevts=evt;} void SetStep(Int_t stp){_step=stp;} void SetParContainers(); void SetEvtsFromChain(Bool_t opt=kTRUE){fEvtFromChain=opt;} private: Int_t _nevts; Int_t _step; Int_t _counter; Int_t _perc; Int_t _oldperc; Bool_t fEvtFromChain; public: ClassDef(TpcEventCounter,1) }; #endif