#include <GEMSimAverage.h>
Public Member Functions | |
GEMSimAverage (const edm::ParameterSet &config) | |
void | setRandomEngine (CLHEP::HepRandomEngine &eng) |
void | simulate (const GEMEtaPartition *roll, const edm::PSimHitContainer &rpcHits) |
void | simulateNoise (const GEMEtaPartition *roll) |
~GEMSimAverage () | |
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 | |
double | averageEfficiency_ |
double | averageNoiseRate_ |
double | averageShapingTime_ |
double | bxwidth_ |
CLHEP::RandFlat * | flatDistr1_ |
CLHEP::RandFlat * | flatDistr2_ |
int | maxBunch_ |
int | minBunch_ |
CLHEP::RandPoissonQ * | poissonDistr_ |
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 that extends the Trivial model with average parameters for the GEM efficiency, timing and noise
Definition at line 24 of file GEMSimAverage.h.
GEMSimAverage::GEMSimAverage | ( | const edm::ParameterSet & | config | ) |
Definition at line 22 of file GEMSimAverage.cc.
References averageEfficiency_, averageNoiseRate_, averageShapingTime_, bxwidth_, edm::ParameterSet::getParameter(), maxBunch_, minBunch_, and sync_.
GEMSimAverage::~GEMSimAverage | ( | ) |
Definition at line 44 of file GEMSimAverage.cc.
References flatDistr1_, flatDistr2_, poissonDistr_, and sync_.
|
inlineprivatevirtual |
|
virtual |
Implements GEMSim.
Definition at line 35 of file GEMSimAverage.cc.
References flatDistr1_, flatDistr2_, poissonDistr_, GEMSynchronizer::setRandomEngine(), and sync_.
|
virtual |
Implements GEMSim.
Definition at line 52 of file GEMSimAverage.cc.
References abs, averageEfficiency_, edm::DetSet< T >::clear(), GEMSim::detectorHitMap_, flatDistr1_, GEMSim::getGEMSimSetUp(), GEMSynchronizer::getSimHitBx(), GEMEtaPartition::id(), DetId::rawId(), GEMSynchronizer::setGEMSimSetUp(), GEMEtaPartition::specs(), GEMSim::stripDigiSimLinks_, GEMSim::strips_, sync_, and GEMEtaPartitionSpecs::topology().
|
virtual |
Implements GEMSim.
Definition at line 78 of file GEMSimAverage.cc.
References averageNoiseRate_, bxwidth_, edm::hlt::Exception, flatDistr1_, flatDistr2_, i, GEMEtaPartition::id(), maxBunch_, minBunch_, GEMEtaPartition::nstrips(), poissonDistr_, GEMDetId::region(), GEMSim::strips_, GEMEtaPartition::topology(), x, SiStripMonitorClusterAlca_cfi::xmax, and SiStripMonitorClusterAlca_cfi::xmin.
|
private |
Definition at line 43 of file GEMSimAverage.h.
Referenced by GEMSimAverage(), and simulate().
|
private |
Definition at line 45 of file GEMSimAverage.h.
Referenced by GEMSimAverage(), and simulateNoise().
|
private |
Definition at line 44 of file GEMSimAverage.h.
Referenced by GEMSimAverage().
|
private |
Definition at line 46 of file GEMSimAverage.h.
Referenced by GEMSimAverage(), and simulateNoise().
|
private |
Definition at line 51 of file GEMSimAverage.h.
Referenced by setRandomEngine(), simulate(), simulateNoise(), and ~GEMSimAverage().
|
private |
Definition at line 52 of file GEMSimAverage.h.
Referenced by setRandomEngine(), simulateNoise(), and ~GEMSimAverage().
|
private |
Definition at line 48 of file GEMSimAverage.h.
Referenced by GEMSimAverage(), and simulateNoise().
|
private |
Definition at line 47 of file GEMSimAverage.h.
Referenced by GEMSimAverage(), and simulateNoise().
|
private |
Definition at line 53 of file GEMSimAverage.h.
Referenced by setRandomEngine(), simulateNoise(), and ~GEMSimAverage().
|
private |
Definition at line 42 of file GEMSimAverage.h.
Referenced by GEMSimAverage(), setRandomEngine(), simulate(), and ~GEMSimAverage().