CMS 3D CMS Logo

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
GEMSimHitValidation::tof_range_
std::vector< Double_t > tof_range_
Definition: GEMSimHitValidation.h:25
GEMSimHitValidation::me_tof_others_
MEMap2Ids me_tof_others_
Definition: GEMSimHitValidation.h:29
GEMBaseValidation.h
GEMSimHitValidation
Definition: GEMSimHitValidation.h:11
edm::Run
Definition: Run.h:45
GEMSimHitValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: GEMSimHitValidation.cc:18
edm::EDGetTokenT< edm::PSimHitContainer >
GEMSimHitValidation::geomToken_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > geomToken_
Definition: GEMSimHitValidation.h:23
GEMSimHitValidation::me_detail_occ_xy_
MEMap3Ids me_detail_occ_xy_
Definition: GEMSimHitValidation.h:44
GEMSimHitValidation::me_occ_phi_mu_
MEMap3Ids me_occ_phi_mu_
Definition: GEMSimHitValidation.h:39
GEMSimHitValidation::me_detail_eloss_
MEMap3Ids me_detail_eloss_
Definition: GEMSimHitValidation.h:35
GEMSimHitValidation::me_detail_tof_mu_
MEMap3Ids me_detail_tof_mu_
Definition: GEMSimHitValidation.h:31
GEMSimHitValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GEMSimHitValidation.cc:186
GEMSimHitValidation::me_eloss_others_
MEMap1Ids me_eloss_others_
Definition: GEMSimHitValidation.h:34
GEMSimHitValidation::me_tof_mu_
MEMap2Ids me_tof_mu_
Definition: GEMSimHitValidation.h:28
MEMap1Ids
std::map< Int_t, dqm::impl::MonitorElement * > MEMap1Ids
Definition: GEMValidationUtils.h:22
GEMSimHitValidation::me_detail_occ_det_mu_
MEMap2Ids me_detail_occ_det_mu_
Definition: GEMSimHitValidation.h:43
MEMap3Ids
std::map< ME3IdsKey, dqm::impl::MonitorElement * > MEMap3Ids
Definition: GEMValidationUtils.h:24
GEMSimHitValidation::me_detail_occ_det_
MEMap2Ids me_detail_occ_det_
Definition: GEMSimHitValidation.h:42
GEMSimHitValidation::geomTokenBeginRun_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > geomTokenBeginRun_
Definition: GEMSimHitValidation.h:24
GEMSimHitValidation::me_detail_eloss_mu_
MEMap3Ids me_detail_eloss_mu_
Definition: GEMSimHitValidation.h:36
MEMap2Ids
std::map< ME2IdsKey, dqm::impl::MonitorElement * > MEMap2Ids
Definition: GEMValidationUtils.h:23
edm::ParameterSet
Definition: ParameterSet.h:47
GEMSimHitValidation::me_occ_pid_
MEMap3Ids me_occ_pid_
Definition: GEMSimHitValidation.h:40
GEMBaseValidation
Definition: GEMBaseValidation.h:19
GEMSimHitValidation::me_occ_eta_mu_
MEMap3Ids me_occ_eta_mu_
Definition: GEMSimHitValidation.h:38
edm::EventSetup
Definition: EventSetup.h:58
edm::ESGetToken< GEMGeometry, MuonGeometryRecord >
GEMSimHitValidation::GEMSimHitValidation
GEMSimHitValidation(const edm::ParameterSet &)
Definition: GEMSimHitValidation.cc:5
GEMSimHitValidation::getTOFRange
std::tuple< Double_t, Double_t > getTOFRange(Int_t station_id)
Definition: GEMSimHitValidation.cc:179
GEMSimHitValidation::me_detail_occ_zr_
MEMap1Ids me_detail_occ_zr_
Definition: GEMSimHitValidation.h:41
GEMSimHitValidation::me_detail_tof_
MEMap3Ids me_detail_tof_
Definition: GEMSimHitValidation.h:30
GEMSimHitValidation::simhit_token_
edm::EDGetTokenT< edm::PSimHitContainer > simhit_token_
Definition: GEMSimHitValidation.h:22
dqm::implementation::IBooker
Definition: DQMStore.h:43
edm::Event
Definition: Event.h:73
GEMSimHitValidation::~GEMSimHitValidation
~GEMSimHitValidation() override
Definition: GEMSimHitValidation.cc:16
GEMSimHitValidation::kEnergyCF_
const Float_t kEnergyCF_
Definition: GEMSimHitValidation.h:47
GEMSimHitValidation::me_eloss_mu_
MEMap1Ids me_eloss_mu_
Definition: GEMSimHitValidation.h:33