#include <GEMSimTriv.h>
Public Member Functions | |
GEMSimTriv (const edm::ParameterSet &config) | |
void | setRandomEngine (CLHEP::HepRandomEngine &eng) |
void | simulate (const GEMEtaPartition *roll, const edm::PSimHitContainer &rpcHits) |
void | simulateNoise (const GEMEtaPartition *) |
~GEMSimTriv () | |
Public Member Functions inherited from GEMSim | |
virtual void | fillDigis (int rollDetId, GEMDigiCollection &digis) |
GEMSimSetUp * | getGEMSimSetUp () |
void | setGEMSimSetUp (GEMSimSetUp *setup) |
const StripDigiSimLinks & | stripDigiSimLinks () const |
virtual | ~GEMSim () |
Private Member Functions | |
void | init () |
Private Attributes | |
CLHEP::RandFlat * | flatDistr1_ |
CLHEP::RandFlat * | flatDistr2_ |
double | gate_ |
int | nbxing_ |
CLHEP::RandPoissonQ * | poissonDistr_ |
double | rate_ |
GEMSynchronizer * | sync_ |
Additional Inherited Members | |
Public Types inherited from GEMSim | |
typedef edm::DetSet < StripDigiSimLink > | StripDigiSimLinks |
Protected Types inherited from GEMSim | |
typedef std::multimap < std::pair< unsigned int, int > , const PSimHit *, std::less < std::pair< unsigned int, int > > > | DetectorHitMap |
Protected Member Functions inherited from GEMSim | |
virtual void | addLinks (unsigned int strip, int bx) |
GEMSim (const edm::ParameterSet &config) | |
Protected Attributes inherited from GEMSim | |
DetectorHitMap | detectorHitMap_ |
GEMSimSetUp * | simSetUp_ |
StripDigiSimLinks | stripDigiSimLinks_ |
std::set< std::pair< int, int > > | strips_ |
Class for the GEM strip response simulation based on a very simple model
Definition at line 23 of file GEMSimTriv.h.
GEMSimTriv::GEMSimTriv | ( | const edm::ParameterSet & | config | ) |
Definition at line 22 of file GEMSimTriv.cc.
References gate_, edm::ParameterSet::getParameter(), nbxing_, rate_, and sync_.
GEMSimTriv::~GEMSimTriv | ( | ) |
Definition at line 41 of file GEMSimTriv.cc.
References flatDistr1_, flatDistr2_, poissonDistr_, and sync_.
|
inlineprivatevirtual |
|
virtual |
Implements GEMSim.
Definition at line 32 of file GEMSimTriv.cc.
References flatDistr1_, flatDistr2_, poissonDistr_, GEMSynchronizer::setRandomEngine(), and sync_.
|
virtual |
Implements GEMSim.
Definition at line 49 of file GEMSimTriv.cc.
References funct::abs(), edm::DetSet< T >::clear(), GEMSim::detectorHitMap_, GEMEtaPartition::id(), DetId::rawId(), GEMEtaPartition::specs(), GEMSim::stripDigiSimLinks_, GEMSim::strips_, and GEMEtaPartitionSpecs::topology().
|
virtual |
Implements GEMSim.
Definition at line 77 of file GEMSimTriv.cc.
|
private |
Definition at line 48 of file GEMSimTriv.h.
Referenced by setRandomEngine(), and ~GEMSimTriv().
|
private |
Definition at line 49 of file GEMSimTriv.h.
Referenced by setRandomEngine(), and ~GEMSimTriv().
|
private |
Definition at line 45 of file GEMSimTriv.h.
Referenced by GEMSimTriv().
|
private |
Definition at line 43 of file GEMSimTriv.h.
Referenced by GEMSimTriv().
|
private |
Definition at line 50 of file GEMSimTriv.h.
Referenced by setRandomEngine(), and ~GEMSimTriv().
|
private |
Definition at line 44 of file GEMSimTriv.h.
Referenced by GEMSimTriv().
|
private |
Definition at line 41 of file GEMSimTriv.h.
Referenced by GEMSimTriv(), setRandomEngine(), and ~GEMSimTriv().