CMS 3D CMS Logo

List of all members | Public Member Functions
SensitiveDetectorMaker< T > Class Template Reference

#include <SensitiveDetectorMaker.h>

Inheritance diagram for SensitiveDetectorMaker< T >:
SensitiveDetectorMakerBase

Public Member Functions

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 override
 
const SensitiveDetectorMakeroperator= (const SensitiveDetectorMaker &)=delete
 
 SensitiveDetectorMaker (edm::ParameterSet const &, edm::ConsumesCollector)
 
 SensitiveDetectorMaker (const SensitiveDetectorMaker &)=delete
 
- Public Member Functions inherited from SensitiveDetectorMakerBase
virtual void beginRun (edm::EventSetup const &)
 
virtual std::unique_ptr< SensitiveDetectormake (const std::string &iname, 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

template<class T>
class SensitiveDetectorMaker< T >

Definition at line 32 of file SensitiveDetectorMaker.h.

Constructor & Destructor Documentation

◆ SensitiveDetectorMaker() [1/2]

template<class T >
SensitiveDetectorMaker< T >::SensitiveDetectorMaker ( edm::ParameterSet const &  ,
edm::ConsumesCollector   
)
inlineexplicit

Definition at line 34 of file SensitiveDetectorMaker.h.

34 {}

◆ SensitiveDetectorMaker() [2/2]

template<class T >
SensitiveDetectorMaker< T >::SensitiveDetectorMaker ( const SensitiveDetectorMaker< T > &  )
delete

Member Function Documentation

◆ make()

template<class T >
std::unique_ptr<SensitiveDetector> SensitiveDetectorMaker< T >::make ( const std::string &  iname,
const edm::EventSetup es,
const SensitiveDetectorCatalog clg,
const edm::ParameterSet p,
const SimTrackManager man,
SimActivityRegistry reg 
) const
inlineoverridevirtual

Reimplemented from SensitiveDetectorMakerBase.

Definition at line 39 of file SensitiveDetectorMaker.h.

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

44  {
45  auto sd = std::make_unique<T>(iname, es, clg, p, man);
47  return sd;
48  };
static void enroll(SimActivityRegistry &iReg, T *iObj)

◆ operator=()

template<class T >
const SensitiveDetectorMaker& SensitiveDetectorMaker< T >::operator= ( const SensitiveDetectorMaker< T > &  )
delete