CMS 3D CMS Logo

DTRunConditionVar.h
Go to the documentation of this file.
1 
2 #ifndef DTRunConditionVar_H
3 #define DTRunConditionVar_H
4 
18 
20 
24 
27 
29 
37 
40 #include <vector>
41 #include <string>
42 
43 class DTGeometry;
44 class DetLayer;
45 class DetId;
46 
48 public:
49  //Constructor
51 
52  //Destructor
53  ~DTRunConditionVar() override;
54 
55  //BookHistograms
56  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
57 
58  //Operations
59  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
60  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
61 
62 private:
63  void bookChamberHistos(DQMStore::IBooker&, const DTChamberId& dtCh, std::string histoType, int, float, float);
64 
65  bool debug;
68 
70 
73 
75  const DTMtime* mTimeMap_; // legacy DB object
76 
78  const DTRecoConditions* vDriftMap_; // DB object in new format
79  bool readLegacyVDriftDB; // which one to use
80 
81  std::map<uint32_t, std::map<std::string, MonitorElement*> > chamberHistos;
82 
83 protected:
84 };
85 
86 #endif
87 
88 /* Local Variables: */
89 /* show-trailing-whitespace: t */
90 /* truncate-lines: t */
91 /* End: */
edm::EDGetTokenT< DTRecSegment4DCollection > dt4DSegmentsToken_
edm::ESGetToken< DTRecoConditions, DTRecoConditionsVdriftRcd > vDriftToken_
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
const DTMtime * mTimeMap_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
const DTRecoConditions * vDriftMap_
std::map< uint32_t, std::map< std::string, MonitorElement * > > chamberHistos
Definition: DetId.h:17
edm::ESGetToken< DTMtime, DTMtimeRcd > mTimeToken_
~DTRunConditionVar() override
void bookChamberHistos(DQMStore::IBooker &, const DTChamberId &dtCh, std::string histoType, int, float, float)
const DTGeometry * dtGeom
Definition: event.py:1
Definition: Run.h:45
DTRunConditionVar(const edm::ParameterSet &pset)