#include <GEMSimpleModel.h>
Public Member Functions | |
GEMSimpleModel (const edm::ParameterSet &) | |
int | getSimHitBx (const PSimHit *, CLHEP::HepRandomEngine *) |
void | setup () |
std::vector< std::pair< int, int > > | simulateClustering (const GEMEtaPartition *, const PSimHit *, const int, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const GEMEtaPartition *, CLHEP::HepRandomEngine *) override |
void | simulateSignal (const GEMEtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *) override |
~GEMSimpleModel () | |
Public Member Functions inherited from GEMDigiModel | |
void | fillDigis (int rollDetId, GEMDigiCollection &) |
const GEMGeometry * | getGeometry () |
void | setGeometry (const GEMGeometry *geom) |
const StripDigiSimLinks & | stripDigiSimLinks () const |
virtual | ~GEMDigiModel () |
Private Attributes | |
double | averageEfficiency_ |
double | averageNoiseRate_ |
double | averageShapingTime_ |
int | bxwidth_ |
double | constElecGE21 |
double | constNeuGE11 |
double | constNeuGE11_highRate |
bool | cosmics_ |
bool | digitizeOnlyMuons_ |
bool | doBkgNoise_ |
bool | doNoiseCLS_ |
bool | fixedRollRadius_ |
double | GE11ElecBkgParam0 |
double | GE11ElecBkgParam1 |
double | GE11ElecBkgParam2 |
double | GE11ElecBkgParam3 |
double | GE21ModNeuBkgParam0 |
double | GE21ModNeuBkgParam1 |
double | GE21ModNeuBkgParam2 |
double | GE21ModNeuBkgParam3 |
double | GE21ModNeuBkgParam4 |
double | GE21ModNeuBkgParam5 |
double | GE21NeuBkgParam0 |
double | GE21NeuBkgParam1 |
double | GE21NeuBkgParam2 |
double | GE21NeuBkgParam3 |
double | GE21NeuBkgParam4 |
double | GE21NeuBkgParam5 |
int | maxBunch_ |
int | minBunch_ |
double | signalPropagationSpeed_ |
bool | simulateElectronBkg_ |
bool | simulateIntrinsicNoise_ |
bool | simulateLowNeutralRate_ |
double | slopeElecGE21 |
double | slopeNeuGE11 |
double | slopeNeuGE11_highRate |
double | timeJitter_ |
double | timeResolution_ |
Additional Inherited Members | |
Public Types inherited from GEMDigiModel | |
typedef edm::DetSet < StripDigiSimLink > | StripDigiSimLinks |
Protected Types inherited from GEMDigiModel | |
typedef std::multimap < std::pair< unsigned int, int > , const PSimHit *, std::less < std::pair< unsigned int, int > > > | DetectorHitMap |
Protected Member Functions inherited from GEMDigiModel | |
void | addLinks (unsigned int strip, int bx) |
creates links from Digi to SimTrack More... | |
GEMDigiModel (const edm::ParameterSet &) | |
Protected Attributes inherited from GEMDigiModel | |
DetectorHitMap | detectorHitMap_ |
const GEMGeometry * | geometry_ |
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 22 of file GEMSimpleModel.h.
GEMSimpleModel::GEMSimpleModel | ( | const edm::ParameterSet & | config | ) |
Definition at line 20 of file GEMSimpleModel.cc.
References constElecGE21, constNeuGE11, constNeuGE11_highRate, GE11ElecBkgParam0, GE11ElecBkgParam1, GE11ElecBkgParam2, GE11ElecBkgParam3, GE21ModNeuBkgParam0, GE21ModNeuBkgParam1, GE21ModNeuBkgParam2, GE21ModNeuBkgParam3, GE21ModNeuBkgParam4, GE21ModNeuBkgParam5, GE21NeuBkgParam0, GE21NeuBkgParam1, GE21NeuBkgParam2, GE21NeuBkgParam3, GE21NeuBkgParam4, GE21NeuBkgParam5, slopeElecGE21, slopeNeuGE11, and slopeNeuGE11_highRate.
GEMSimpleModel::~GEMSimpleModel | ( | ) |
Definition at line 73 of file GEMSimpleModel.cc.
int GEMSimpleModel::getSimHitBx | ( | const PSimHit * | simhit, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 123 of file GEMSimpleModel.cc.
References averageShapingTime_, bxwidth_, cosmics_, gather_cfg::cout, debug, PSimHit::detUnitId(), alignCSCRings::e, GEMGeometry::etaPartition(), Exception, GEMDigiModel::geometry_, PSimHit::localPosition(), signalPropagationSpeed_, mathSSE::sqrt(), timeJitter_, PSimHit::timeOfFlight(), timeResolution_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by simulateSignal().
|
virtual |
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 299 of file GEMSimpleModel.cc.
References averageEfficiency_, GEMEtaPartition::centreOfStrip(), Topology::channel(), PSimHit::localPosition(), GEMEtaPartition::nstrips(), GEMEtaPartition::specificTopology(), GeomDet::toGlobal(), ecaldqm::topology(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by simulateSignal().
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 178 of file GEMSimpleModel.cc.
References averageEfficiency_, averageNoiseRate_, bxwidth_, constElecGE21, constNeuGE11, constNeuGE11_highRate, doBkgNoise_, doNoiseCLS_, alignCSCRings::e, Exception, fixedRollRadius_, GE11ElecBkgParam0, GE11ElecBkgParam1, GE11ElecBkgParam2, GE11ElecBkgParam3, GE21ModNeuBkgParam0, GE21ModNeuBkgParam1, GE21ModNeuBkgParam2, GE21ModNeuBkgParam3, GE21ModNeuBkgParam4, GE21ModNeuBkgParam5, GE21NeuBkgParam0, GE21NeuBkgParam1, GE21NeuBkgParam2, GE21NeuBkgParam3, GE21NeuBkgParam4, GE21NeuBkgParam5, i, GEMEtaPartition::id(), j, relval_steps::k, maxBunch_, minBunch_, GEMEtaPartition::nstrips(), GEMEtaPartition::pitch(), simulateElectronBkg_, simulateIntrinsicNoise_, simulateLowNeutralRate_, slopeElecGE21, slopeNeuGE11, slopeNeuGE11_highRate, GEMDigiModel::strips_, and GEMEtaPartition::topology().
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 82 of file GEMSimpleModel.cc.
References funct::abs(), averageEfficiency_, edm::DetSet< T >::clear(), GEMDigiModel::detectorHitMap_, digitizeOnlyMuons_, alignCSCRings::e, getSimHitBx(), GEMEtaPartition::id(), cmsBatch::log, DetId::rawId(), simulateClustering(), GEMDigiModel::stripDigiSimLinks_, and GEMDigiModel::strips_.
|
private |
Definition at line 43 of file GEMSimpleModel.h.
Referenced by simulateClustering(), simulateNoise(), and simulateSignal().
|
private |
Definition at line 47 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 44 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 50 of file GEMSimpleModel.h.
Referenced by getSimHitBx(), and simulateNoise().
|
private |
Definition at line 67 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 72 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 83 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 49 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 53 of file GEMSimpleModel.h.
Referenced by simulateSignal().
|
private |
Definition at line 54 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 55 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 56 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 62 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 63 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 64 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 65 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 86 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 87 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 88 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 89 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 90 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 91 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 75 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 76 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 77 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 78 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 79 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 80 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 52 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 51 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 48 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 58 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 57 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 59 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 68 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 73 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 84 of file GEMSimpleModel.h.
Referenced by GEMSimpleModel(), and simulateNoise().
|
private |
Definition at line 46 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 45 of file GEMSimpleModel.h.
Referenced by getSimHitBx().