Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:50:30

0001 #pragma once
0002 /**
0003 ShimG4OpAbsorption
0004 ====================
0005 
0006 G4OpAbsorption : public G4VDiscreteProcess
0007 
0008 **/
0009 
0010 #include "plog/Severity.h"
0011 #include "G4OpAbsorption.hh"
0012 #include "U4_API_EXPORT.hh"
0013 
0014 class U4_API ShimG4OpAbsorption : public G4OpAbsorption 
0015 {
0016 
0017         static const plog::Severity LEVEL ; 
0018     public:
0019         ShimG4OpAbsorption(const G4String& processName = "OpAbsorption",
0020                                 G4ProcessType type = fOptical);
0021        ~ShimG4OpAbsorption();
0022 
0023         static const bool FLOAT ; 
0024         static const int  PIDX ; 
0025         static const bool PIDX_ENABLED ;
0026  
0027         void ResetNumberOfInteractionLengthLeft(); 
0028         G4double GetMeanFreePath(const G4Track& aTrack,
0029                  G4double ,
0030                  G4ForceCondition* );
0031 
0032       G4double PostStepGetPhysicalInteractionLength(
0033                              const G4Track& track,
0034                  G4double   previousStepSize,
0035                  G4ForceCondition* condition
0036                 );  
0037 
0038 };
0039