CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, 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 37 of file SensitiveDetectorMakerBase.h.

Constructor & Destructor Documentation

SensitiveDetectorMakerBase::SensitiveDetectorMakerBase ( )
inline

Definition at line 41 of file SensitiveDetectorMakerBase.h.

41 {}
virtual SensitiveDetectorMakerBase::~SensitiveDetectorMakerBase ( )
inlinevirtual

Definition at line 42 of file SensitiveDetectorMakerBase.h.

42 {}
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 60 of file SensitiveDetectorMakerBase.h.

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

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

Definition at line 65 of file SensitiveDetectorMakerBase.h.

67  {
68  oTo=std::auto_ptr<SensitiveCaloDetector>(iFrom);
69  }
virtual void SensitiveDetectorMakerBase::make ( const std::string &  iname,
const DDCompactView cpv,
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