00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef BDSDumpSD_h
00015 #define BDSDumpSD_h
00016
00017 #include "G4VSensitiveDetector.hh"
00018
00019 class G4Step;
00020 class G4HCofThisEvent;
00021 class G4TouchableHistory;
00022
00023 class BDSDumpSD : public G4VSensitiveDetector
00024 {
00025
00026 public:
00027 BDSDumpSD(G4String name, G4String type);
00028 ~BDSDumpSD();
00029
00030 void SetType(G4String aType);
00031
00032 virtual void Initialize(G4HCofThisEvent*HCE);
00033 virtual G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist);
00034
00035 private:
00036 G4String itsType;
00037 G4String itsCollectionName;
00038 };
00039
00040 inline void BDSDumpSD::SetType(G4String aType)
00041 {itsType=aType;}
00042
00043 #endif
00044