CMS 3D CMS Logo

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

#include <SensitiveDetectorMaker.h>

Inheritance diagram for SensitiveDetectorMaker< T >:
SensitiveDetectorMakerBase

Public Member Functions

SensitiveDetectormake (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *man, SimActivityRegistry &reg) const override
 
 SensitiveDetectorMaker ()
 
- Public Member Functions inherited from SensitiveDetectorMakerBase
 SensitiveDetectorMakerBase ()
 
virtual ~SensitiveDetectorMakerBase ()
 

Private Member Functions

const SensitiveDetectorMakeroperator= (const SensitiveDetectorMaker &)=delete
 
 SensitiveDetectorMaker (const SensitiveDetectorMaker &)=delete
 

Detailed Description

template<class T>
class SensitiveDetectorMaker< T >

Definition at line 31 of file SensitiveDetectorMaker.h.

Constructor & Destructor Documentation

template<class T >
SensitiveDetectorMaker< T >::SensitiveDetectorMaker ( )
inlineexplicit

Definition at line 34 of file SensitiveDetectorMaker.h.

34 {};
template<class T >
SensitiveDetectorMaker< T >::SensitiveDetectorMaker ( const SensitiveDetectorMaker< T > &  )
privatedelete

Member Function Documentation

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

Implements SensitiveDetectorMakerBase.

Definition at line 37 of file SensitiveDetectorMaker.h.

References SimActivityRegistryEnroller::enroll(), and sd.

43  {
44  T* sd = new T(iname, cpv, clg, p, man);
46  return static_cast<SensitiveDetector*>(sd);
47  };
static void enroll(SimActivityRegistry &iReg, T *iObj)
double sd
long double T
template<class T >
const SensitiveDetectorMaker& SensitiveDetectorMaker< T >::operator= ( const SensitiveDetectorMaker< T > &  )
privatedelete