#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 13 of file CSCNeutronReader.h.
|
inlineoverride |
Definition at line 15 of file CSCNeutronReader.h.
void CSCNeutronReader::addHits | ( | std::map< int, edm::PSimHitContainer > & | hitMap, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 7 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 57 of file CSCNeutronReader.cc.
References CSCDetId::chamberId(), and DetId::rawId().
Referenced by addHits().
int CSCNeutronReader::chamberType | ( | int | globalDetId | ) | const |
Definition at line 50 of file CSCNeutronReader.cc.
References triggerObjects_cff::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 37 of file CSCNeutronReader.cc.
References localDetId().
int CSCNeutronReader::localDetId | ( | int | globalDetId | ) | const |
Definition at line 44 of file CSCNeutronReader.cc.
References CSCDetId::layer().
Referenced by detId().