CMS 3D CMS Logo

MtdSensitiveDetectorBuilder.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<MtdSD>(iname, clg, p, man);
29  return sd;
30  }
31 };
32 
SimTrackManager
Definition: SimTrackManager.h:35
MtdSensitiveDetectorBuilder::beginRun
void beginRun(const edm::EventSetup &es) final
Definition: MtdSensitiveDetectorBuilder.cc:20
ESGetToken.h
MtdSD
Definition: MtdSD.h:19
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
MtdSensitiveDetectorBuilder::MtdSensitiveDetectorBuilder
MtdSensitiveDetectorBuilder(edm::ParameterSet const &p, edm::ConsumesCollector cc)
Definition: MtdSensitiveDetectorBuilder.cc:18
MtdSD.h
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
MtdSensitiveDetectorBuilder
Definition: MtdSensitiveDetectorBuilder.cc:16
SensitiveDetectorMakerBase
Definition: SensitiveDetectorMakerBase.h:28
ModuleDef.h
SimActivityRegistryEnroller::enroll
static void enroll(SimActivityRegistry &iReg, T *iObj)
Definition: SimActivityRegistryEnroller.h:50
edm::EventSetup
Definition: EventSetup.h:58
cc
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MtdSensitiveDetector
MtdSD MtdSensitiveDetector
Definition: MtdSensitiveDetectorBuilder.cc:33
SimActivityRegistryEnroller.h
SimActivityRegistry
Definition: SimActivityRegistry.h:39
DEFINE_SENSITIVEDETECTORBUILDER
#define DEFINE_SENSITIVEDETECTORBUILDER(type, name)
Definition: SensitiveDetectorPluginFactory.h:21
EventSetup.h
sd
double sd
Definition: CascadeWrapper.h:113
ConsumesCollector.h
SensitiveDetectorPluginFactory.h
ParameterSet.h
SensitiveDetectorMakerBase.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
MtdSensitiveDetectorBuilder::make
std::unique_ptr< SensitiveDetector > make(const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const final
Definition: MtdSensitiveDetectorBuilder.cc:22