CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions

SensitiveDetectorMakerBase Class Reference

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

Inheritance diagram for SensitiveDetectorMakerBase:
SensitiveDetectorMaker< T >

List of all members.

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.

{}
virtual SensitiveDetectorMakerBase::~SensitiveDetectorMakerBase ( ) [inline, virtual]

Definition at line 42 of file SensitiveDetectorMakerBase.h.

{}
SensitiveDetectorMakerBase::SensitiveDetectorMakerBase ( const SensitiveDetectorMakerBase ) [private]

Member Function Documentation

void SensitiveDetectorMakerBase::convertTo ( SensitiveTkDetector iFrom,
std::auto_ptr< SensitiveTkDetector > &  oTo,
std::auto_ptr< SensitiveCaloDetector > &   
) const [inline, protected]

Definition at line 60 of file SensitiveDetectorMakerBase.h.

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

                                                                {
        oTo= std::auto_ptr<SensitiveTkDetector>(iFrom);
      }
void SensitiveDetectorMakerBase::convertTo ( SensitiveCaloDetector iFrom,
std::auto_ptr< SensitiveTkDetector > &  ,
std::auto_ptr< SensitiveCaloDetector > &  oTo 
) const [inline, protected]

Definition at line 65 of file SensitiveDetectorMakerBase.h.

                                                                    {
        oTo=std::auto_ptr<SensitiveCaloDetector>(iFrom);
      }
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]