|
|
Definition at line 25 of file GEMDQMSource.cc.
◆ GEMDQMSource()
◆ ~GEMDQMSource()
GEMDQMSource::~GEMDQMSource |
( |
| ) |
|
|
inlineoverride |
◆ analyze()
Definition at line 196 of file GEMDQMSource.cc.
202 event.getByToken(this->
tagRecHit_, gemRecHits);
204 edm::LogError(
"GEMDQMSource") <<
"GEM recHit is not valid.\n";
209 for (
auto roll : ch.etaPartitions()) {
211 const auto& recHitsRange =
gemRecHits->get(rId);
215 Int_t nVfat = 8 * ((Int_t)(nIdxStrip / (roll->nstrips() / 3)) + 1) - rId.
roll();
220 for (
int i =
hit->firstClusterStrip();
i < (
hit->firstClusterStrip() +
hit->clusterSize());
i++) {
References muonGEMRecHitPSet::gemRecHit, gemRecHits_cfi::gemRecHits, mps_fire::i, GEMGeometry::idToDet(), GEMDetId::layer(), GEMDetId::region(), GEMDetId::ring(), GEMDetId::roll(), GEMDetId::station(), GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), hit::x, and PV3DBase< T, PVType, FrameType >::y().
◆ bookHistograms()
Definition at line 113 of file GEMDQMSource.cc.
114 std::vector<GEMDetId> listLayerOcc;
121 for (
auto sch : superChambers_) {
122 int n_lay = sch->nChambers();
123 for (
int l = 0;
l < n_lay;
l++) {
124 Bool_t bExist =
false;
126 if (ch.id() == sch->chamber(
l + 1)->id())
142 to_string(gid.
station()) +
"_" + to_string(gid.
layer());
144 to_string(gid.
station()) +
"/" + to_string(gid.
layer());
152 string hName =
"recHit_" + strIdxName;
153 string hTitle =
"recHit " + strIdxTitle;
157 string hName_2 =
"VFAT_vs_ClusterSize_" + strIdxName;
158 string hTitle_2 =
"VFAT vs ClusterSize " + strIdxTitle;
159 hTitle_2 +=
";Cluster size;VFAT";
163 string hName_fired =
"StripFired_" + strIdxName;
164 string hTitle_fired =
"StripsFired " + strIdxTitle;
165 hTitle_fired +=
";Strip;iEta";
168 string hName_rh =
"recHit_x_" + strIdxName;
169 string hTitle_rh =
"recHit local x " + strIdxTitle;
170 hTitle_rh +=
";Local x (cm);iEta";
171 rh_vs_eta_[gid] = ibooker.
book2D(hName_rh, hTitle_rh, 50, -25, 25, 8, 1, 9);
176 for (; nIdxOcc < (Int_t)listLayerOcc.size(); nIdxOcc++)
177 if (listLayerOcc[nIdxOcc] == lid)
179 if (nIdxOcc >= (Int_t)listLayerOcc.size())
180 listLayerOcc.push_back(lid);
183 for (
auto gid : listLayerOcc) {
189 string hName_rh =
"recHit_globalPos_Gemini_" + strIdxName;
190 string hTitle_rh =
"recHit global position Gemini chamber : " + strIdxTitle;
191 hTitle_rh +=
";Global X (cm);Global Y (cm)";
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), GEMDetId::chamber(), cmsLHEtoEOSManager::l, GEMDetId::layer(), GEMDetId::region(), GEMDetId::ring(), dqm::implementation::NavigatorBase::setCurrentFolder(), GEMDetId::station(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ dqmBeginRun()
◆ fillDescriptions()
◆ findVFAT()
int GEMDQMSource::findVFAT |
( |
float |
min_, |
|
|
float |
max_, |
|
|
float |
x_, |
|
|
int |
roll_ |
|
) |
| |
|
private |
◆ initGeometry()
◆ fGlobXMax_
float GEMDQMSource::fGlobXMax_ |
|
private |
◆ fGlobXMin_
float GEMDQMSource::fGlobXMin_ |
|
private |
◆ fGlobYMax_
float GEMDQMSource::fGlobYMax_ |
|
private |
◆ fGlobYMin_
float GEMDQMSource::fGlobYMin_ |
|
private |
◆ gemChambers_
std::vector<GEMChamber> GEMDQMSource::gemChambers_ |
|
private |
◆ GEMGeometry_
◆ nClusterSizeBinNum_
int GEMDQMSource::nClusterSizeBinNum_ |
|
private |
◆ nIdxFirstStrip_
int GEMDQMSource::nIdxFirstStrip_ |
|
private |
◆ recGlobalPos
std::unordered_map<UInt_t, MonitorElement*> GEMDQMSource::recGlobalPos |
|
private |
◆ recHitME_
◆ rh_vs_eta_
◆ StripsFired_vs_eta_
std::unordered_map<UInt_t, MonitorElement*> GEMDQMSource::StripsFired_vs_eta_ |
|
private |
◆ tagRecHit_
◆ VFAT_vs_ClusterSize_
std::unordered_map<UInt_t, MonitorElement*> GEMDQMSource::VFAT_vs_ClusterSize_ |
|
private |
constexpr int ring() const
constexpr int layer() const
const GeomDet * idToDet(DetId) const override
constexpr int region() const
virtual void setCurrentFolder(std::string const &fullpath)
std::unordered_map< UInt_t, MonitorElement * > StripsFired_vs_eta_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetToken tagRecHit_
const GEMGeometry * GEMGeometry_
std::unordered_map< UInt_t, MonitorElement * > rh_vs_eta_
const GEMGeometry * initGeometry(edm::EventSetup const &iSetup)
constexpr int chamber() const
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
constexpr int roll() const
std::unordered_map< UInt_t, MonitorElement * > recGlobalPos
Log< level::Error, false > LogError
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
constexpr int station() const
std::unordered_map< UInt_t, MonitorElement * > VFAT_vs_ClusterSize_
Abs< T >::type abs(const T &t)
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
std::vector< GEMChamber > gemChambers_
std::unordered_map< UInt_t, MonitorElement * > recHitME_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())