CMS 3D CMS Logo

HFWedgeSensitiveDetectorBuilder.cc
Go to the documentation of this file.
1 // system include files
2 
3 // user include files
7 
9 
15 
17 public:
19 
20  void beginRun(const edm::EventSetup& es) final {}
21  std::unique_ptr<SensitiveDetector> make(const std::string& iname,
22  const SensitiveDetectorCatalog& clg,
23  const edm::ParameterSet& p,
24  const SimTrackManager* man,
25  SimActivityRegistry& reg) const final {
26  auto sd = std::make_unique<HFWedgeSD>(iname, clg, man);
28  return sd;
29  }
30 };
31 
void beginRun(const edm::EventSetup &es) final
static void enroll(SimActivityRegistry &iReg, T *iObj)
#define DEFINE_SENSITIVEDETECTORBUILDER(type, name)
HFWedgeSD HFWedgeSensitiveDetector
HFWedgeSensitiveDetectorBuilder(edm::ParameterSet const &p, edm::ConsumesCollector cc)
std::unique_ptr< SensitiveDetector > make(const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const final