//-------------------------------------------------------------------------- // File and Version Information: // // Description: // Class FillTreeModule: histogrammming for Geant3 module // // Environment: // Software developed for the CDF at FNAL. // // Aug 31 2000 P.Murat: module to fill Stntuple tree // // Copyright Information: // Copyright (C) 1997 Fermilab // // revision history: // ----------------- //------------------------------------------------------------------------ #ifndef ROOTMODS_FillStntupleModule #define ROOTMODS_FillStntupleModule #ifdef __GNUG__ #pragma interface #endif #include "Stntuple/mod/StntupleModule.hh" class FillStntupleModule : public StntupleModule { //------------------------------------------------------------------------------ // data members //------------------------------------------------------------------------------ protected: Int_t fLastRun; // last run with events //------------------------------------------------------------------------------ // function members //------------------------------------------------------------------------------ public: // constructors and destructor FillStntupleModule(const char* name = "FillStntuple", const char* desc = "Fill STNTUPLE Tree"); ~FillStntupleModule(); // ****** accessors // ****** overwritten virtual functions // of AppModule AppResult beginRun(AbsEvent* event); AppResult endRun (AbsEvent* event); AppResult event (AbsEvent* event); // ****** functions of the module Int_t ProcessNewRun (AbsEvent* event); // ****** setters ClassDef(FillStntupleModule,0) }; #endif