|
|
Go to the documentation of this file.
45 std::unordered_map<UInt_t, MonitorElement*>
recHitME_;
71 desc.add<
int>(
"idxFirstStrip", 0);
72 desc.add<
int>(
"ClusterSizeBinNum", 9);
74 desc.add<
double>(
"global_x_bound_min", -350);
75 desc.add<
double>(
"global_x_bound_max", 350);
76 desc.add<
double>(
"global_y_bound_min", -260);
77 desc.add<
double>(
"global_y_bound_max", 260);
81 descriptions.
add(
"GEMRecHitSource",
desc);
85 std::vector<GEMDetId> listLayerOcc;
98 MEMap3Inf(
this,
"rechit_det",
"Rec. Hit Occupancy", 36, 0.5, 36.5, 8, 0.5, 8.5,
"Chamber",
"iEta");
100 this,
"rechit_ieta_occ",
"RecHit Digi Occupancy per eta partition", 8, 0.5, 8.5,
"iEta",
"Number of recHits");
102 this,
"rechit_phi_occ",
"RecHit Digi Phi (degree) Occupancy ", 108, -5, 355,
"#phi (degree)",
"Number of recHits");
104 "total_rechit_per_event",
105 "Total number of rec. hits per event for each layers ",
112 this,
"cls",
"Cluster size of rec. hits",
nCLSMax_, 0.5,
nCLSMax_ + 0.5,
"Cluster size",
"Number of recHits");
115 this,
"cls",
"Cluster size of rec. hits",
nCLSMax_, 0.5,
nCLSMax_ + 0.5, 1, 0.5, 1.5,
"Cluster size",
"iEta");
157 event.getByToken(this->
tagRecHit_, gemRecHits);
162 std::map<ME3IdsKey, Int_t> total_rechit_layer;
167 for (
auto ieta : ch.etaPartitions()) {
170 if (total_rechit_layer.find(key3) == total_rechit_layer.end())
171 total_rechit_layer[key3] = 0;
172 const auto& recHitsRange =
gemRecHits->get(rId);
183 Float_t fPhiDeg = ((Float_t)recHitGP.
phi()) * 180.0 / 3.141592;
189 total_rechit_layer[key3]++;
198 for (
auto [
key, num_total_rechit] : total_rechit_layer)
void SetBinConfX(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< GEMChamber > gemChambers_
int ProcessWithMEMap3WithChamber(BookingHelper &bh, ME4IdsKey key) override
std::unordered_map< UInt_t, MonitorElement * > recHitME_
MEMap3Inf mapTotalRecHit_layer_
constexpr int layer() const
const GeomDet * idToDet(DetId) const override
constexpr int region() const
const GEMGeometry * GEMGeometry_
std::tuple< Int_t, Int_t, Int_t, Int_t > ME4IdsKey
MEMap3Inf mapRecHitOcc_ieta_
virtual void setCurrentFolder(std::string const &fullpath)
GEMRecHitSource(const edm::ParameterSet &cfg)
int Fill(K key, Double_t x)
MEMap4Inf mapCLSRecHit_ieta_
ME3IdsKey key4Tokey3(ME4IdsKey key)
std::unordered_map< UInt_t, MonitorElement * > VFAT_vs_ClusterSize_
edm::EDGetToken tagRecHit_
int SetLabelForChambers(K key, Int_t nAxis, Int_t nNumBin=-1)
~GEMRecHitSource() override
int ProcessWithMEMap4(BookingHelper &bh, ME4IdsKey key) override
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
MEMap3Inf mapTotalRecHitPerEvt_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
constexpr int chamber() const
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
int initGeometry(edm::EventSetup const &iSetup)
MEMap3Inf mapRecHitOcc_phi_
MEMapInfT< MEMap4Ids, ME4IdsKey > MEMap4Inf
constexpr int roll() const
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
std::unordered_map< UInt_t, MonitorElement * > StripsFired_vs_eta_
Log< level::Error, false > LogError
MEMapInfT< MEMap3Ids, ME3IdsKey > MEMap3Inf
std::string log_category_
int ProcessWithMEMap3(BookingHelper &bh, ME3IdsKey key) override
std::map< ME3IdsKey, MEStationInfo > mapStationInfo_
void SetBinConfY(Int_t nBins, Double_t dL=0.5, Double_t dH=-1048576.0)
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
std::tuple< Int_t, Int_t, Int_t > ME3IdsKey
constexpr int station() const
std::unordered_map< UInt_t, MonitorElement * > recGlobalPos
int bookND(BookingHelper &bh, K key)
Geom::Phi< T > phi() const
std::unordered_map< UInt_t, MonitorElement * > rh_vs_eta_
int GenerateMEPerChamber(DQMStore::IBooker &ibooker)