CMS 3D CMS Logo

DTTTrigOffsetCalibration.h
Go to the documentation of this file.
1 #ifndef DTTTrigOffsetCalibration_H
2 #define DTTTrigOffsetCalibration_H
3 
13 
14 #include <map>
15 
16 namespace edm {
17  class ParameterSet;
18  class Event;
19  class EventSetup;
20 } // namespace edm
21 
22 class DTChamberId;
23 class DTTtrig;
24 class TFile;
25 class TH1F;
26 
28 public:
29  // Constructor
31  // Destructor
32  ~DTTTrigOffsetCalibration() override;
33 
34  void beginRun(const edm::Run& run, const edm::EventSetup& setup) override;
35  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
36  void endJob() override;
37 
38 private:
39  typedef std::map<DTChamberId, std::vector<TH1F*> > ChamberHistosMap;
40  void bookHistos(DTChamberId);
41 
43 
48 
49  TFile* rootFile_;
51  ChamberHistosMap theT0SegHistoMap_;
52 };
53 #endif
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
void bookHistos()
Definition: Histogram.h:33
HLT enums.
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMap
Definition: event.py:1
Definition: Run.h:45