Public Member Functions | |
void | analyze (const edm::Event &evt, const edm::EventSetup &evtSetup) |
PVSSIDReader (const edm::ParameterSet &iConfig) | |
~PVSSIDReader () |
Definition at line 15 of file PVSSIDReader.cc.
PVSSIDReader::PVSSIDReader | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 23 of file PVSSIDReader.cc.
{}
PVSSIDReader::~PVSSIDReader | ( | ) |
Definition at line 25 of file PVSSIDReader.cc.
{}
void PVSSIDReader::analyze | ( | const edm::Event & | evt, |
const edm::EventSetup & | evtSetup | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 27 of file PVSSIDReader.cc.
References gather_cfg::cout, edm::EventSetup::get(), RPCObPVSSmap::ObIDMap_rpc, and edm::ESHandle< T >::product().
{ edm::ESHandle<RPCObPVSSmap> pvssmapRcd; evtSetup.get<RPCObPVSSmapRcd>().get(pvssmapRcd); edm::LogInfo("PVSSIDReader") << "[PVSSIDReader::analyze] End Reading Pvssmap" << std::endl; const RPCObPVSSmap* pvssmap = pvssmapRcd.product(); std::vector<RPCObPVSSmap::Item> mypvssmap = pvssmap->ObIDMap_rpc; std::vector<RPCObPVSSmap::Item>::iterator ipvssmap; std::cout << "************************************" << std::endl; for(ipvssmap = mypvssmap.begin(); ipvssmap < mypvssmap.end(); ++ipvssmap){ std::cout<<"dpid = " << ipvssmap->dpid << " region = " << ipvssmap->region << " ring = " << ipvssmap->ring << " sector = " << ipvssmap->sector << " station = " << ipvssmap->station << " layer = " << ipvssmap->layer << " subsector = " << ipvssmap->subsector << " suptype = " << ipvssmap->suptype << std::endl; } }