CMS 3D CMS Logo

BHMSensitiveDetectorBuilder.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 
22  std::unique_ptr<SensitiveDetector> make(const std::string& iname,
23  const SensitiveDetectorCatalog& clg,
24  const edm::ParameterSet& p,
25  const SimTrackManager* man,
26  SimActivityRegistry& reg) const final {
27  auto sd = std::make_unique<BHMSD>(iname, clg, p, man);
29  return sd;
30  }
31 };
32 
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
std::unique_ptr< SensitiveDetector > make(const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const final
static void enroll(SimActivityRegistry &iReg, T *iObj)
#define DEFINE_SENSITIVEDETECTORBUILDER(type, name)
BHMSensitiveDetectorBuilder(edm::ParameterSet const &p, edm::ConsumesCollector cc)
void beginRun(const edm::EventSetup &es) final
BHMSD BHMSensitiveDetector
Definition: BHMSD.h:16