1 #ifndef SensitiveDetector_SensitiveDetectorMaker_h
2 #define SensitiveDetector_SensitiveDetectorMaker_h
45 std::auto_ptr<SensitiveTkDetector>& oTK,
46 std::auto_ptr<SensitiveCaloDetector>& oCalo)
const
48 std::auto_ptr<T> returnValue(
new T(iname, cpv, clg, p, m));
51 this->
convertTo(returnValue.get(), oTK,oCalo);
53 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, const 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 &)