CMS 3D CMS Logo

DTTTrigOffsetCalibration.h
Go to the documentation of this file.
1 #ifndef DTTTrigOffsetCalibration_H
2 #define DTTTrigOffsetCalibration_H
3 
16 
17 #include <map>
18 
19 namespace edm {
20  class ParameterSet;
21  class Event;
22  class EventSetup;
23 } // namespace edm
24 
25 class DTChamberId;
26 class DTTtrig;
27 class TFile;
28 class TH1F;
29 
30 class DTTTrigOffsetCalibration : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
31 public:
32  // Constructor
34  // Destructor
35  ~DTTTrigOffsetCalibration() override;
36 
37  void beginRun(const edm::Run& run, const edm::EventSetup& setup) override;
38  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
39  void endRun(const edm::Run& run, const edm::EventSetup& setup) override{};
40  void endJob() override;
41 
42 private:
43  typedef std::map<DTChamberId, std::vector<TH1F*> > ChamberHistosMap;
44  void bookHistos(DTChamberId);
45 
47 
51 
52  TFile* rootFile_;
55 
58 };
59 #endif
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
void endRun(const edm::Run &run, const edm::EventSetup &setup) override
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_
HLT enums.
const edm::ESGetToken< DTTtrig, DTTtrigRcd > ttrigToken_
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMap
DTTTrigOffsetCalibration(const edm::ParameterSet &pset)
Definition: event.py:1
Definition: Run.h:45