36 std::cout <<
" Geometry node for RPCGeom is " << &(*pDD) << std::endl;
37 cout <<
" I have " << pDD->detTypes().size() <<
" detTypes" << endl;
38 cout <<
" I have " << pDD->detUnits().size() <<
" detUnits" << endl;
39 cout <<
" I have " << pDD->dets().size() <<
" dets" << endl;
40 cout <<
" I have " << pDD->rolls().size() <<
" rolls" << endl;
41 cout <<
" I have " << pDD->chambers().size() <<
" chambers" << endl;
43 std::cout <<
myName() <<
": Begin iteration over geometry..." << std::endl;
47 for (TrackingGeometry::DetContainer::const_iterator
it = pDD->dets().begin();
it != pDD->dets().end();
it++) {
50 if (dynamic_cast<const RPCChamber*>(*
it) !=
nullptr) {
53 std::vector<const RPCRoll*> rollsRaf = (ch->
rolls());
54 for (std::vector<const RPCRoll*>::iterator
r = rollsRaf.begin();
r != rollsRaf.end(); ++
r) {
56 std::cout <<
"Region = " << (*r)->id().region() <<
" Ring = " << (*r)->id().ring()
57 <<
" Station = " << (*r)->id().station() <<
" Sector = " << (*r)->id().sector()
58 <<
" Layer = " << (*r)->id().layer() <<
" Subsector = " << (*r)->id().subsector()
59 <<
" Roll = " << (*r)->id().roll() << std::endl;
62 std::cout <<
s.name() <<
" eta partition " <<
s.eta_partition() <<
" nroll=" << ch->
nrolls() <<
" z=" <<
g.z()
63 <<
" phi=" <<
g.phi() <<
" R=" <<
g.perp() << std::endl;
65 if ((*r)->id().region() == 0) {
68 double cmin = cic.first;
69 double cmax = cic.second;
74 std::pair<double, double> cic2(cmin, cmax);
77 std::pair<double, double> cic(
g.z(),
g.z());
80 }
else if ((*r)->id().region() == +1) {
83 double cmin = cic.first;
84 double cmax = cic.second;
89 std::pair<double, double> cic2(cmin, cmax);
92 std::pair<double, double> cic(
g.perp(),
g.perp());
95 }
else if ((*r)->id().region() == -1) {
98 double cmin = cic.first;
99 double cmax = cic.second;
104 std::pair<double, double> cic2(cmin, cmax);
107 std::pair<double, double> cic(
g.perp(),
g.perp());
116 std::map<int, std::pair<double, double> >::iterator
ieta;
119 std::cout <<
" Eta " <<
ieta->first <<
" Radii = ( " <<
ieta->second.first <<
", " <<
ieta->second.second <<
")" 124 std::cout <<
" Eta " <<
ieta->first <<
" Z = ( " <<
ieta->second.first <<
", " <<
ieta->second.second <<
")" 129 std::cout <<
" Eta " <<
ieta->first <<
" Radii = ( " <<
ieta->second.first <<
", " <<
ieta->second.second <<
")"
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
int nrolls() const
Retunr numbers of rolls.
U second(std::pair< T, U > const &p)
std::map< int, std::pair< double, double > > barzranges
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
std::map< int, std::pair< double, double > > forRranges
const std::string & myName()
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
const std::string dashedLine_
std::map< int, std::pair< double, double > > bacRranges