/scratch0/jsnuveri/BDSIM/BDSIMgit/bdsim/include/BDSDumpSD.hh

00001 //  
00002 //   BDSIM, (C) 2001-2007
00003 //    
00004 //   version 0.3 
00005 //   last modified : 08 May 2007 by agapov@pp.rhul.ac.uk
00006 //  
00007 
00008 
00009 //
00010 //    beam dumper/reader for online exchange - Sensitive Detector
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 

Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7