#include <SimG4Core/SensitiveDetector/interface/SensitiveDetectorMaker.h>
Public Member Functions | |
virtual void | make (const std::string &iname, const DDCompactView &cpv, SensitiveDetectorCatalog &clg, const edm::ParameterSet &p, const SimTrackManager *m, SimActivityRegistry ®, std::auto_ptr< SensitiveTkDetector > &oTK, std::auto_ptr< SensitiveCaloDetector > &oCalo) const |
SensitiveDetectorMaker () | |
Private Member Functions | |
const SensitiveDetectorMaker & | operator= (const SensitiveDetectorMaker &) |
SensitiveDetectorMaker (const SensitiveDetectorMaker &) |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 32 of file SensitiveDetectorMaker.h.
SensitiveDetectorMaker< T >::SensitiveDetectorMaker | ( | ) | [inline] |
Definition at line 36 of file SensitiveDetectorMaker.h.
{}
SensitiveDetectorMaker< T >::SensitiveDetectorMaker | ( | const SensitiveDetectorMaker< T > & | ) | [private] |
virtual void SensitiveDetectorMaker< T >::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 [inline, virtual] |
Implements SensitiveDetectorMakerBase.
Definition at line 40 of file SensitiveDetectorMaker.h.
References SensitiveDetectorMakerBase::convertTo(), and SimActivityRegistryEnroller::enroll().
{ std::auto_ptr<T> returnValue(new T(iname, cpv, clg, p, m)); SimActivityRegistryEnroller::enroll(reg, returnValue.get()); this->convertTo(returnValue.get(), oTK,oCalo); //ownership was passed in the previous function returnValue.release(); }
const SensitiveDetectorMaker& SensitiveDetectorMaker< T >::operator= | ( | const SensitiveDetectorMaker< T > & | ) | [private] |