#include <CSCDigitizer.h>
Public Types | |
typedef edm::DetSetVector< StripDigiSimLink > | DigiSimLinks |
Public Member Functions | |
CSCDigitizer (const CSCDigitizer &)=delete | |
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 *) |
CSCDigitizer & | operator= (const CSCDigitizer &)=delete |
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 40 of file CSCDigitizer.h.
Definition at line 42 of file CSCDigitizer.h.
CSCDigitizer::~CSCDigitizer | ( | ) |
Definition at line 30 of file CSCDigitizer.cc.
References theDriftSim, theNeutronReader, theStripElectronicsSim, theStripHitSim, theWireElectronicsSim, and theWireHitSim.
|
delete |
|
explicit |
configurable parameters
Definition at line 15 of file CSCDigitizer.cc.
References AlCaHLTBitMon_ParallelJobs::p, and theNeutronReader.
void CSCDigitizer::doAction | ( | MixCollection< PSimHit > & | simHits, |
CSCWireDigiCollection & | wireDigis, | ||
CSCStripDigiCollection & | stripDigis, | ||
CSCComparatorDigiCollection & | comparators, | ||
DigiSimLinks & | wireDigiSimLinks, | ||
DigiSimLinks & | stripDigiSimLinks, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
digitize
Definition at line 39 of file CSCDigitizer.cc.
References CSCNeutronReader::addHits(), relativeConstraints::cham, dtT0FillChamberFromDBCorrection_cfg::chamberId, CSCDetId::chamberId(), hcalRecHitTable_cff::detId, CSCBaseElectronicsSim::digiSimLinks(), digitizeBadChambers_, CSCWireElectronicsSim::fillDigis(), CSCStripElectronicsSim::fillDigis(), CSCStripElectronicsSim::fillMissingLayer(), findLayer(), edm::DetSetVector< T >::insert(), CSCStripConditions::isInBadChamber(), nano_mu_digi_cff::layer, CSCDetId::layer(), layersMissing(), relativeConstraints::ring, FastTrackerRecHitCombiner_cfi::simHits, CSCStripHitSim::simulate(), CSCWireHitSim::simulate(), CSCBaseElectronicsSim::simulate(), 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 185 of file CSCDigitizer.cc.
References cms::cuda::assert(), hcalRecHitTable_cff::detId, Exception, CSCGeometry::idToDetUnit(), and theCSCGeometry.
Referenced by doAction().
|
private |
finds which layers, 1-6, aren't in the current list
Definition at line 139 of file CSCDigitizer.cc.
References dtT0FillChamberFromDBCorrection_cfg::chamberId, CSCDetId::chamberId(), mps_fire::i, dqmiolumiharvest::j, CSCDetId::layer(), genParticles_cff::map, mps_fire::result, DBoxMetadataHelper::set_difference(), and theLayersNeeded.
Referenced by doAction().
|
delete |
|
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 176 of file CSCDigitizer.cc.
References CSCDriftSim::setMagneticField(), and theDriftSim.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setParticleDataTable | ( | const ParticleDataTable * | pdt | ) |
Definition at line 183 of file CSCDigitizer.cc.
References CSCWireHitSim::setParticleDataTable(), and theWireHitSim.
Referenced by CSCDigiProducer::produce().
void CSCDigitizer::setStripConditions | ( | CSCStripConditions * | cond | ) |
Definition at line 178 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().