CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions
CastorSensitiveDetectorBuilder Class Reference
Inheritance diagram for CastorSensitiveDetectorBuilder:
SensitiveDetectorMakerBase

Public Member Functions

void beginRun (const edm::EventSetup &es) final
 
 CastorSensitiveDetectorBuilder (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 CastorSensitiveDetectorBuilder.cc.

Constructor & Destructor Documentation

◆ CastorSensitiveDetectorBuilder()

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

Definition at line 18 of file CastorSensitiveDetectorBuilder.cc.

18 {}

Member Function Documentation

◆ beginRun()

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

Reimplemented from SensitiveDetectorMakerBase.

Definition at line 20 of file CastorSensitiveDetectorBuilder.cc.

20 {}

◆ make()

std::unique_ptr<SensitiveDetector> CastorSensitiveDetectorBuilder::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 22 of file CastorSensitiveDetectorBuilder.cc.

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

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