#include <ME0DigiModel.h>
Public Types | |
typedef edm::DetSet< ME0DigiSimLink > | ME0DigiSimLinks |
typedef edm::DetSet< StripDigiSimLink > | StripDigiSimLinks |
Public Member Functions | |
void | fillDigis (int rollDetId, ME0DigiCollection &) |
const ME0Geometry * | getGeometry () |
const ME0DigiSimLinks & | me0DigiSimLinks () const |
void | setGeometry (const ME0Geometry *geom) |
virtual void | setup ()=0 |
virtual std::vector< std::pair< int, int > > | simulateClustering (const ME0EtaPartition *, const PSimHit *, const int, CLHEP::HepRandomEngine *engine)=0 |
virtual void | simulateNoise (const ME0EtaPartition *, CLHEP::HepRandomEngine *engine)=0 |
virtual void | simulateSignal (const ME0EtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *engine)=0 |
const StripDigiSimLinks & | stripDigiSimLinks () const |
virtual | ~ME0DigiModel () |
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) |
ME0DigiModel (const edm::ParameterSet &) | |
Protected Attributes | |
DetectorHitMap | detectorHitMap_ |
const ME0Geometry * | geometry_ |
StripDigiSimLinks | stripDigiSimLinks_ |
std::set< std::pair< int, int > > | strips_ |
ME0DigiSimLinks | theME0DigiSimLinks_ |
Base Class for the ME0 strip response simulation
Definition at line 32 of file ME0DigiModel.h.
|
protected |
Definition at line 76 of file ME0DigiModel.h.
Definition at line 37 of file ME0DigiModel.h.
Definition at line 36 of file ME0DigiModel.h.
|
inlinevirtual |
Definition at line 39 of file ME0DigiModel.h.
|
inlineprotected |
Definition at line 61 of file ME0DigiModel.h.
|
protected |
creates links from Digi to SimTrack
Definition at line 21 of file ME0DigiModel.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 ME0DigiModel.cc.
References detectorHitMap_, PSimHit::detUnitId(), PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::eventId(), PSimHit::momentumAtEntry(), PSimHit::particleType(), PSimHit::processType(), edm::DetSet< T >::push_back(), theME0DigiSimLinks_, PSimHit::timeOfFlight(), and PSimHit::trackId().
Referenced by fillDigis().
void ME0DigiModel::fillDigis | ( | int | rollDetId, |
ME0DigiCollection & | digis | ||
) |
Definition at line 5 of file ME0DigiModel.cc.
References addLinks(), addLinksWithPartId(), edmIntegrityCheck::d, and strips_.
Referenced by ME0DigiProducer::produce().
|
inline |
Definition at line 43 of file ME0DigiModel.h.
References GeneralSetup::setup().
Referenced by ME0DigiProducer::produce().
|
inline |
|
inline |
Definition at line 41 of file ME0DigiModel.h.
References relativeConstraints::geom.
Referenced by ME0DigiProducer::beginRun().
|
pure virtual |
Implemented in ME0SimpleModel.
Referenced by ME0DigiProducer::beginRun().
|
pure virtual |
Implemented in ME0SimpleModel.
|
pure virtual |
Implemented in ME0SimpleModel.
Referenced by ME0DigiProducer::produce().
|
pure virtual |
Implemented in ME0SimpleModel.
Referenced by ME0DigiProducer::produce().
|
inline |
|
protected |
Definition at line 78 of file ME0DigiModel.h.
Referenced by addLinks(), addLinksWithPartId(), and ME0SimpleModel::simulateSignal().
|
protected |
Definition at line 63 of file ME0DigiModel.h.
Referenced by ME0SimpleModel::getSimHitBx().
|
protected |
Definition at line 79 of file ME0DigiModel.h.
Referenced by addLinks(), and ME0SimpleModel::simulateSignal().
|
protected |
Definition at line 65 of file ME0DigiModel.h.
Referenced by fillDigis(), ME0SimpleModel::simulateNoise(), and ME0SimpleModel::simulateSignal().
|
protected |
Definition at line 80 of file ME0DigiModel.h.
Referenced by addLinksWithPartId(), and ME0SimpleModel::simulateSignal().