#include <GEMDigiModel.h>
Public Types | |
typedef edm::DetSet< GEMDigiSimLink > | GEMDigiSimLinks |
typedef edm::DetSet< StripDigiSimLink > | StripDigiSimLinks |
Public Member Functions | |
void | fillDigis (int rollDetId, GEMDigiCollection &) |
const GEMDigiSimLinks & | gemDigiSimLinks () const |
const GEMGeometry * | getGeometry () |
void | setGeometry (const GEMGeometry *geom) |
virtual void | setup ()=0 |
virtual std::vector< std::pair< int, int > > | simulateClustering (const GEMEtaPartition *, const PSimHit *, const int, CLHEP::HepRandomEngine *engine)=0 |
virtual void | simulateNoise (const GEMEtaPartition *, CLHEP::HepRandomEngine *engine)=0 |
virtual void | simulateSignal (const GEMEtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *engine)=0 |
const StripDigiSimLinks & | stripDigiSimLinks () const |
virtual | ~GEMDigiModel () |
Protected Types | |
typedef std::multimap< std::pair< unsigned int, int >, const PSimHit *, std::less< std::pair< unsigned int, int > > > | DetectorHitMap |
Protected Member Functions | |
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 | |
DetectorHitMap | detectorHitMap_ |
const GEMGeometry * | geometry_ |
StripDigiSimLinks | stripDigiSimLinks_ |
std::set< std::pair< int, int > > | strips_ |
GEMDigiSimLinks | theGemDigiSimLinks_ |
Base Class for the GEM strip response simulation
Definition at line 32 of file GEMDigiModel.h.
|
protected |
Definition at line 76 of file GEMDigiModel.h.
Definition at line 37 of file GEMDigiModel.h.
Definition at line 36 of file GEMDigiModel.h.
|
inlinevirtual |
Definition at line 39 of file GEMDigiModel.h.
|
inlineprotected |
Definition at line 61 of file GEMDigiModel.h.
|
protected |
creates links from Digi to SimTrack
Definition at line 21 of file GEMDigiModel.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, detectorHitMap_, PSimHit::eventId(), f, edm::DetSet< T >::push_back(), stripDigiSimLinks_, and PSimHit::trackId().
Referenced by fillDigis().
|
protected |
Definition at line 60 of file GEMDigiModel.cc.
References detectorHitMap_, PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::eventId(), PSimHit::momentumAtEntry(), PSimHit::particleType(), PSimHit::processType(), edm::DetSet< T >::push_back(), theGemDigiSimLinks_, PSimHit::timeOfFlight(), and PSimHit::trackId().
Referenced by fillDigis().
void GEMDigiModel::fillDigis | ( | int | rollDetId, |
GEMDigiCollection & | digis | ||
) |
Definition at line 5 of file GEMDigiModel.cc.
References addLinks(), addLinksWithPartId(), edmIntegrityCheck::d, and strips_.
|
inline |
Definition at line 57 of file GEMDigiModel.h.
|
inline |
|
inline |
|
pure virtual |
Implemented in GEMTrivialModel, and GEMSimpleModel.
|
pure virtual |
Implemented in GEMSimpleModel, and GEMTrivialModel.
|
pure virtual |
Implemented in GEMSimpleModel, and GEMTrivialModel.
|
pure virtual |
Implemented in GEMSimpleModel, and GEMTrivialModel.
|
inline |
Definition at line 56 of file GEMDigiModel.h.
|
protected |
Definition at line 78 of file GEMDigiModel.h.
Referenced by addLinks(), addLinksWithPartId(), GEMTrivialModel::simulateSignal(), and GEMSimpleModel::simulateSignal().
|
protected |
Definition at line 63 of file GEMDigiModel.h.
Referenced by GEMSimpleModel::getSimHitBx().
|
protected |
Definition at line 79 of file GEMDigiModel.h.
Referenced by addLinks(), GEMTrivialModel::simulateSignal(), and GEMSimpleModel::simulateSignal().
|
protected |
Definition at line 65 of file GEMDigiModel.h.
Referenced by fillDigis(), GEMSimpleModel::simulateNoise(), GEMTrivialModel::simulateSignal(), and GEMSimpleModel::simulateSignal().
|
protected |
Definition at line 80 of file GEMDigiModel.h.
Referenced by addLinksWithPartId(), and GEMSimpleModel::simulateSignal().