#include <ME0SimpleModel.h>
Public Member Functions | |
int | getSimHitBx (const PSimHit *, CLHEP::HepRandomEngine *) |
ME0SimpleModel (const edm::ParameterSet &) | |
void | setup () override |
std::vector< std::pair< int, int > > | simulateClustering (const ME0EtaPartition *, const PSimHit *, const int, CLHEP::HepRandomEngine *) override |
void | simulateNoise (const ME0EtaPartition *, CLHEP::HepRandomEngine *) override |
void | simulateSignal (const ME0EtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *) override |
~ME0SimpleModel () override | |
Public Member Functions inherited from ME0DigiModel | |
void | fillDigis (int rollDetId, ME0DigiCollection &) |
const ME0Geometry * | getGeometry () |
const ME0DigiSimLinks & | me0DigiSimLinks () const |
void | setGeometry (const ME0Geometry *geom) |
const StripDigiSimLinks & | stripDigiSimLinks () const |
virtual | ~ME0DigiModel () |
Private Attributes | |
double | averageEfficiency_ |
double | averageNoiseRate_ |
double | averageShapingTime_ |
int | bxwidth_ |
bool | digitizeOnlyMuons_ |
bool | doBkgNoise_ |
bool | doNoiseCLS_ |
bool | fixedRollRadius_ |
double | instLumi_ |
int | maxBunch_ |
double | ME0ElecBkgParam0_ |
double | ME0ElecBkgParam1_ |
double | ME0ElecBkgParam2_ |
double | ME0ElecBkgParam3_ |
double | ME0NeuBkgParam0_ |
double | ME0NeuBkgParam1_ |
double | ME0NeuBkgParam2_ |
double | ME0NeuBkgParam3_ |
int | minBunch_ |
double | rateFact_ |
double | referenceInstLumi_ |
double | signalPropagationSpeed_ |
bool | simulateElectronBkg_ |
bool | simulateIntrinsicNoise_ |
double | timeJitter_ |
double | timeResolution_ |
Additional Inherited Members | |
Public Types inherited from ME0DigiModel | |
typedef edm::DetSet< ME0DigiSimLink > | ME0DigiSimLinks |
typedef edm::DetSet< StripDigiSimLink > | StripDigiSimLinks |
Protected Types inherited from ME0DigiModel | |
typedef std::multimap< std::pair< unsigned int, int >, const PSimHit *, std::less< std::pair< unsigned int, int > > > | DetectorHitMap |
Protected Member Functions inherited from ME0DigiModel | |
void | addLinks (unsigned int strip, int bx) |
creates links from Digi to SimTrack More... | |
void | addLinksWithPartId (unsigned int strip, int bx) |
ME0DigiModel (const edm::ParameterSet &) | |
Protected Attributes inherited from ME0DigiModel | |
DetectorHitMap | detectorHitMap_ |
const ME0Geometry * | geometry_ |
StripDigiSimLinks | stripDigiSimLinks_ |
std::set< std::pair< int, int > > | strips_ |
ME0DigiSimLinks | theME0DigiSimLinks_ |
Class for the ME0 strip response simulation based on a very simple model
Definition at line 22 of file ME0SimpleModel.h.
ME0SimpleModel::ME0SimpleModel | ( | const edm::ParameterSet & | config | ) |
Definition at line 16 of file ME0SimpleModel.cc.
|
override |
Definition at line 44 of file ME0SimpleModel.cc.
int ME0SimpleModel::getSimHitBx | ( | const PSimHit * | simhit, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 91 of file ME0SimpleModel.cc.
References averageShapingTime_, simKBmtfDigis_cfi::bx, bxwidth_, debug, PSimHit::detUnitId(), ME0Geometry::etaPartition(), Exception, ME0DigiModel::geometry_, triggerObjects_cff::id, PSimHit::localPosition(), LogDebug, 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 ME0DigiModel.
Definition at line 231 of file ME0SimpleModel.cc.
References averageEfficiency_, simKBmtfDigis_cfi::bx, ME0EtaPartition::centreOfStrip(), ME0EtaPartition::nstrips(), rpcPointValidation_cfi::simHit, ME0EtaPartition::specificTopology(), GeomDet::toGlobal(), ecaldqm::topology(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by simulateSignal().
|
overridevirtual |
Implements ME0DigiModel.
Definition at line 144 of file ME0SimpleModel.cc.
References averageEfficiency_, averageNoiseRate_, bxwidth_, doBkgNoise_, doNoiseCLS_, MillePedeFileConverter_cfg::e, Exception, JetChargeProducer_cfi::exp, fixedRollRadius_, mps_fire::i, ME0EtaPartition::id(), instLumi_, dqmiolumiharvest::j, dqmdumpme::k, maxBunch_, ME0ElecBkgParam0_, ME0ElecBkgParam1_, ME0ElecBkgParam2_, ME0ElecBkgParam3_, ME0NeuBkgParam0_, ME0NeuBkgParam1_, ME0NeuBkgParam2_, ME0NeuBkgParam3_, minBunch_, ME0EtaPartition::nstrips(), ME0EtaPartition::pitch(), rateFact_, referenceInstLumi_, simulateElectronBkg_, simulateIntrinsicNoise_, mathSSE::sqrt(), ME0DigiModel::strips_, and ME0EtaPartition::topology().
|
overridevirtual |
Implements ME0DigiModel.
Definition at line 48 of file ME0SimpleModel.cc.
References funct::abs(), averageEfficiency_, simKBmtfDigis_cfi::bx, edm::DetSet< T >::clear(), ME0DigiModel::detectorHitMap_, digitizeOnlyMuons_, MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, getSimHitBx(), ME0EtaPartition::id(), dqm-mbProfile::log, DetId::rawId(), FastTrackerRecHitCombiner_cfi::simHits, simulateClustering(), ME0DigiModel::stripDigiSimLinks_, ME0DigiModel::strips_, and ME0DigiModel::theME0DigiSimLinks_.
|
private |
Definition at line 42 of file ME0SimpleModel.h.
Referenced by simulateClustering(), simulateNoise(), and simulateSignal().
|
private |
Definition at line 46 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 43 of file ME0SimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 48 of file ME0SimpleModel.h.
Referenced by getSimHitBx(), and simulateNoise().
|
private |
Definition at line 51 of file ME0SimpleModel.h.
Referenced by simulateSignal().
|
private |
Definition at line 52 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 53 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 54 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 57 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 50 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 61 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 62 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 63 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 64 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 66 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 67 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 68 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 69 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 49 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 58 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 59 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 47 of file ME0SimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 56 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 55 of file ME0SimpleModel.h.
Referenced by simulateNoise().
|
private |
Definition at line 45 of file ME0SimpleModel.h.
Referenced by getSimHitBx().
|
private |
Definition at line 44 of file ME0SimpleModel.h.
Referenced by getSimHitBx().