CMS 3D CMS Logo

DTVDriftSegmentCalibration.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftSegmentCalibration_h
2 #define CalibMuon_DTCalibration_DTVDriftSegmentCalibration_h
3 
14 
15 #include <map>
16 
17 class DTChamberId;
18 class TFile;
19 class TH1F;
20 class TH2F;
21 
23 public:
24  // Constructor
26  // Destructor
27  ~DTVDriftSegmentCalibration() override;
28 
29  void beginJob() override;
30  void beginRun(const edm::Run& run, const edm::EventSetup& setup) override;
31  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
32  void endJob() override;
33 
34 private:
35  typedef std::map<DTChamberId, std::vector<TH1F*> > ChamberHistosMapTH1F;
36  typedef std::map<DTChamberId, std::vector<TH2F*> > ChamberHistosMapTH2F;
37  void bookHistos(DTChamberId);
38 
40 
42  //bool writeVDriftDB_;
44 
45  TFile* rootFile_;
46  ChamberHistosMapTH1F theVDriftHistoMapTH1F_;
47  ChamberHistosMapTH2F theVDriftHistoMapTH2F_;
48 };
49 #endif
50 
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMapTH1F
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
std::map< DTChamberId, std::vector< TH2F * > > ChamberHistosMapTH2F
ChamberHistosMapTH1F theVDriftHistoMapTH1F_
ChamberHistosMapTH2F theVDriftHistoMapTH2F_
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Definition: event.py:1
Definition: Run.h:44
DTVDriftSegmentCalibration(const edm::ParameterSet &pset)