CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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  std::map<Int_t, MonitorElement*> me_tof_mu_; // time of flight
31  MEMap1Ids me_eloss_mu_; // energy loss
34  MEMap1Ids me_occ_zr_; // occupancy
37 
38  // Constants
39  const Float_t kEnergyCF_ = 1e9f; // energy loss conversion factor:
40 };
41 
42 #endif // Validation_MuonGEMHits_GEMSimHitValidation_h
GEMSimHitValidation::tof_range_
std::vector< Double_t > tof_range_
Definition: GEMSimHitValidation.h:25
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_eloss_
MEMap3Ids me_detail_eloss_
Definition: GEMSimHitValidation.h:32
GEMSimHitValidation::me_detail_tof_mu_
MEMap3Ids me_detail_tof_mu_
Definition: GEMSimHitValidation.h:30
GEMSimHitValidation::me_occ_zr_
MEMap1Ids me_occ_zr_
Definition: GEMSimHitValidation.h:34
GEMSimHitValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: GEMSimHitValidation.cc:159
MEMap1Ids
std::map< Int_t, dqm::impl::MonitorElement * > MEMap1Ids
Definition: GEMValidationUtils.h:22
GEMSimHitValidation::me_occ_det_
MEMap2Ids me_occ_det_
Definition: GEMSimHitValidation.h:35
MEMap3Ids
std::map< ME3IdsKey, dqm::impl::MonitorElement * > MEMap3Ids
Definition: GEMValidationUtils.h:24
GEMSimHitValidation::geomTokenBeginRun_
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > geomTokenBeginRun_
Definition: GEMSimHitValidation.h:24
GEMSimHitValidation::me_detail_eloss_mu_
MEMap3Ids me_detail_eloss_mu_
Definition: GEMSimHitValidation.h:33
MEMap2Ids
std::map< ME2IdsKey, dqm::impl::MonitorElement * > MEMap2Ids
Definition: GEMValidationUtils.h:23
edm::ParameterSet
Definition: ParameterSet.h:47
GEMBaseValidation
Definition: GEMBaseValidation.h:18
GEMSimHitValidation::me_occ_xy_
MEMap3Ids me_occ_xy_
Definition: GEMSimHitValidation.h:36
edm::EventSetup
Definition: EventSetup.h:57
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:152
GEMSimHitValidation::me_detail_tof_
MEMap3Ids me_detail_tof_
Definition: GEMSimHitValidation.h:29
GEMSimHitValidation::simhit_token_
edm::EDGetTokenT< edm::PSimHitContainer > simhit_token_
Definition: GEMSimHitValidation.h:22
dqm::implementation::IBooker
Definition: DQMStore.h:43
GEMSimHitValidation::me_tof_mu_
std::map< Int_t, MonitorElement * > me_tof_mu_
Definition: GEMSimHitValidation.h:28
edm::Event
Definition: Event.h:73
GEMSimHitValidation::~GEMSimHitValidation
~GEMSimHitValidation() override
Definition: GEMSimHitValidation.cc:16
GEMSimHitValidation::kEnergyCF_
const Float_t kEnergyCF_
Definition: GEMSimHitValidation.h:39
GEMSimHitValidation::me_eloss_mu_
MEMap1Ids me_eloss_mu_
Definition: GEMSimHitValidation.h:31