19 #include <fmt/format.h> 36 prefixDir_ = subsystemFolder +
"/" + recHitTypeFolder;
37 globalFolder_ = subsystemFolder +
"/" + recHitTypeFolder +
"/" + summaryFolder;
43 clientList_ = {{
"RPCMultiplicityTest",
"RPCDeadChannelTest",
"RPCClusterSizeTest"}};
53 rpcGeomToken_ = esConsumes<edm::Transition::EndLuminosityBlock>();
112 module->clientOperation();
138 module->clientOperation();
143 std::vector<MonitorElement*> myMeVect;
144 std::vector<RPCDetId> myDetIds;
161 myMeVect.push_back(myMe);
162 myDetIds.push_back(detId);
168 std::vector<MonitorElement*> myMeVectCl;
169 const std::array<std::string, 4> chNames = {{
"CH01-CH09",
"CH10-CH18",
"CH19-CH27",
"CH28-CH36"}};
173 for (
int sector = 1; sector <= 12; sector++) {
175 "{}/Barrel/Wheel_{}/SummaryBySectors/ClusterSize_Wheel_{}_Sector_{}",
prefixDir_,
wheel,
wheel, sector));
176 myMeVectCl.push_back(myMeCl);
186 regionName =
"Endcap+";
190 for (
unsigned int ich = 0; ich < chNames.size(); ich++) {
192 igetter.
get(
fmt::format(
"{}/{}/Disk_{}/SummaryByRings/ClusterSize_Disk_{}_Ring_{}_{}",
199 myMeVectCl.push_back(myMeCl);
219 for (
auto& det : rpcGeo->dets()) {
225 for (
auto&
r : ch->
rolls()) {
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Log< level::Info, true > LogVerbatim
MonitorElement * RPCEvents_
std::vector< std::unique_ptr< RPCClient > > clientModules_
void getMonitorElements(DQMStore::IGetter &)
std::vector< std::string > clientList_
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
void makeClientMap(const edm::ParameterSet ¶meters_)
std::vector< std::string > clientHisto_
RPCDeadChannelTest
RPC Client Modules #######################.
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
std::string globalFolder_
static std::string name(const RPCDetId &detId, const bool useRoll)
void getRPCdetId(const edm::EventSetup &)
static std::string folderStructure(const RPCDetId &detId)
virtual MonitorElement * get(std::string const &fullpath) const
std::vector< RPCDetId > myDetIds_
RPCDqmClient(const edm::ParameterSet &ps)
Constructor.
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
int prescaleGlobalFactor_
virtual double getBinContent(int binx) const
get content of bin (1-D)