#include <CSCNeutronReader.h>
Public Member Functions | |
void | addHits (std::map< int, edm::PSimHitContainer > &hitMap, CLHEP::HepRandomEngine *) |
int | chamberId (int globalDetId) const |
int | chamberType (int globalDetId) const |
CSCNeutronReader (const edm::ParameterSet &pset) | |
int | detId (int chamberIndex, int localDetId) override |
int | localDetId (int globalDetId) const |
~CSCNeutronReader () override | |
Public Member Functions inherited from SubsystemNeutronReader | |
void | clear () |
void | generateChamberNoise (int chamberType, int chamberIndex, edm::PSimHitContainer &result, CLHEP::HepRandomEngine *) |
SubsystemNeutronReader (const edm::ParameterSet &pset) | |
virtual | ~SubsystemNeutronReader () |
Additional Inherited Members |
Definition at line 10 of file CSCNeutronReader.h.
|
inline |
Definition at line 12 of file CSCNeutronReader.h.
|
inlineoverride |
Definition at line 13 of file CSCNeutronReader.h.
void CSCNeutronReader::addHits | ( | std::map< int, edm::PSimHitContainer > & | hitMap, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 6 of file CSCNeutronReader.cc.
References chamberId(), chamberType(), spr::find(), and SubsystemNeutronReader::generateChamberNoise().
Referenced by CSCDigitizer::doAction().
int CSCNeutronReader::chamberId | ( | int | globalDetId | ) | const |
Definition at line 45 of file CSCNeutronReader.cc.
References CSCDetId::chamberId(), and DetId::rawId().
Referenced by addHits().
int CSCNeutronReader::chamberType | ( | int | globalDetId | ) | const |
Definition at line 40 of file CSCNeutronReader.cc.
References EcalPhiSymFlatTableProducers_cfi::id, relativeConstraints::ring, relativeConstraints::station, and CSCChamberSpecs::whatChamberType().
Referenced by addHits().
|
overridevirtual |
detector-specific way to get the global detector ID, given the local one.
Implements SubsystemNeutronReader.
Definition at line 33 of file CSCNeutronReader.cc.
References localDetId().
int CSCNeutronReader::localDetId | ( | int | globalDetId | ) | const |
Definition at line 38 of file CSCNeutronReader.cc.
References CSCDetId::layer().
Referenced by detId().