00001 #ifndef CALHIT_H 00002 #define CALHIT_H 00003 00004 #include "JobControl/Module.h" 00005 #include "JobControl/ModuleFactory.h" 00006 #include "Config/Config.h" 00007 #include "Config/Param.h" 00008 #include "EventDataModel/EventHandle.h" 00009 #include "Geometry/geo.h" 00010 #include "Calibrator/Calibrator.h" 00011 #include <string> 00012 00013 // Module for turning RawDigit list into CellHit list. 00014 // Just calling Calibrator to do the work. 00015 00016 namespace calhit { 00017 00018 class CalHit : public jobc::Module { 00019 00020 public: 00021 00022 CalHit(const char* version); 00023 virtual ~CalHit(); 00024 00025 jobc::Result Reco(edm::EventHandle& evt); 00026 void Update(const cfg::Config&); 00027 00028 private: 00029 void RoughReco(edm::EventHandle& evt); 00030 00031 calib::Calibrator *fCal; 00032 geo::Geometry *fGeo; 00033 std::string fRawDigitInputFolder; 00034 std::string fCellHitOutputFolder; 00035 std::string fRecoHitOutputFolder; 00036 int fRunRoughReco; 00037 00038 }; // class CalHit 00039 00040 } 00041 00042 #endif // CALHIT_H
1.3.9.1