#include <GEMSimpleModel.h>
Public Member Functions | |
GEMSimpleModel (const edm::ParameterSet &) | |
int | getSimHitBx (const PSimHit *, CLHEP::HepRandomEngine *) |
void | setup () override |
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 GEMDigiSimLinks & | gemDigiSimLinks () const |
const GEMGeometry * | getGeometry () |
void | setGeometry (const GEMGeometry *geom) |
const StripDigiSimLinks & | stripDigiSimLinks () const |
virtual | ~GEMDigiModel () |
Additional Inherited Members | |
Public Types inherited from GEMDigiModel | |
typedef edm::DetSet< GEMDigiSimLink > | GEMDigiSimLinks |
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... | |
void | addLinksWithPartId (unsigned int strip, int bx) |
GEMDigiModel (const edm::ParameterSet &) | |
Protected Attributes inherited from GEMDigiModel | |
DetectorHitMap | detectorHitMap_ |
const GEMGeometry * | geometry_ |
StripDigiSimLinks | stripDigiSimLinks_ |
std::set< std::pair< int, int > > | strips_ |
GEMDigiSimLinks | theGemDigiSimLinks_ |
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 75 of file GEMSimpleModel.cc.
int GEMSimpleModel::getSimHitBx | ( | const PSimHit * | simhit, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 127 of file GEMSimpleModel.cc.
References averageShapingTime_, bxwidth_, cosmics_, gather_cfg::cout, debug, PSimHit::detUnitId(), MillePedeFileConverter_cfg::e, GEMGeometry::etaPartition(), Exception, GEMDigiModel::geometry_, hcalTTPDigis_cfi::id, 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().
|
overridevirtual |
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 308 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 182 of file GEMSimpleModel.cc.
References averageEfficiency_, averageNoiseRate_, bxwidth_, constElecGE21, constNeuGE11, constNeuGE11_highRate, doBkgNoise_, doNoiseCLS_, MillePedeFileConverter_cfg::e, Exception, fixedRollRadius_, GE11ElecBkgParam0, GE11ElecBkgParam1, GE11ElecBkgParam2, GE11ElecBkgParam3, GE21ModNeuBkgParam0, GE21ModNeuBkgParam1, GE21ModNeuBkgParam2, GE21ModNeuBkgParam3, GE21ModNeuBkgParam4, GE21ModNeuBkgParam5, GE21NeuBkgParam0, GE21NeuBkgParam1, GE21NeuBkgParam2, GE21NeuBkgParam3, GE21NeuBkgParam4, GE21NeuBkgParam5, mps_fire::i, GEMEtaPartition::id(), instLumi_, gen::k, maxBunch_, minBunch_, GEMEtaPartition::nstrips(), GEMEtaPartition::pitch(), rateFact_, referenceInstLumi, simulateElectronBkg_, simulateIntrinsicNoise_, simulateLowNeutralRate_, slopeElecGE21, slopeNeuGE11, slopeNeuGE11_highRate, GEMDigiModel::strips_, and GEMEtaPartition::topology().
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 84 of file GEMSimpleModel.cc.
References funct::abs(), averageEfficiency_, edm::DetSet< T >::clear(), GEMDigiModel::detectorHitMap_, digitizeOnlyMuons_, MillePedeFileConverter_cfg::e, getSimHitBx(), GEMEtaPartition::id(), cmsBatch::log, DetId::rawId(), simulateClustering(), GEMDigiModel::stripDigiSimLinks_, GEMDigiModel::strips_, and GEMDigiModel::theGemDigiSimLinks_.
|
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 93 of file GEMSimpleModel.h.
Referenced by 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 94 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 96 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().