CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTVDriftSegmentCalibration.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftSegmentCalibration_h
2 #define CalibMuon_DTCalibration_DTVDriftSegmentCalibration_h
3 
16 
17 #include <map>
18 
19 class DTChamberId;
20 class TFile;
21 class TH1F;
22 class TH2F;
23 
25 public:
26  // Constructor
28  // Destructor
29  ~DTVDriftSegmentCalibration() override;
30 
31  void beginJob() override;
32  void beginRun(const edm::Run& run, const edm::EventSetup& setup) override;
33  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
34  void endJob() override;
35 
36 private:
37  typedef std::map<DTChamberId, std::vector<TH1F*> > ChamberHistosMapTH1F;
38  typedef std::map<DTChamberId, std::vector<TH2F*> > ChamberHistosMapTH2F;
39  void bookHistos(DTChamberId);
40 
42 
44  //bool writeVDriftDB_;
46 
47  TFile* rootFile_;
50 
52 };
53 #endif
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMapTH1F
std::map< DTChamberId, std::vector< TH2F * > > ChamberHistosMapTH2F
ChamberHistosMapTH1F theVDriftHistoMapTH1F_
ChamberHistosMapTH2F theVDriftHistoMapTH2F_
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > dtGeomToken_
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Definition: Run.h:45
DTVDriftSegmentCalibration(const edm::ParameterSet &pset)