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

00001 /*
00002   Stacking Action - action performed before particles pushed to the stack
00003 
00004 */
00005 
00006 
00007 #ifndef __BDSSTACKING_ACTION__
00008 #define __BDSSTACKING_ACTION__
00009 
00010 #include "globals.hh"
00011 #include "G4UserStackingAction.hh"
00012 
00013 class G4Track;
00014 
00015 class BDSStackingAction : public G4UserStackingAction
00016 {
00017   public:
00018     BDSStackingAction();
00019     virtual ~BDSStackingAction();
00020 
00021   public:
00022   virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track* aTrack);
00023   virtual void NewStage();
00024   virtual void PrepareNewEvent();
00025   void countPhoton(const G4Track* aTrack);  
00026  };
00027 
00028 #endif
00029 

Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7