1 #ifndef TrackAssociator_PreshowerDetIdAssociator_h 2 #define TrackAssociator_PreshowerDetIdAssociator_h 1 29 const char*
name()
const override {
return "Preshower"; }
32 void getValidDetIds(
unsigned int subDetectorIndex, std::vector<DetId>& validIds)
const override {
33 if (subDetectorIndex != 0)
34 throw cms::Exception(
"FatalError") <<
"Preshower has only one sub-detector for geometry. Abort.";
PreshowerDetIdAssociator()
const char * name() const override
const CaloGeometry * geometry_
std::vector< DetId > getValidDetIds() const
Get the list of all valid detector ids.
void getValidDetIds(unsigned int subDetectorIndex, std::vector< DetId > &validIds) const override