#include <RPCSim.h>
Public Types | |
typedef edm::DetSet < StripDigiSimLink > | DigiSimLinks |
typedef edm::DetSet < RPCDigiSimLink > | RPCDigiSimLinks |
Public Member Functions | |
const DigiSimLinks & | digiSimLinks () const |
virtual void | fillDigis (int rollDetId, RPCDigiCollection &digis) |
RPCSimSetUp * | getRPCSimSetUp () |
const RPCDigiSimLinks & | rpcDigiSimLinks () const |
void | setRPCSimSetUp (RPCSimSetUp *setup) |
virtual void | simulate (const RPCRoll *roll, const edm::PSimHitContainer &rpcHits, CLHEP::HepRandomEngine *)=0 |
virtual void | simulateNoise (const RPCRoll *roll, CLHEP::HepRandomEngine *)=0 |
virtual | ~RPCSim () |
Protected Types | |
typedef std::multimap < std::pair< unsigned int, int > , const PSimHit *, std::less < std::pair< unsigned int, int > > > | DetectorHitMap |
Protected Member Functions | |
virtual void | addLinks (unsigned int strip, int bx) |
virtual void | init ()=0 |
RPCSim (const edm::ParameterSet &config) | |
Protected Attributes | |
std::set< std::pair< int, int > > | strips |
DetectorHitMap | theDetectorHitMap |
DigiSimLinks | theDigiSimLinks |
RPCDigiSimLinks | theRpcDigiSimLinks |
RPCSimSetUp * | theSimSetUp |
|
protected |
|
protected |
|
protectedvirtual |
creates links from Digi to SimTrack disabled for now
Definition at line 28 of file RPCSim.cc.
References PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::eventId(), PSimHit::momentumAtEntry(), PSimHit::particleType(), PSimHit::processType(), edm::DetSet< T >::push_back(), theDetectorHitMap, theRpcDigiSimLinks, PSimHit::timeOfFlight(), and PSimHit::trackId().
Referenced by fillDigis().
|
inline |
|
virtual |
Definition at line 10 of file RPCSim.cc.
References addLinks(), i, RPCDetId, and strips.
Referenced by RPCDigitizer::doAction().
|
inline |
Definition at line 50 of file RPCSim.h.
References theSimSetUp.
Referenced by RPCSimAverage::getClSize(), RPCSimAverageNoise::getClSize(), RPCSimAverageNoiseEff::getClSize(), RPCSimAverageNoiseEffCls::getClSize(), RPCSimAsymmetricCls::getClSize(), RPCSimSimple::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAsymmetricCls::simulate(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverageNoise::simulateNoise(), RPCSimAverageNoiseEffCls::simulateNoise(), and RPCSimAsymmetricCls::simulateNoise().
|
protectedpure virtual |
Implemented in RPCSimAsymmetricCls, RPCSimAverageNoiseEffCls, RPCSimAverageNoiseEff, RPCSimAverage, RPCSimAverageNoise, RPCSimParam, RPCSimTriv, and RPCSimSimple.
|
inline |
Definition at line 53 of file RPCSim.h.
References theRpcDigiSimLinks.
Referenced by RPCDigitizer::doAction().
|
inline |
Definition at line 48 of file RPCSim.h.
References GeneralSetup::setup(), and theSimSetUp.
Referenced by RPCDigitizer::doAction().
|
pure virtual |
Implemented in RPCSimAsymmetricCls, RPCSimAverage, RPCSimAverageNoise, RPCSimAverageNoiseEff, RPCSimAverageNoiseEffCls, RPCSimParam, RPCSimSimple, and RPCSimTriv.
Referenced by RPCDigitizer::doAction().
|
pure virtual |
Implemented in RPCSimAsymmetricCls, RPCSimAverage, RPCSimAverageNoise, RPCSimAverageNoiseEff, RPCSimAverageNoiseEffCls, RPCSimParam, RPCSimSimple, and RPCSimTriv.
Referenced by RPCDigitizer::doAction().
|
protected |
Definition at line 60 of file RPCSim.h.
Referenced by fillDigis(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimParam::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoise::simulate(), RPCSimAsymmetricCls::simulate(), RPCSimSimple::simulateNoise(), RPCSimParam::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverage::simulateNoise(), RPCSimAverageNoiseEffCls::simulateNoise(), RPCSimAverageNoise::simulateNoise(), and RPCSimAsymmetricCls::simulateNoise().
|
protected |
Definition at line 71 of file RPCSim.h.
Referenced by addLinks(), RPCSimSimple::simulate(), RPCSimTriv::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverage::simulate(), and RPCSimAsymmetricCls::simulate().
|
protected |
Definition at line 72 of file RPCSim.h.
Referenced by digiSimLinks().
|
protected |
Definition at line 73 of file RPCSim.h.
Referenced by addLinks(), rpcDigiSimLinks(), RPCSimSimple::simulate(), RPCSimTriv::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoiseEff::simulate(), and RPCSimAsymmetricCls::simulate().
|
protected |
Definition at line 77 of file RPCSim.h.
Referenced by getRPCSimSetUp(), and setRPCSimSetUp().