- Author
- Andres Felipe Osorio Oliveros
- Date
- 2009-09-20
Definition at line 40 of file RBCProcessRPCSimDigis.h.
int RBCProcessRPCSimDigis::next |
( |
void |
| ) |
|
|
overridevirtual |
Implements ProcessInputSignal.
Definition at line 33 of file RBCProcessRPCSimDigis.cc.
References funct::abs(), groupFilesInBlocks::block, simKBmtfDigis_cfi::bx, gather_cfg::cout, RPCRoll::id(), triggerObjects_cff::id, initialize(), RPCRoll::isForward(), RPCDetId::layer(), phase1PixelTopology::layer, reset(), RPCDetId::ring(), RPCDetId::sector(), relativeConstraints::station, RPCDetId::station(), and makeMuonMisalignmentScenario::wheel.
43 std::cout <<
"looping over digis 1 ..." << std::endl;
45 int bx = (*m_digiItr).getBx();
49 std::cout <<
"RBCProcessRPCSimDigis> found a bx bigger than max allowed: " <<
bx << std::endl;
53 uint32_t detid =
m_digiItr->getDetUnitId();
55 const RPCRoll* roll =
dynamic_cast<const RPCRoll*
>((*m_ptr_rpcGeom)->roll(
id));
59 std::cout <<
"RBCProcessRPCSimDigis: roll is forward" << std::endl;
68 int rollid =
id.roll();
73 digipos = 30000 + digipos;
75 digipos = 30000 + digipos;
78 digipos = 20000 + digipos;
80 digipos = 20000 + digipos;
83 std::cout <<
"Bx: " <<
bx <<
'\t' <<
"Wheel: " <<
wheel <<
'\t' <<
"Sector: " << sector <<
'\t' 84 <<
"Station: " <<
station <<
'\t' <<
"Layer: " <<
layer <<
'\t' <<
"B-Layer: " << blayer <<
'\t' 85 <<
"Roll id: " << rollid <<
'\t' <<
"Digi at: " << digipos <<
'\n';
103 std::cout <<
"looping over digis 2 ..." << std::endl;
120 std::cout <<
"RBCProcessRPCSimDigis: DataSize: " <<
m_data.size() <<
" ndigis " << ndigis << std::endl;
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::map< int, std::vector< RPCData > > m_vecDataperBx
constexpr std::array< uint8_t, layerIndexSize > layer
int getBarrelLayer(const int &, const int &)
void setDigiAt(int, int, RPCData &)
Abs< T >::type abs(const T &t)
void initialize(std::vector< RPCData > &)
iterator end()
Return the off-the-end iterator.
edm::DetSet< RPCDigiSimLink >::const_iterator m_digiItr
std::map< int, RBCInput * > m_data
iterator begin()
Return an iterator to the first DetSet.
edm::DetSetVector< RPCDigiSimLink >::const_iterator m_linkItr