Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef G4CALOPROTOTYPE_PHG4PROTOTYPE3INNERHCALSTEPPINGACTION_H
0004 #define G4CALOPROTOTYPE_PHG4PROTOTYPE3INNERHCALSTEPPINGACTION_H
0005 
0006 #include <g4main/PHG4SteppingAction.h>
0007 
0008 class G4Step;
0009 class PHCompositeNode;
0010 class PHG4Hit;
0011 class PHG4HitContainer;
0012 class PHG4Prototype3InnerHcalDetector;
0013 class PHG4Shower;
0014 class PHParameters;
0015 
0016 class PHG4Prototype3InnerHcalSteppingAction : public PHG4SteppingAction
0017 {
0018  public:
0019   //! constructor
0020   PHG4Prototype3InnerHcalSteppingAction(PHG4Prototype3InnerHcalDetector *, const PHParameters *parameters);
0021 
0022   //! dtor
0023   virtual ~PHG4Prototype3InnerHcalSteppingAction();
0024 
0025   //! stepping action
0026   bool UserSteppingAction(const G4Step *, bool);
0027 
0028   //! reimplemented from base class
0029   void SetInterfacePointers(PHCompositeNode *);
0030 
0031  private:
0032   //! pointer to the detector
0033   PHG4Prototype3InnerHcalDetector *m_Detector;
0034 
0035   //! pointer to hit container
0036   PHG4HitContainer *m_HitContainer;
0037   PHG4HitContainer *m_AbsorberHitContainer;
0038   PHG4Hit *m_Hit;
0039   const PHParameters *m_Params;
0040   PHG4HitContainer *m_SaveHitContainer;
0041   PHG4Shower *m_SaveShower;
0042   // since getting parameters is a map search we do not want to
0043   // do this in every step, the parameters used are cached
0044   // in the following variables
0045   int m_AbsorberTruth;
0046   int m_IsActive;
0047   int m_IsBlackHole;
0048   int m_LightScintModel;
0049 
0050 };
0051 
0052 #endif  // G4DETECTORS_PHG4PROTOTYPE2INNERHCALSTEPPINGACTION_H