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
43 
edm::ESHandle< DTGeometry > dtGeom_
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:2
std::unique_ptr< dtCalibration::DTVDriftBaseAlgo > vDriftAlgo_
const DTMtime * mTimeMap_
Definition: event.py:1
Definition: Run.h:45
std::string granularity_