19 #include <fmt/format.h> 36 prefixDir_ = subsystemFolder +
"/" + recHitTypeFolder;
37 globalFolder_ = subsystemFolder +
"/" + recHitTypeFolder +
"/" + summaryFolder;
43 clientList_ = {{
"RPCMultiplicityTest",
"RPCDeadChannelTest",
"RPCClusterSizeTest"}};
52 rpcGeomToken_ = esConsumes<edm::Transition::EndLuminosityBlock>();
111 module->clientOperation();
137 module->clientOperation();
142 std::vector<MonitorElement*> myMeVect;
143 std::vector<RPCDetId> myDetIds;
160 myMeVect.push_back(myMe);
161 myDetIds.push_back(detId);
167 std::vector<MonitorElement*> myMeVectCl;
168 const std::array<std::string, 4> chNames = {{
"CH01-CH09",
"CH10-CH18",
"CH19-CH27",
"CH28-CH36"}};
172 for (
int sector = 1; sector <= 12; sector++) {
174 "{}/Barrel/Wheel_{}/SummaryBySectors/ClusterSize_Wheel_{}_Sector_{}",
prefixDir_,
wheel,
wheel, sector));
175 myMeVectCl.push_back(myMeCl);
185 regionName =
"Endcap+";
189 for (
unsigned int ich = 0; ich < chNames.size(); ich++) {
191 igetter.
get(
fmt::format(
"{}/{}/Disk_{}/SummaryByRings/ClusterSize_Disk_{}_Ring_{}_{}",
198 myMeVectCl.push_back(myMeCl);
218 for (
auto& det : rpcGeo->dets()) {
224 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)