CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GEMSimHitValidation.h
Go to the documentation of this file.
1 #ifndef Validation_MuonGEMHits_GEMSimHitValidation_h
2 #define Validation_MuonGEMHits_GEMSimHitValidation_h
3 
5 
6 #include <tuple>
7 #include <map>
8 #include <vector>
9 #include <string>
10 
12 public:
13  explicit GEMSimHitValidation(const edm::ParameterSet&);
14  ~GEMSimHitValidation() override;
15  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
16  void analyze(const edm::Event&, const edm::EventSetup&) override;
17 
18 private:
19  std::tuple<Double_t, Double_t> getTOFRange(Int_t station_id);
20 
21  // Parameters
25  std::vector<Double_t> tof_range_;
26 
27  // Monitor elemnts
28  MEMap2Ids me_tof_mu_; // time of flight
32 
33  MEMap1Ids me_eloss_mu_; // energy loss
37 
38  MEMap3Ids me_occ_eta_mu_; // occupancy
45 
46  // Constants
47  const Float_t kEnergyCF_ = 1e6f; // energy loss conversion factor:
48 };
49 
50 #endif // Validation_MuonGEMHits_GEMSimHitValidation_h
std::map< Int_t, dqm::impl::MonitorElement * > MEMap1Ids
GEMSimHitValidation(const edm::ParameterSet &)
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > geomToken_
edm::EDGetTokenT< edm::PSimHitContainer > simhit_token_
std::vector< Double_t > tof_range_
std::map< ME2IdsKey, dqm::impl::MonitorElement * > MEMap2Ids
std::map< ME3IdsKey, dqm::impl::MonitorElement * > MEMap3Ids
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > geomTokenBeginRun_
std::tuple< Double_t, Double_t > getTOFRange(Int_t station_id)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: Run.h:45