#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< RPCDigi > | irpc_digis |
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 39 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 11 of file RPCSim.cc.
References addLinks(), i, irpc_digis, RPCDetId, and strips.
Referenced by IRPCDigitizer::doAction(), and RPCDigitizer::doAction().
|
inline |
Definition at line 50 of file RPCSim.h.
References theSimSetUp.
Referenced by RPCSimAverage::getClSize(), RPCSimModelTiming::getClSize(), RPCSimAverageNoise::getClSize(), RPCSimAverageNoiseEff::getClSize(), RPCSimAverageNoiseEffCls::getClSize(), RPCSimAsymmetricCls::getClSize(), RPCSimSimple::simulate(), RPCSimParam::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoise::simulate(), RPCSimModelTiming::simulate(), RPCSimAsymmetricCls::simulate(), RPCSimAverageNoiseEffCls::simulateNoise(), RPCSimModelTiming::simulateNoise(), RPCSimAverageNoiseEff::simulateNoise(), RPCSimAverageNoise::simulateNoise(), and RPCSimAsymmetricCls::simulateNoise().
|
protectedpure virtual |
|
inline |
Definition at line 53 of file RPCSim.h.
References theRpcDigiSimLinks.
Referenced by IRPCDigitizer::doAction(), and RPCDigitizer::doAction().
|
inline |
Definition at line 48 of file RPCSim.h.
References GeneralSetup::setup(), and theSimSetUp.
Referenced by IRPCDigitizer::doAction(), and RPCDigitizer::doAction().
|
pure virtual |
Implemented in RPCSimAsymmetricCls, RPCSimModelTiming, RPCSimAverage, RPCSimAverageNoise, RPCSimAverageNoiseEff, RPCSimAverageNoiseEffCls, RPCSimParam, RPCSimSimple, and RPCSimTriv.
Referenced by IRPCDigitizer::doAction(), and RPCDigitizer::doAction().
|
pure virtual |
Implemented in RPCSimAsymmetricCls, RPCSimAverage, RPCSimAverageNoise, RPCSimAverageNoiseEff, RPCSimAverageNoiseEffCls, RPCSimModelTiming, RPCSimParam, RPCSimSimple, and RPCSimTriv.
Referenced by IRPCDigitizer::doAction(), and RPCDigitizer::doAction().
|
protected |
Definition at line 61 of file RPCSim.h.
Referenced by fillDigis(), RPCSimModelTiming::simulate(), and RPCSimModelTiming::simulateNoise().
|
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 72 of file RPCSim.h.
Referenced by addLinks(), RPCSimSimple::simulate(), RPCSimTriv::simulate(), RPCSimParam::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimAverage::simulate(), RPCSimAsymmetricCls::simulate(), and RPCSimModelTiming::simulate().
|
protected |
Definition at line 73 of file RPCSim.h.
Referenced by digiSimLinks().
|
protected |
Definition at line 74 of file RPCSim.h.
Referenced by addLinks(), rpcDigiSimLinks(), RPCSimTriv::simulate(), RPCSimSimple::simulate(), RPCSimParam::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverage::simulate(), RPCSimAverageNoise::simulate(), RPCSimAverageNoiseEff::simulate(), RPCSimModelTiming::simulate(), and RPCSimAsymmetricCls::simulate().
|
protected |
Definition at line 78 of file RPCSim.h.
Referenced by getRPCSimSetUp(), and setRPCSimSetUp().