1 #ifndef SensitiveDetector_SensitiveDetectorMaker_h
2 #define SensitiveDetector_SensitiveDetectorMaker_h
46 std::auto_ptr<SensitiveTkDetector>& oTK,
47 std::auto_ptr<SensitiveCaloDetector>& oCalo)
const
49 std::auto_ptr<T> returnValue(
new T(iname, cpv, clg, p, m));
52 this->
convertTo(returnValue.get(), oTK,oCalo);
54 returnValue.release();
void convertTo(SensitiveTkDetector *iFrom, std::auto_ptr< SensitiveTkDetector > &oTo, std::auto_ptr< SensitiveCaloDetector > &) const
type of data representation of DDCompactView
static void enroll(SimActivityRegistry &iReg, T *iObj)
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
const SensitiveDetectorMaker & operator=(const SensitiveDetectorMaker &)