Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:27

0001 #ifndef LaserAlignmentSimulation_LaserSteppingAction_H
0002 #define LaserAlignmentSimulation_LaserSteppingAction_H
0003 
0004 /** \class LaserSteppingAction
0005  *  Class for the Stepping action
0006  *
0007  *  $Date: 2007/03/20 12:00:59 $
0008  *  $Revision: 1.2 $
0009  *  \author Maarten Thomas
0010  */
0011 
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 
0014 #include "G4SteppingManager.hh"
0015 
0016 class LaserSteppingAction : public G4UserSteppingAction {
0017 public:
0018   /// constructor
0019   LaserSteppingAction(edm::ParameterSet const &theConf);
0020   /// destructor
0021   ~LaserSteppingAction() override;
0022   /// stepping action: set energydeposit when a photon is absorbed in a Si
0023   /// module
0024   void UserSteppingAction(const G4Step *myStep) override;
0025 
0026 private:
0027   int theDebugLevel;
0028   double theEnergyLossScalingFactor;
0029 };
0030 #endif