ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4SDKineticEnergyFilter Class Reference

#include <geant4/tree/geant4-10.6-release/source/digits_hits/scorer/include/G4SDKineticEnergyFilter.hh>

+ Inheritance diagram for G4SDKineticEnergyFilter:
+ Collaboration diagram for G4SDKineticEnergyFilter:

Public Member Functions

 G4SDKineticEnergyFilter (G4String name, G4double elow=0.0, G4double ehigh=DBL_MAX)
 
virtual ~G4SDKineticEnergyFilter ()
 
virtual G4bool Accept (const G4Step *) const
 
void SetKineticEnergy (G4double elow, G4double ehigh)
 
void SetLowEnergy (G4double elow)
 
void SetHighEnergy (G4double ehigh)
 
void show ()
 
- Public Member Functions inherited from G4VSDFilter
 G4VSDFilter (G4String name)
 
virtual ~G4VSDFilter ()
 
G4String GetName () const
 

Private Attributes

G4double fLowEnergy
 
G4double fHighEnergy
 

Additional Inherited Members

- Protected Attributes inherited from G4VSDFilter
G4String filterName
 

Detailed Description

Definition at line 50 of file G4SDKineticEnergyFilter.hh.

View newest version in sPHENIX GitHub at line 50 of file G4SDKineticEnergyFilter.hh

Constructor & Destructor Documentation

G4SDKineticEnergyFilter::G4SDKineticEnergyFilter ( G4String  name,
G4double  elow = 0.0,
G4double  ehigh = DBL_MAX 
)

Definition at line 43 of file G4SDKineticEnergyFilter.cc.

View newest version in sPHENIX GitHub at line 43 of file G4SDKineticEnergyFilter.cc

G4SDKineticEnergyFilter::~G4SDKineticEnergyFilter ( )
virtual

Definition at line 49 of file G4SDKineticEnergyFilter.cc.

View newest version in sPHENIX GitHub at line 49 of file G4SDKineticEnergyFilter.cc

Member Function Documentation

G4bool G4SDKineticEnergyFilter::Accept ( const G4Step aStep) const
virtual

Implements G4VSDFilter.

Definition at line 52 of file G4SDKineticEnergyFilter.cc.

View newest version in sPHENIX GitHub at line 52 of file G4SDKineticEnergyFilter.cc

References FALSE, fHighEnergy, fLowEnergy, G4StepPoint::GetKineticEnergy(), G4Step::GetPreStepPoint(), and TRUE.

Referenced by G4SDParticleWithEnergyFilter::Accept().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SDKineticEnergyFilter::SetHighEnergy ( G4double  ehigh)
void G4SDKineticEnergyFilter::SetKineticEnergy ( G4double  elow,
G4double  ehigh 
)

Definition at line 60 of file G4SDKineticEnergyFilter.cc.

View newest version in sPHENIX GitHub at line 60 of file G4SDKineticEnergyFilter.cc

References fHighEnergy, and fLowEnergy.

Referenced by G4SDParticleWithEnergyFilter::SetKineticEnergy().

+ Here is the caller graph for this function:

void G4SDKineticEnergyFilter::SetLowEnergy ( G4double  elow)
void G4SDKineticEnergyFilter::show ( )

Definition at line 65 of file G4SDKineticEnergyFilter.cc.

View newest version in sPHENIX GitHub at line 65 of file G4SDKineticEnergyFilter.cc

References fHighEnergy, fLowEnergy, G4BestUnit, G4cout, G4endl, and G4VSDFilter::GetName().

Referenced by G4SDParticleWithEnergyFilter::show().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4SDKineticEnergyFilter::fHighEnergy
private

Definition at line 74 of file G4SDKineticEnergyFilter.hh.

View newest version in sPHENIX GitHub at line 74 of file G4SDKineticEnergyFilter.hh

Referenced by Accept(), SetKineticEnergy(), and show().

G4double G4SDKineticEnergyFilter::fLowEnergy
private

Definition at line 73 of file G4SDKineticEnergyFilter.hh.

View newest version in sPHENIX GitHub at line 73 of file G4SDKineticEnergyFilter.hh

Referenced by Accept(), SetKineticEnergy(), and show().


The documentation for this class was generated from the following files: