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_;
48 };
49 #endif
DTVDriftSegmentCalibration::rootFile_
TFile * rootFile_
Definition: DTVDriftSegmentCalibration.h:45
DTVDriftSegmentCalibration::bookHistos
void bookHistos(DTChamberId)
Definition: DTVDriftSegmentCalibration.cc:150
DTVDriftSegmentCalibration::theVDriftHistoMapTH2F_
ChamberHistosMapTH2F theVDriftHistoMapTH2F_
Definition: DTVDriftSegmentCalibration.h:47
DTVDriftSegmentCalibration::beginJob
void beginJob() override
Definition: DTVDriftSegmentCalibration.cc:49
DTVDriftSegmentCalibration::ChamberHistosMapTH1F
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMapTH1F
Definition: DTVDriftSegmentCalibration.h:35
edm::Run
Definition: Run.h:45
DTVDriftSegmentCalibration::theCalibChamber_
std::string theCalibChamber_
Definition: DTVDriftSegmentCalibration.h:43
DTVDriftSegmentCalibration::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: DTVDriftSegmentCalibration.cc:58
DTVDriftSegmentCalibration
Definition: DTVDriftSegmentCalibration.h:22
EDAnalyzer.h
DTVDriftSegmentCalibration::ChamberHistosMapTH2F
std::map< DTChamberId, std::vector< TH2F * > > ChamberHistosMapTH2F
Definition: DTVDriftSegmentCalibration.h:36
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
DTVDriftSegmentCalibration::theVDriftHistoMapTH1F_
ChamberHistosMapTH1F theVDriftHistoMapTH1F_
Definition: DTVDriftSegmentCalibration.h:46
DTVDriftSegmentCalibration::~DTVDriftSegmentCalibration
~DTVDriftSegmentCalibration() override
Definition: DTVDriftSegmentCalibration.cc:53
DTSegmentSelector
Definition: DTSegmentSelector.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
DTVDriftSegmentCalibration::endJob
void endJob() override
Definition: DTVDriftSegmentCalibration.cc:125
edm::EventSetup
Definition: EventSetup.h:57
DTVDriftSegmentCalibration::theRecHits4DLabel_
edm::InputTag theRecHits4DLabel_
Definition: DTVDriftSegmentCalibration.h:41
InputTag.h
writedatasetfile.run
run
Definition: writedatasetfile.py:27
DTSegmentSelector.h
DTVDriftSegmentCalibration::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Definition: DTVDriftSegmentCalibration.cc:51
DTVDriftSegmentCalibration::select_
DTSegmentSelector * select_
Definition: DTVDriftSegmentCalibration.h:39
DTChamberId
Definition: DTChamberId.h:14
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTVDriftSegmentCalibration::DTVDriftSegmentCalibration
DTVDriftSegmentCalibration(const edm::ParameterSet &pset)
Definition: DTVDriftSegmentCalibration.cc:34
edm::InputTag
Definition: InputTag.h:15
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27