#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) | |
virtual int | detId (int chamberIndex, int localDetId) |
int | localDetId (int globalDetId) const |
virtual | ~CSCNeutronReader () |
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.
|
inlinevirtual |
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 hcalTTPDigis_cfi::id, relativeConstraints::ring, relativeConstraints::station, and CSCChamberSpecs::whatChamberType().
Referenced by addHits().
|
virtual |
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().