test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions
SensitiveDetectorMaker< T > Class Template Reference

#include <SimG4Core/SensitiveDetector/interface/SensitiveDetectorMaker.h>

Inheritance diagram for SensitiveDetectorMaker< T >:
SensitiveDetectorMakerBase

Public Member Functions

virtual void make (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *m, SimActivityRegistry &reg, std::auto_ptr< SensitiveTkDetector > &oTK, std::auto_ptr< SensitiveCaloDetector > &oCalo) const
 
 SensitiveDetectorMaker ()
 
- Public Member Functions inherited from SensitiveDetectorMakerBase
 SensitiveDetectorMakerBase ()
 
virtual ~SensitiveDetectorMakerBase ()
 

Private Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from SensitiveDetectorMakerBase
void convertTo (SensitiveTkDetector *iFrom, std::auto_ptr< SensitiveTkDetector > &oTo, std::auto_ptr< SensitiveCaloDetector > &) const
 
void convertTo (SensitiveCaloDetector *iFrom, std::auto_ptr< SensitiveTkDetector > &, std::auto_ptr< SensitiveCaloDetector > &oTo) const
 

Detailed Description

template<class T>
class SensitiveDetectorMaker< T >

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 31 of file SensitiveDetectorMaker.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file SensitiveDetectorMaker.h.

35 {}
template<class T >
SensitiveDetectorMaker< T >::SensitiveDetectorMaker ( const SensitiveDetectorMaker< T > &  )
private

Member Function Documentation

template<class T >
virtual void SensitiveDetectorMaker< T >::make ( const std::string &  iname,
const DDCompactView cpv,
const SensitiveDetectorCatalog clg,
const edm::ParameterSet p,
const SimTrackManager m,
SimActivityRegistry reg,
std::auto_ptr< SensitiveTkDetector > &  oTK,
std::auto_ptr< SensitiveCaloDetector > &  oCalo 
) const
inlinevirtual

Implements SensitiveDetectorMakerBase.

Definition at line 39 of file SensitiveDetectorMaker.h.

References SensitiveDetectorMakerBase::convertTo(), and SimActivityRegistryEnroller::enroll().

47  {
48  std::auto_ptr<T> returnValue(new T(iname, cpv, clg, p, m));
49  SimActivityRegistryEnroller::enroll(reg, returnValue.get());
50 
51  this->convertTo(returnValue.get(), oTK,oCalo);
52  //ownership was passed in the previous function
53  returnValue.release();
54  }
void convertTo(SensitiveTkDetector *iFrom, std::auto_ptr< SensitiveTkDetector > &oTo, std::auto_ptr< SensitiveCaloDetector > &) const
static void enroll(SimActivityRegistry &iReg, T *iObj)
long double T
template<class T >
const SensitiveDetectorMaker& SensitiveDetectorMaker< T >::operator= ( const SensitiveDetectorMaker< T > &  )
private