CMS 3D CMS Logo

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

#include <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 *man, 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 &)=delete
 
 SensitiveDetectorMakerBase (const SensitiveDetectorMakerBase &)=delete
 

Detailed Description

Definition at line 28 of file SensitiveDetectorMakerBase.h.

Constructor & Destructor Documentation

SensitiveDetectorMakerBase::SensitiveDetectorMakerBase ( )
inline

Definition at line 32 of file SensitiveDetectorMakerBase.h.

32 {}
virtual SensitiveDetectorMakerBase::~SensitiveDetectorMakerBase ( )
inlinevirtual
SensitiveDetectorMakerBase::SensitiveDetectorMakerBase ( const SensitiveDetectorMakerBase )
privatedelete

Member Function Documentation

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

Definition at line 47 of file SensitiveDetectorMakerBase.h.

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

49  {
50  oTo = std::auto_ptr<SensitiveTkDetector>(iFrom);
51  }
void SensitiveDetectorMakerBase::convertTo ( SensitiveCaloDetector iFrom,
std::auto_ptr< SensitiveTkDetector ,
std::auto_ptr< SensitiveCaloDetector > &  oTo 
) const
inlineprotected

Definition at line 53 of file SensitiveDetectorMakerBase.h.

55  {
56  oTo = std::auto_ptr<SensitiveCaloDetector>(iFrom);
57  }
virtual void SensitiveDetectorMakerBase::make ( const std::string &  iname,
const DDCompactView cpv,
const SensitiveDetectorCatalog clg,
const edm::ParameterSet p,
const SimTrackManager man,
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 )
privatedelete