#include <CSCDigitizer.h>
Public Types | |
typedef edm::DetSetVector < StripDigiSimLink > | DigiSimLinks |
Public Member Functions | |
CSCDigitizer (const edm::ParameterSet &p) | |
configurable parameters More... | |
void | doAction (MixCollection< PSimHit > &simHits, CSCWireDigiCollection &wireDigis, CSCStripDigiCollection &stripDigis, CSCComparatorDigiCollection &comparators, DigiSimLinks &wireDigiSimLinks, DigiSimLinks &stripDigiSimLinks) |
void | setGeometry (const CSCGeometry *geom) |
sets geometry More... | |
void | setMagneticField (const MagneticField *field) |
sets the magnetic field More... | |
void | setParticleDataTable (const ParticleDataTable *pdt) |
void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
void | setStripConditions (CSCStripConditions *cond) |
~CSCDigitizer () | |
Private Member Functions | |
const CSCLayer * | findLayer (int detId) const |
finds the layer in the geometry associated with this det ID More... | |
std::list< int > | layersMissing (const CSCStripDigiCollection &stripDigis) const |
finds which layers, 1-6, aren't in the current list More... | |
Private Attributes | |
bool | digitizeBadChambers_ |
CSCStripConditions * | theConditions |
const CSCGeometry * | theCSCGeometry |
CSCDriftSim * | theDriftSim |
unsigned int | theLayersNeeded |
CSCNeutronReader * | theNeutronReader |
CSCStripElectronicsSim * | theStripElectronicsSim |
CSCStripHitSim * | theStripHitSim |
CSCWireElectronicsSim * | theWireElectronicsSim |
CSCWireHitSim * | theWireHitSim |
Digitizer class for endcap muon CSCs.
Definition at line 37 of file CSCDigitizer.h.
Definition at line 40 of file CSCDigitizer.h.
|
explicit |
configurable parameters
Definition at line 16 of file CSCDigitizer.cc.
References edm::ParameterSet::getParameter(), and theNeutronReader.
CSCDigitizer::~CSCDigitizer | ( | ) |
Definition at line 34 of file CSCDigitizer.cc.
References theDriftSim, theNeutronReader, theStripElectronicsSim, theStripHitSim, theWireElectronicsSim, and theWireHitSim.
void CSCDigitizer::doAction | ( | MixCollection< PSimHit > & | simHits, |
CSCWireDigiCollection & | wireDigis, | ||
CSCStripDigiCollection & | stripDigis, | ||
CSCComparatorDigiCollection & | comparators, | ||
DigiSimLinks & | wireDigiSimLinks, | ||
DigiSimLinks & | stripDigiSimLinks | ||
) |
digitize
Definition at line 45 of file CSCDigitizer.cc.
References CSCNeutronReader::addHits(), MixCollection< T >::begin(), CSCDetId::chamber(), CSCDetId::chamberId(), CSCDetId, CSCBaseElectronicsSim::digiSimLinks(), digitizeBadChambers_, MixCollection< T >::end(), CSCDetId::endcap(), CSCWireElectronicsSim::fillDigis(), CSCStripElectronicsSim::fillDigis(), CSCStripElectronicsSim::fillMissingLayer(), findLayer(), CSCLayer::id(), edm::DetSetVector< T >::insert(), CSCStripConditions::isInBadChamber(), CSCDetId::layer(), layersMissing(), LogTrace, CSCDetId::ring(), CSCStripHitSim::simulate(), CSCWireHitSim::simulate(), CSCBaseElectronicsSim::simulate(), CSCDetId::station(), theConditions, theLayersNeeded, theNeutronReader, theStripElectronicsSim, theStripHitSim, theWireElectronicsSim, and theWireHitSim.
Referenced by CSCDigiProducer::produce().
|
private |
finds the layer in the geometry associated with this det ID
Definition at line 199 of file CSCDigitizer.cc.
References CSCDetId, edm::hlt::Exception, CSCGeometry::idToDetUnit(), and theCSCGeometry.
Referenced by doAction().
|
private |
finds which layers, 1-6, aren't in the current list
Definition at line 127 of file CSCDigitizer.cc.
References CSCDetId::chamberId(), i, j, CSCDetId::layer(), python.multivaluedict::map(), query::result, and theLayersNeeded.
Referenced by doAction().
|
inline |
sets geometry
Definition at line 57 of file CSCDigitizer.h.
References relativeConstraints::geom, and theCSCGeometry.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setMagneticField | ( | const MagneticField * | field | ) |
sets the magnetic field
Definition at line 172 of file CSCDigitizer.cc.
References CSCDriftSim::setMagneticField(), and theDriftSim.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setParticleDataTable | ( | const ParticleDataTable * | pdt | ) |
Definition at line 184 of file CSCDigitizer.cc.
References CSCWireHitSim::setParticleDataTable(), and theWireHitSim.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setRandomEngine | ( | CLHEP::HepRandomEngine & | engine | ) |
Definition at line 190 of file CSCDigitizer.cc.
References SubsystemNeutronReader::setRandomEngine(), CSCWireHitSim::setRandomEngine(), CSCBaseElectronicsSim::setRandomEngine(), theNeutronReader, theStripElectronicsSim, theWireElectronicsSim, and theWireHitSim.
Referenced by CSCDigiProducer::CSCDigiProducer().
void CSCDigitizer::setStripConditions | ( | CSCStripConditions * | cond | ) |
Definition at line 177 of file CSCDigitizer.cc.
References CSCStripElectronicsSim::setStripConditions(), theConditions, and theStripElectronicsSim.
Referenced by CSCDigiProducer::CSCDigiProducer().
|
private |
Definition at line 84 of file CSCDigitizer.h.
Referenced by doAction().
|
private |
Definition at line 82 of file CSCDigitizer.h.
Referenced by doAction(), and setStripConditions().
|
private |
Definition at line 81 of file CSCDigitizer.h.
Referenced by findLayer(), and setGeometry().
|
private |
Definition at line 75 of file CSCDigitizer.h.
Referenced by setMagneticField(), and ~CSCDigitizer().
|
private |
Definition at line 83 of file CSCDigitizer.h.
Referenced by doAction(), and layersMissing().
|
private |
Definition at line 80 of file CSCDigitizer.h.
Referenced by CSCDigitizer(), doAction(), setRandomEngine(), and ~CSCDigitizer().
|
private |
Definition at line 79 of file CSCDigitizer.h.
Referenced by doAction(), setRandomEngine(), setStripConditions(), and ~CSCDigitizer().
|
private |
Definition at line 77 of file CSCDigitizer.h.
Referenced by doAction(), and ~CSCDigitizer().
|
private |
Definition at line 78 of file CSCDigitizer.h.
Referenced by doAction(), setRandomEngine(), and ~CSCDigitizer().
|
private |
Definition at line 76 of file CSCDigitizer.h.
Referenced by doAction(), setParticleDataTable(), setRandomEngine(), and ~CSCDigitizer().