00001 #ifndef Forward_CastorSD_h 00002 #define Forward_CastorSD_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Forward 00006 // Class : CastorSD 00007 // 00016 // 00017 // Original Author: 00018 // Created: Tue May 16 10:14:34 CEST 2006 00019 // $Id: CastorSD.h,v 1.5 2007/06/19 22:16:43 sunanda Exp $ 00020 // 00021 00022 // system include files 00023 00024 // user include files 00025 00026 #include "SimG4CMS/Calo/interface/CaloSD.h" 00027 #include "SimG4CMS/Forward/interface/CastorNumberingScheme.h" 00028 00029 class CastorSD : public CaloSD { 00030 00031 public: 00032 00033 CastorSD(G4String, const DDCompactView &, SensitiveDetectorCatalog & clg, 00034 edm::ParameterSet const &, const SimTrackManager*); 00035 virtual ~CastorSD(); 00036 virtual double getEnergyDeposit(G4Step* ); 00037 virtual uint32_t setDetUnitId(G4Step* step); 00038 void setNumberingScheme(CastorNumberingScheme* scheme); 00039 00040 private: 00041 CastorNumberingScheme * numberingScheme; 00042 }; 00043 00044 #endif // CastorSD_h