Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:20:43

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 // This is the steppingaction heaer file for the hcal prototype
0004 // created on 1/27/2014, Liang, HeXC
0005 //
0006 #ifndef G4CALOPROTOTYPE_PHG4HCALPROTOTYPESTEPPINGACTION_H
0007 #define G4CALOPROTOTYPE_PHG4HCALPROTOTYPESTEPPINGACTION_H
0008 
0009 #include "g4main/PHG4SteppingAction.h"
0010 
0011 class G4Step;
0012 class PHCompositeNode;
0013 class PHG4HcalPrototypeDetector;
0014 class PHG4Hit;
0015 class PHG4HitContainer;
0016 
0017 class PHG4HcalPrototypeSteppingAction : public PHG4SteppingAction
0018 {
0019 
0020   public:
0021 
0022   //! constructor
0023   PHG4HcalPrototypeSteppingAction( PHG4HcalPrototypeDetector* );
0024 
0025   //! destroctor
0026   virtual ~PHG4HcalPrototypeSteppingAction()
0027   {}
0028 
0029   //! stepping action
0030   virtual bool UserSteppingAction(const G4Step*, bool);
0031 
0032   //! reimplemented from base class
0033   virtual void SetInterfacePointers( PHCompositeNode* );
0034 
0035   private:
0036 
0037   //! pointer to the detector
0038   PHG4HcalPrototypeDetector* detector_;
0039 
0040   //! pointer to hit container
0041   PHG4HitContainer * hits_;
0042   PHG4HitContainer * absorberhits_;
0043   PHG4Hit *hit;
0044 };
0045 
0046 
0047 #endif // PHG4HcalPrototypeSteppingAction_h