#include <CSCNeutronReader.h>
Public Member Functions | |
void | addHits (std::map< int, edm::PSimHitContainer > &hitMap) |
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) |
void | setRandomEngine (CLHEP::HepRandomEngine &engine) |
SubsystemNeutronReader (const edm::ParameterSet &pset) | |
virtual | ~SubsystemNeutronReader () |
Additional Inherited Members |
Definition at line 6 of file CSCNeutronReader.h.
|
inline |
Definition at line 9 of file CSCNeutronReader.h.
|
inlinevirtual |
Definition at line 11 of file CSCNeutronReader.h.
void CSCNeutronReader::addHits | ( | std::map< int, edm::PSimHitContainer > & | hitMap | ) |
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 |
int CSCNeutronReader::chamberType | ( | int | globalDetId | ) | const |
Definition at line 50 of file CSCNeutronReader.cc.
References errorMatrix2Lands_multiChannel::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 |