/home/cern/BDSIM_new/include/BDSEnergyCounterSD.hh

00001 /* BDSIM code.    Version 1.0
00002    Author: Grahame A. Blair, Royal Holloway, Univ. of London.
00003    Last modified 24.7.2002
00004    Copyright (c) 2002 by G.A.Blair.  ALL RIGHTS RESERVED. 
00005 */
00006 
00007 #ifndef BDSEnergyCounterSD_h
00008 #define BDSEnergyCounterSD_h 1
00009 
00010 #include "G4VSensitiveDetector.hh"
00011 #include "BDSEnergyCounterHit.hh"
00012 #include "G4Navigator.hh"
00013 #include "G4TransportationManager.hh"
00014 
00015 class G4Step;
00016 class G4HCofThisEvent;
00017 class G4TouchableHistory;
00018 
00019 class BDSEnergyCounterSD : public G4VSensitiveDetector
00020 {
00021 
00022 public:
00023   BDSEnergyCounterSD(G4String name);
00024   ~BDSEnergyCounterSD();
00025 
00026   void Initialize(G4HCofThisEvent*HCE);
00027   G4bool ProcessHits(G4Step*aStep,G4TouchableHistory*ROhist);
00028   void EndOfEvent(G4HCofThisEvent*HCE);
00029   void clear();
00030   void DrawAll();
00031   void PrintAll();
00032                
00033 
00034 private:
00035   BDSEnergyCounterHitsCollection *BDSEnergyCounterCollection;
00036   G4int* HitID;
00037   G4int nMaxCopy;
00038   
00039 };
00040 
00041 
00042 
00043 #endif
00044 

Generated on Wed Mar 5 17:25:21 2008 for BDSIM by  doxygen 1.5.3