#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 () |
Private Attributes | |
double | averageEfficiency_ |
double | averageNoiseRate_ |
double | averageShapingTime_ |
int | bxwidth_ |
bool | digitizeOnlyMuons_ |
bool | doBkgNoise_ |
bool | doNoiseCLS_ |
bool | fixedRollRadius_ |
double | GE11ElecBkgParam0_ |
double | GE11ElecBkgParam1_ |
double | GE11ElecBkgParam2_ |
double | GE11ModNeuBkgParam0_ |
double | GE11ModNeuBkgParam1_ |
double | GE11ModNeuBkgParam2_ |
double | GE21ElecBkgParam0_ |
double | GE21ElecBkgParam1_ |
double | GE21ElecBkgParam2_ |
double | GE21ModNeuBkgParam0_ |
double | GE21ModNeuBkgParam1_ |
double | GE21ModNeuBkgParam2_ |
double | instLumi_ |
int | maxBunch_ |
int | minBunch_ |
double | rateFact_ |
const double | referenceInstLumi_ |
double | signalPropagationSpeed_ |
bool | simulateElectronBkg_ |
bool | simulateIntrinsicNoise_ |
double | timeJitter_ |
double | timeResolution_ |
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 13 of file GEMSimpleModel.cc.
GEMSimpleModel::~GEMSimpleModel | ( | ) |
Definition at line 47 of file GEMSimpleModel.cc.
int GEMSimpleModel::getSimHitBx | ( | const PSimHit * | simhit, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 99 of file GEMSimpleModel.cc.
References averageShapingTime_, bxwidth_, 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 269 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 154 of file GEMSimpleModel.cc.
References averageEfficiency_, averageNoiseRate_, bxwidth_, doBkgNoise_, doNoiseCLS_, MillePedeFileConverter_cfg::e, Exception, fixedRollRadius_, GE11ElecBkgParam0_, GE11ElecBkgParam1_, GE11ElecBkgParam2_, GE11ModNeuBkgParam0_, GE11ModNeuBkgParam1_, GE11ModNeuBkgParam2_, GE21ElecBkgParam0_, GE21ElecBkgParam1_, GE21ElecBkgParam2_, GE21ModNeuBkgParam0_, GE21ModNeuBkgParam1_, GE21ModNeuBkgParam2_, mps_fire::i, GEMEtaPartition::id(), instLumi_, gen::k, maxBunch_, minBunch_, GEMEtaPartition::nstrips(), GEMEtaPartition::pitch(), rateFact_, referenceInstLumi_, simulateElectronBkg_, simulateIntrinsicNoise_, GEMDigiModel::strips_, and GEMEtaPartition::topology().
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 56 of file GEMSimpleModel.cc.
References funct::abs(), averageEfficiency_, edm::DetSet< T >::clear(), GEMDigiModel::detectorHitMap_, digitizeOnlyMuons_, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, 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 49 of file GEMSimpleModel.h.
Referenced by getSimHitBx(), and simulateNoise().
|
private |
Definition at line 52 of file GEMSimpleModel.h.
Referenced by simulateSignal().
|
private |
Definition at line 53 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
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 63 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 64 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 65 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 70 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 71 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 72 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 66 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 67 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 68 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 73 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 74 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 75 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 58 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 51 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 50 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 59 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 60 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 48 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 57 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 56 of file GEMSimpleModel.h.
Referenced by 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().