CMS 3D CMS Logo

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

Public Member Functions

 EcalTBH4BeamDetectorBuilder (const edm::ParameterSet &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 void beginRun (edm::EventSetup const &)
 
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 17 of file EcalTBH4BeamDetectorBuilder.cc.

Constructor & Destructor Documentation

◆ EcalTBH4BeamDetectorBuilder()

EcalTBH4BeamDetectorBuilder::EcalTBH4BeamDetectorBuilder ( const edm::ParameterSet p,
edm::ConsumesCollector  cc 
)
inlineexplicit

Definition at line 19 of file EcalTBH4BeamDetectorBuilder.cc.

19 {}

Member Function Documentation

◆ make()

std::unique_ptr<SensitiveDetector> EcalTBH4BeamDetectorBuilder::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 EcalTBH4BeamDetectorBuilder.cc.

25  {
26  auto sd = std::make_unique<EcalTBH4BeamSD>(iname, clg, p, man);
28  return sd;
29  }

References SimActivityRegistryEnroller::enroll(), AlCaHLTBitMon_ParallelJobs::p, and sd.

AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
SimActivityRegistryEnroller::enroll
static void enroll(SimActivityRegistry &iReg, T *iObj)
Definition: SimActivityRegistryEnroller.h:50
sd
double sd
Definition: CascadeWrapper.h:113