CMS 3D CMS Logo

DTVDriftWriter.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftWriter_h
2 #define CalibMuon_DTCalibration_DTVDriftWriter_h
3 
4 /* \class DTVDriftWriter
5  * Instantiates configurable algo plugin to
6  * compute and write vDrift DB.
7  *
8  * Author of original version: M. Giunta
9  * \author A. Vilela Pereira
10  */
11 
15 
16 #include <string>
17 
18 class DTMtime;
19 class DTGeometry;
20 namespace dtCalibration {
21  class DTVDriftBaseAlgo;
22 }
23 
25 public:
27  ~DTVDriftWriter() override;
28 
29  // Operations
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  std::string granularity_; // enforced by SL
36 
39 
40  std::unique_ptr<dtCalibration::DTVDriftBaseAlgo> vDriftAlgo_;
41 };
42 #endif
DTGeometry
Definition: DTGeometry.h:28
DTVDriftWriter::dtGeom_
edm::ESHandle< DTGeometry > dtGeom_
Definition: DTVDriftWriter.h:38
DTVDriftWriter::mTimeMap_
const DTMtime * mTimeMap_
Definition: DTVDriftWriter.h:37
DTVDriftWriter::DTVDriftWriter
DTVDriftWriter(const edm::ParameterSet &pset)
Definition: DTVDriftWriter.cc:33
ESHandle.h
edm::Run
Definition: Run.h:45
DTVDriftWriter::endJob
void endJob() override
Definition: DTVDriftWriter.cc:58
DTMtime
Definition: DTMtime.h:68
EDAnalyzer.h
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
DTVDriftWriter
Definition: DTVDriftWriter.h:24
DTVDriftWriter::vDriftAlgo_
std::unique_ptr< dtCalibration::DTVDriftBaseAlgo > vDriftAlgo_
Definition: DTVDriftWriter.h:40
edm::ESHandle< DTGeometry >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
DTVDriftBaseAlgo
edm::EventSetup
Definition: EventSetup.h:57
dtCalibration
Definition: DTT0BaseCorrection.h:16
writedatasetfile.run
run
Definition: writedatasetfile.py:27
DTVDriftWriter::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: DTVDriftWriter.h:31
ParameterSet.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTVDriftWriter::granularity_
std::string granularity_
Definition: DTVDriftWriter.h:35
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTVDriftWriter::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &setup) override
Definition: DTVDriftWriter.cc:46
DTVDriftWriter::~DTVDriftWriter
~DTVDriftWriter() override
Definition: DTVDriftWriter.cc:44