RPC Geometry
DIGI
Reimplemented from DQMEDAnalyzer.
Definition at line 61 of file L1TRPCTPG.cc.
64 cout <<
"L1TRPCTPG: analyze...." << endl;
70 edm::LogInfo(
"DataNotFound") <<
"can't find RPCGeometry" << endl;
95 vector<L1MuGMTReadoutRecord> gmt_records = gmtrc->
getRecords();
96 vector<L1MuGMTReadoutRecord>::const_iterator RRItr;
98 int nRPCTrackBarrel, nRPCTrackEndcap, nDTTrack, nCSCTrack;
104 for (RRItr = gmt_records.begin(); RRItr != gmt_records.end(); RRItr++) {
106 vector<L1MuRegionalCand> DTCands = RRItr->getDTBXCands();
107 for (vector<L1MuRegionalCand>::const_iterator ECItr = DTCands.begin(); ECItr != DTCands.end(); ++ECItr) {
108 if (!ECItr->empty()) {
113 vector<L1MuRegionalCand> CSCCands = RRItr->getCSCCands();
114 for (vector<L1MuRegionalCand>::const_iterator ECItr = CSCCands.begin(); ECItr != CSCCands.end(); ++ECItr) {
115 if (!ECItr->empty()) {
121 vector<L1MuRegionalCand> RPCBCands = RRItr->getBrlRPCCands();
122 for (vector<L1MuRegionalCand>::const_iterator ECItr = RPCBCands.begin(); ECItr != RPCBCands.end(); ++ECItr) {
123 if (!ECItr->empty()) {
129 vector<L1MuRegionalCand> RPCECands = RRItr->getFwdRPCCands();
130 for (vector<L1MuRegionalCand>::const_iterator ECItr = RPCECands.begin(); ECItr != RPCECands.end(); ++ECItr) {
131 if (!ECItr->empty()) {
137 int numberofDigi[3] = {0, 0, 0};
140 for (collectionItr = rpcdigis->begin(); collectionItr != rpcdigis->end(); ++collectionItr) {
142 for (digiItr = ((*collectionItr).second).first; digiItr != ((*collectionItr).second).
second; ++digiItr) {
146 int bx = (*digiItr).bx();
150 if (nRPCTrackBarrel == 0 && nDTTrack != 0) {
152 }
else if (nRPCTrackBarrel != 0 && nDTTrack == 0) {
156 if (nRPCTrackEndcap == 0 && nCSCTrack != 0) {
158 }
else if (nRPCTrackEndcap != 0 && nCSCTrack == 0) {
186 cout <<
"L1TRPCTPG: end job...." << endl;
187 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
References l1GtPatternGenerator_cfi::bx, c, gather_cfg::cout, MillePedeFileConverter_cfg::e, dqm::impl::MonitorElement::Fill(), get, L1MuGMTReadoutCollection::getRecords(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), edm::InputTag::label(), m_digiBxCSC, m_digiBxDT, m_digiBxRPCBar, m_digiBxRPCEnd, nev_, edm::Handle< T >::product(), rpctfSource_, rpctfSource_token_, rpctpgbx, rpctpgndigi, rpctpgSource_, rpctpgSource_token_, edm::second(), and verbose_.