CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions
SensitiveDetectorMakerBase Class Referenceabstract

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

Inheritance diagram for SensitiveDetectorMakerBase:
SensitiveDetectorMaker< T >

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 =0
 
 SensitiveDetectorMakerBase ()
 
virtual ~SensitiveDetectorMakerBase ()
 

Protected Member Functions

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
 

Private Member Functions

const SensitiveDetectorMakerBaseoperator= (const SensitiveDetectorMakerBase &)
 
 SensitiveDetectorMakerBase (const SensitiveDetectorMakerBase &)
 

Detailed Description

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

Usage: <usage>

Definition at line 36 of file SensitiveDetectorMakerBase.h.

Constructor & Destructor Documentation

SensitiveDetectorMakerBase::SensitiveDetectorMakerBase ( )
inline

Definition at line 40 of file SensitiveDetectorMakerBase.h.

40 {}
virtual SensitiveDetectorMakerBase::~SensitiveDetectorMakerBase ( )
inlinevirtual
SensitiveDetectorMakerBase::SensitiveDetectorMakerBase ( const SensitiveDetectorMakerBase )
private

Member Function Documentation

void SensitiveDetectorMakerBase::convertTo ( SensitiveTkDetector iFrom,
std::auto_ptr< SensitiveTkDetector > &  oTo,
std::auto_ptr< SensitiveCaloDetector > &   
) const
inlineprotected

Definition at line 59 of file SensitiveDetectorMakerBase.h.

Referenced by SensitiveDetectorMaker< T >::make().

61  {
62  oTo= std::auto_ptr<SensitiveTkDetector>(iFrom);
63  }
void SensitiveDetectorMakerBase::convertTo ( SensitiveCaloDetector iFrom,
std::auto_ptr< SensitiveTkDetector > &  ,
std::auto_ptr< SensitiveCaloDetector > &  oTo 
) const
inlineprotected

Definition at line 64 of file SensitiveDetectorMakerBase.h.

66  {
67  oTo=std::auto_ptr<SensitiveCaloDetector>(iFrom);
68  }
virtual void SensitiveDetectorMakerBase::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
pure virtual

Implemented in SensitiveDetectorMaker< T >.

const SensitiveDetectorMakerBase& SensitiveDetectorMakerBase::operator= ( const SensitiveDetectorMakerBase )
private