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
28 
29  void beginJob();
30  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
31  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup);
32  void endJob();
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 
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMapTH1F
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
std::map< DTChamberId, std::vector< TH2F * > > ChamberHistosMapTH2F
ChamberHistosMapTH1F theVDriftHistoMapTH1F_
ChamberHistosMapTH2F theVDriftHistoMapTH2F_
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
Definition: event.py:1
Definition: Run.h:42
DTVDriftSegmentCalibration(const edm::ParameterSet &pset)