#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, CLHEP::HepRandomEngine *) |
void | setGeometry (const CSCGeometry *geom) |
sets geometry More... | |
void | setMagneticField (const MagneticField *field) |
sets the magnetic field More... | |
void | setParticleDataTable (const ParticleDataTable *pdt) |
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 41 of file CSCDigitizer.h.
Definition at line 44 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, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
digitize
Definition at line 45 of file CSCDigitizer.cc.
References CSCNeutronReader::addHits(), MixCollection< T >::begin(), relativeConstraints::cham, 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, relativeConstraints::ring, 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 213 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 150 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 62 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 195 of file CSCDigitizer.cc.
References CSCDriftSim::setMagneticField(), and theDriftSim.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setParticleDataTable | ( | const ParticleDataTable * | pdt | ) |
Definition at line 207 of file CSCDigitizer.cc.
References CSCWireHitSim::setParticleDataTable(), and theWireHitSim.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setStripConditions | ( | CSCStripConditions * | cond | ) |
Definition at line 200 of file CSCDigitizer.cc.
References CSCStripElectronicsSim::setStripConditions(), theConditions, and theStripElectronicsSim.
Referenced by CSCDigiProducer::CSCDigiProducer().
|
private |
Definition at line 87 of file CSCDigitizer.h.
Referenced by doAction().
|
private |
Definition at line 85 of file CSCDigitizer.h.
Referenced by doAction(), and setStripConditions().
|
private |
Definition at line 84 of file CSCDigitizer.h.
Referenced by findLayer(), and setGeometry().
|
private |
Definition at line 78 of file CSCDigitizer.h.
Referenced by setMagneticField(), and ~CSCDigitizer().
|
private |
Definition at line 86 of file CSCDigitizer.h.
Referenced by doAction(), and layersMissing().
|
private |
Definition at line 83 of file CSCDigitizer.h.
Referenced by CSCDigitizer(), doAction(), and ~CSCDigitizer().
|
private |
Definition at line 82 of file CSCDigitizer.h.
Referenced by doAction(), setStripConditions(), and ~CSCDigitizer().
|
private |
Definition at line 80 of file CSCDigitizer.h.
Referenced by doAction(), and ~CSCDigitizer().
|
private |
Definition at line 81 of file CSCDigitizer.h.
Referenced by doAction(), and ~CSCDigitizer().
|
private |
Definition at line 79 of file CSCDigitizer.h.
Referenced by doAction(), setParticleDataTable(), and ~CSCDigitizer().