CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTRunConditionVar.h
Go to the documentation of this file.
1 
2 #ifndef DTRunConditionVar_H
3 #define DTRunConditionVar_H
4 
18 
20 
24 
28 
30 
38 
41 #include <vector>
42 #include <string>
43 
44 class DTGeometry;
45 class DetLayer;
46 class DetId;
47 
49 public:
50  //Constructor
52 
53  //Destructor
54  ~DTRunConditionVar() override;
55 
56  //BookHistograms
57  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
58 
59  //Operations
60  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
61  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
62 
63 private:
64  void bookChamberHistos(DQMStore::IBooker&, const DTChamberId& dtCh, std::string histoType, int, float, float);
65 
66  bool debug;
69 
71 
74 
76  const DTMtime* mTimeMap_; // legacy DB object
77 
79  const DTRecoConditions* vDriftMap_; // DB object in new format
80  bool readLegacyVDriftDB; // which one to use
81 
82  std::map<uint32_t, std::map<std::string, MonitorElement*> > chamberHistos;
83 
84 protected:
85 };
86 
87 #endif
88 
89 /* Local Variables: */
90 /* show-trailing-whitespace: t */
91 /* truncate-lines: t */
92 /* 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: Run.h:45
DTRunConditionVar(const edm::ParameterSet &pset)