Reimplemented from popcon::PopConAnalyzer< RPCDBHandler >.
Definition at line 54 of file RPCDBPopConAnalyzer.cc.
References RPCDQMObject::DQMObjectItem::bx, RPCDQMObject::DQMObjectItem::bxrms, RPCDQMObject::DQMObjectItem::clusterSize, dbe, rpcdqm::utils::detId2RollNr(), RPCDQMObject::DQMObjectItem::dpid, RPCDQMObject::DQMObjectItem::efficiency, efficiencyFolder_, RPCBookFolderStructure::folderStructure(), edm::EventSetup::get(), DQMStore::get(), MonitorElement::getBinContent(), MonitorElement::getEntries(), MonitorElement::getMean(), MonitorElement::getRMS(), RPCDetId::layer(), RPCGeomServ::name(), NULL, RPCDQMObject::DQMObjectItem::numcluster, RPCDQMObject::DQMObjectItem::numdigi, alignCSCRings::r, recHitTypeFolder_, RPCDetId::region(), RPCDetId::ring(), RPCDetId::roll(), RPCChamber::rolls(), rpcDQMObject, RPCDetId::sector(), RPCGeomServ::segment(), RPCDQMObject::DQMObjectItem::status, AlCaHLTBitMon_QueryRunRegistry::string, subsystemFolder_, summaryFolder_, and RPCDQMObject::v_cls.
68 for (TrackingGeometry::DetContainer::const_iterator it=rpcGeo->dets().begin();it<rpcGeo->dets().end();it++){
69 if(dynamic_cast< RPCChamber* >( *it ) != 0 ){
71 std::vector< const RPCRoll*> roles = (ch->
rolls());
72 for(std::vector<const RPCRoll*>::const_iterator
r = roles.begin();
r != roles.end(); ++
r){
84 std::stringstream mepath;
100 int sector = (int)rpcId.
sector();
105 MEstatus =
dbe->
get(mepath.str());
109 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find Status for Barrel "<< nameRoll;
114 if( rpcId.
ring() > 0){
120 MEeff =
dbe->
get(mepath.str());
124 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find Efficiency for Barrel "<< nameRoll;
129 int segment = rpcsrv.segment() ;
130 int endcapbin = (rpcId.
ring()-1)*3-rpcId.
roll()+1;
136 MEstatus =
dbe->
get(mepath.str());
140 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find Status for Endcap "<< nameRoll;
147 MEeff =
dbe->
get(mepath.str());
151 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find Efficiency for Endcap "<< nameRoll;
157 rpcDqmItem.
dpid = (int)rpcId;
161 rpcDqmItem.
bx = -999;
162 rpcDqmItem.
bxrms = -999;
168 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find Number of Clusters for Roll "<< nameRoll;
174 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find ClusterSize for Roll "<< nameRoll;
181 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find BX for Roll "<< nameRoll;
187 edm::LogWarning(
"rpcdbclient")<<
"[RPCDBClient] Did not find Occupancy for Roll "<< nameRoll;
std::string recHitTypeFolder_
std::vector< DQMObjectItem > v_cls
double getEntries(void) const
get # of entries
double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
RPCDQMObject * rpcDQMObject
int detId2RollNr(const RPCDetId &_id)
std::string folderStructure(RPCDetId detId)
std::string efficiencyFolder_
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::string summaryFolder_
double getBinContent(int binx) const
get content of bin (1-D)
double getRMS(int axis=1) const
get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively)
std::string subsystemFolder_
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.