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

This class defines the user stepping action for the ePHENIX RICH volumes within Fun4All. More...

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4rich/PHG4RICHSteppingAction.h>

+ Inheritance diagram for PHG4RICHSteppingAction:
+ Collaboration diagram for PHG4RICHSteppingAction:

Public Member Functions

 PHG4RICHSteppingAction (PHG4RICHDetector *)
 
virtual ~PHG4RICHSteppingAction ()
 
virtual void UserSteppingAction (const G4Step *)
 
virtual void SetInterfacePointers (PHCompositeNode *)
 

Private Member Functions

bool MakeHit (const G4Step *aStep)
 

Private Attributes

PHG4RICHDetectordetector_
 
PHG4HitContainerhits_
 
PHG4Hithit
 
G4OpBoundaryProcessStatus fExpectedNextStatus
 

Detailed Description

This class defines the user stepping action for the ePHENIX RICH volumes within Fun4All.

Optical photons can be absorbed/detected at the optical surface of the photocathode. The efficiency for detection is a parameter of this optical surface defined during detector construction (set in ePHENIXRICH::RICH_Geometry). The x,y,z positions of where the photons are detected are stored in a PHG4Hits collection.

See Also
ePHENIXRICH::RICH_Geometry
ePHENIXRICH::ePHENIXRICHConstruction
PHG4RICHDetector
PHG4RICHSteppingAction
PHG4RICHSubsystem

Definition at line 42 of file PHG4RICHSteppingAction.h.

View newest version in sPHENIX GitHub at line 42 of file PHG4RICHSteppingAction.h

Constructor & Destructor Documentation

PHG4RICHSteppingAction::PHG4RICHSteppingAction ( PHG4RICHDetector detector)

Definition at line 47 of file PHG4RICHSteppingAction.cc.

View newest version in sPHENIX GitHub at line 47 of file PHG4RICHSteppingAction.cc

virtual PHG4RICHSteppingAction::~PHG4RICHSteppingAction ( )
inlinevirtual

Definition at line 46 of file PHG4RICHSteppingAction.h.

View newest version in sPHENIX GitHub at line 46 of file PHG4RICHSteppingAction.h

Member Function Documentation

bool PHG4RICHSteppingAction::MakeHit ( const G4Step *  aStep)
private

Definition at line 149 of file PHG4RICHSteppingAction.cc.

View newest version in sPHENIX GitHub at line 149 of file PHG4RICHSteppingAction.cc

References PHG4HitContainer::AddHit(), Acts::UnitConstants::cm, detector_, PHG4Hit::get_hit_id(), PHG4HitContainer::GetID(), Acts::UnitConstants::GeV, hit, hits_, p, PHG4Hit::set_edep(), PHG4Hit::set_shower_id(), PHG4Hit::set_t(), PHG4Hit::set_trkid(), PHG4Hit::set_x(), PHG4Hit::set_y(), and PHG4Hit::set_z().

Referenced by UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4RICHSteppingAction::SetInterfacePointers ( PHCompositeNode topNode)
virtual

Definition at line 233 of file PHG4RICHSteppingAction.cc.

View newest version in sPHENIX GitHub at line 233 of file PHG4RICHSteppingAction.cc

References hits_.

void PHG4RICHSteppingAction::UserSteppingAction ( const G4Step *  aStep)
virtual

Definition at line 55 of file PHG4RICHSteppingAction.cc.

View newest version in sPHENIX GitHub at line 55 of file PHG4RICHSteppingAction.cc

References fExpectedNextStatus, MakeHit(), Acts::UnitConstants::pm, and Acts::Undefined.

+ Here is the call graph for this function:

Member Data Documentation

PHG4RICHDetector* PHG4RICHSteppingAction::detector_
private

Definition at line 55 of file PHG4RICHSteppingAction.h.

View newest version in sPHENIX GitHub at line 55 of file PHG4RICHSteppingAction.h

Referenced by MakeHit().

G4OpBoundaryProcessStatus PHG4RICHSteppingAction::fExpectedNextStatus
private

Definition at line 59 of file PHG4RICHSteppingAction.h.

View newest version in sPHENIX GitHub at line 59 of file PHG4RICHSteppingAction.h

Referenced by UserSteppingAction().

PHG4Hit* PHG4RICHSteppingAction::hit
private

Definition at line 57 of file PHG4RICHSteppingAction.h.

View newest version in sPHENIX GitHub at line 57 of file PHG4RICHSteppingAction.h

Referenced by MakeHit().

PHG4HitContainer* PHG4RICHSteppingAction::hits_
private

Definition at line 56 of file PHG4RICHSteppingAction.h.

View newest version in sPHENIX GitHub at line 56 of file PHG4RICHSteppingAction.h

Referenced by MakeHit(), and SetInterfacePointers().


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