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