CMS 3D CMS Logo

List of all members | Public Member Functions
HFWedgeSensitiveDetectorBuilder Class Reference
Inheritance diagram for HFWedgeSensitiveDetectorBuilder:
SensitiveDetectorMakerBase

Public Member Functions

void beginRun (const edm::EventSetup &es) final
 
 HFWedgeSensitiveDetectorBuilder (edm::ParameterSet const &p, edm::ConsumesCollector cc)
 
std::unique_ptr< SensitiveDetectormake (const std::string &iname, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const final
 
- Public Member Functions inherited from SensitiveDetectorMakerBase
virtual std::unique_ptr< SensitiveDetectormake (const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const
 
const SensitiveDetectorMakerBaseoperator= (const SensitiveDetectorMakerBase &)=delete
 
 SensitiveDetectorMakerBase ()=default
 
 SensitiveDetectorMakerBase (const SensitiveDetectorMakerBase &)=delete
 
virtual ~SensitiveDetectorMakerBase ()
 

Detailed Description

Definition at line 16 of file HFWedgeSensitiveDetectorBuilder.cc.

Constructor & Destructor Documentation

◆ HFWedgeSensitiveDetectorBuilder()

HFWedgeSensitiveDetectorBuilder::HFWedgeSensitiveDetectorBuilder ( edm::ParameterSet const &  p,
edm::ConsumesCollector  cc 
)
inlineexplicit

Definition at line 18 of file HFWedgeSensitiveDetectorBuilder.cc.

18 {}

Member Function Documentation

◆ beginRun()

void HFWedgeSensitiveDetectorBuilder::beginRun ( const edm::EventSetup es)
inlinefinalvirtual

Reimplemented from SensitiveDetectorMakerBase.

Definition at line 20 of file HFWedgeSensitiveDetectorBuilder.cc.

20 {}

◆ make()

std::unique_ptr<SensitiveDetector> HFWedgeSensitiveDetectorBuilder::make ( const std::string &  iname,
const SensitiveDetectorCatalog clg,
const edm::ParameterSet p,
const SimTrackManager man,
SimActivityRegistry reg 
) const
inlinefinalvirtual

Reimplemented from SensitiveDetectorMakerBase.

Definition at line 21 of file HFWedgeSensitiveDetectorBuilder.cc.

References SimActivityRegistryEnroller::enroll().

25  {
26  auto sd = std::make_unique<HFWedgeSD>(iname, clg, man);
28  return sd;
29  }
static void enroll(SimActivityRegistry &iReg, T *iObj)