|
|
Definition at line 24 of file GEMDQMSourceDigi.cc.
◆ GEMDQMSourceDigi()
◆ ~GEMDQMSourceDigi()
GEMDQMSourceDigi::~GEMDQMSourceDigi |
( |
| ) |
|
|
inlineoverride |
◆ analyze()
Definition at line 130 of file GEMDQMSourceDigi.cc.
136 event.getByToken(this->
tagDigi_, gemDigis);
139 for (
auto roll : ch.etaPartitions()) {
141 const auto& digis_in_det = gemDigis->get(rId);
142 for (
auto d = digis_in_det.first;
d != digis_in_det.second; ++
d) {
143 auto nVFAT =
findVFAT(1, roll->nstrips(),
d->strip(), rId.
roll());
References ztail::d, and GEMDetId::roll().
◆ bookHistograms()
Definition at line 88 of file GEMDQMSourceDigi.cc.
94 for (
auto sch : superChambers_) {
95 int n_lay = sch->nChambers();
96 for (
int l = 0;
l < n_lay;
l++) {
97 Bool_t bExist =
false;
99 if (ch.id() == sch->chamber(
l + 1)->id())
113 to_string(gid.
station()) +
"_" + to_string(gid.
layer());
115 to_string(gid.
station()) +
"/" + to_string(gid.
layer());
117 string hName_digi =
"Digi_Strips_" + strIdxName;
118 string hTitle_digi =
"Digi Strip " + strIdxTitle;
119 string hAxis_digi =
";Strip;iEta";
120 Digi_2D_[ch.id()] = ibooker.
book2D(hName_digi, hTitle_digi + hAxis_digi, 384, 1, 385, 8, 0.5, 8.5);
121 Digi_1D_[ch.id()] = ibooker.
book1D(hName_digi +
"_VFAT", hTitle_digi +
" VFAT" + hAxis_digi, 24, 0, 24);
123 string hNameBx =
"bx_vs_VFAT_" + strIdxName;
124 string hTitleBx =
"bx vs VFAT " + strIdxTitle;
125 hTitleBx +=
";Bunch crossing;VFAT";
126 BxVsVFAT[ch.id()] = ibooker.
book2D(hNameBx, hTitleBx, 10, -5, 5, 24, 0, 24);
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::NavigatorBase::cd(), GEMDetId::chamber(), cmsLHEtoEOSManager::l, GEMDetId::layer(), GEMDetId::region(), dqm::implementation::NavigatorBase::setCurrentFolder(), GEMDetId::station(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ dqmBeginRun()
◆ fillDescriptions()
◆ findVFAT()
int GEMDQMSourceDigi::findVFAT |
( |
float |
min_, |
|
|
float |
max_, |
|
|
float |
x_, |
|
|
int |
roll_ |
|
) |
| |
|
private |
◆ initGeometry()
◆ BxVsVFAT
std::unordered_map<UInt_t, MonitorElement*> GEMDQMSourceDigi::BxVsVFAT |
|
private |
◆ Digi_1D_
std::unordered_map<UInt_t, MonitorElement*> GEMDQMSourceDigi::Digi_1D_ |
|
private |
◆ Digi_2D_
std::unordered_map<UInt_t, MonitorElement*> GEMDQMSourceDigi::Digi_2D_ |
|
private |
◆ gemChambers_
std::vector<GEMChamber> GEMDQMSourceDigi::gemChambers_ |
|
private |
◆ GEMGeometry_
◆ tagDigi_
const GEMGeometry * GEMGeometry_
constexpr int layer() const
constexpr int region() const
virtual void setCurrentFolder(std::string const &fullpath)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::unordered_map< UInt_t, MonitorElement * > Digi_1D_
std::unordered_map< UInt_t, MonitorElement * > BxVsVFAT
constexpr int chamber() const
std::unordered_map< UInt_t, MonitorElement * > Digi_2D_
constexpr int roll() const
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())
const GEMGeometry * initGeometry(edm::EventSetup const &iSetup)
constexpr int station() const
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
std::vector< GEMChamber > gemChambers_
int findVFAT(float min_, float max_, float x_, int roll_)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())