#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_ |
std::vector< double > | clsParametrization_ |
double | constNeuGE11_ |
bool | cosmics_ |
bool | digitizeOnlyMuons_ |
bool | doBkgNoise_ |
bool | doNoiseCLS_ |
bool | fixedRollRadius_ |
std::vector< double > | GE11ElecBkgParams_ |
std::vector< double > | GE21ElecBkgParams_ |
std::vector< double > | GE21NeuBkgParams_ |
int | maxBunch_ |
int | minBunch_ |
double | minPabsNoiseCLS_ |
double | scaleLumi_ |
double | signalPropagationSpeed_ |
bool | simulateElectronBkg_ |
bool | simulateIntrinsicNoise_ |
double | slopeNeuGE11_ |
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 26 of file GEMSimpleModel.cc.
GEMSimpleModel::~GEMSimpleModel | ( | ) |
Definition at line 56 of file GEMSimpleModel.cc.
int GEMSimpleModel::getSimHitBx | ( | const PSimHit * | simhit, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 88 of file GEMSimpleModel.cc.
References averageShapingTime_, bxwidth_, cosmics_, gather_cfg::cout, debug, PSimHit::detUnitId(), alignCSCRings::e, GEMGeometry::etaPartition(), edm::hlt::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 332 of file GEMSimpleModel.cc.
References funct::abs(), averageEfficiency_, GEMEtaPartition::centreOfStrip(), Topology::channel(), clsParametrization_, i, PSimHit::localPosition(), minPabsNoiseCLS_, GEMEtaPartition::nstrips(), PSimHit::pabs(), PSimHit::particleType(), PV3DBase< T, PVType, FrameType >::phi(), GEMEtaPartition::specificTopology(), GeomDet::toGlobal(), and ecaldqm::topology().
Referenced by simulateSignal().
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 151 of file GEMSimpleModel.cc.
References averageEfficiency_, averageNoiseRate_, bxwidth_, clsParametrization_, constNeuGE11_, doBkgNoise_, doNoiseCLS_, alignCSCRings::e, edm::hlt::Exception, fixedRollRadius_, GE11ElecBkgParams_, GE21ElecBkgParams_, GE21NeuBkgParams_, i, GEMEtaPartition::id(), j, roll_playback::k, maxBunch_, minBunch_, GEMEtaPartition::nstrips(), GEMEtaPartition::pitch(), scaleLumi_, simulateElectronBkg_, simulateIntrinsicNoise_, slopeNeuGE11_, GEMDigiModel::strips_, and GEMEtaPartition::topology().
|
overridevirtual |
Implements GEMDigiModel.
Definition at line 65 of file GEMSimpleModel.cc.
References funct::abs(), averageEfficiency_, edm::DetSet< T >::clear(), GEMDigiModel::detectorHitMap_, digitizeOnlyMuons_, getSimHitBx(), GEMEtaPartition::id(), 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 52 of file GEMSimpleModel.h.
Referenced by getSimHitBx(), and simulateNoise().
|
private |
Definition at line 49 of file GEMSimpleModel.h.
Referenced by simulateClustering(), and simulateNoise().
|
private |
Definition at line 63 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 51 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 55 of file GEMSimpleModel.h.
Referenced by simulateSignal().
|
private |
Definition at line 56 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 57 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 58 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 65 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 54 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 53 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 59 of file GEMSimpleModel.h.
Referenced by simulateClustering().
|
private |
Definition at line 61 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 50 of file GEMSimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 62 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 60 of file GEMSimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 64 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().