#ifndef INC_L3CALCALIB #define INC_L3CALCALIB /////////////////////////////////////////////////////////////////////////////// // $Id: L3CalCalib.hpp, v 0.0, Mrinmoy Bhattacharjee$ // // L3CalCalib.hpp // // Created: October 21st. 1998 Mrinmoy Bhattacharjee // Purpose: HPP file for Calorimeter Calibration driver code // /////////////////////////////////////////////////////////////////////////////// #include #include #include "l3utilities/l3types.hpp" #include "L3CalCalib/CalCalib_AdcCrate.hpp" #include "framework/Result.hpp" #include "framework/Package.hpp" #include "framework/hooks/Process.hpp" #include "framework/hooks/JobSummary.hpp" #include "edm/TKey.hpp" #include "edm/Event.hpp" #ifdef ROOT_HIST class HepRootFileManager; class HepHist1D; class HepHist2D; class HepHistProf; class HepNtuple; #else class HepHBookFileManager; class HepHist1D; class HepHist2D; class HepHistProf; class HepNtuple; #endif using namespace edm; using namespace std; using namespace fwk; class L3CalCalib: public fwk::Package, public fwk::Process, public fwk::JobSummary { public: // Constructor // L3CalCalib(fwk::Context* context); // Destructor // ~L3CalCalib(); // Overridden Package Methods // std::string packageName() const {return package_name();} static const std::string package_name(){return "L3CalCalib";} // Inherited Process Event Methods // fwk::Result processEvent(edm::Event &event); fwk::Result jobSummary(); static const std::string version(); private: int _RunN; int _eventCount; l3vector _Crate_in_this_node; void _RunCalib(Event &event); //Run Calibration process// #ifdef ROOT_HIST HepRootFileManager* _hbkMgr; #else HepHBookFileManager* _hbkMgr; HepHist1D* _mean[12]; HepHist2D* _mean_ch[12]; HepHist1D* _sigma[12]; HepHist2D* _sigma_ch[12]; #endif }; #endif