Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
LXeStackingAction Class Reference

#include <Doxymodules_optical.h>

Inheritance diagram for LXeStackingAction:
G4UserStackingAction

Public Member Functions

 LXeStackingAction (LXeEventAction *)
 
 ~LXeStackingAction () override=default
 
G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *aTrack) override
 

Private Attributes

LXeEventActionfEventAction = nullptr
 

Detailed Description

Definition at line 64 of file Doxymodules_optical.h.

Constructor & Destructor Documentation

◆ LXeStackingAction()

LXeStackingAction::LXeStackingAction ( LXeEventAction ea)

Definition at line 41 of file LXeStackingAction.cc.

42 : fEventAction(ea)
43{}
LXeEventAction * fEventAction

◆ ~LXeStackingAction()

LXeStackingAction::~LXeStackingAction ( )
overridedefault

Member Function Documentation

◆ ClassifyNewTrack()

G4ClassificationOfNewTrack LXeStackingAction::ClassifyNewTrack ( const G4Track aTrack)
override

Definition at line 47 of file LXeStackingAction.cc.

49{
50 // Count what process generated the optical photons
51 if(aTrack->GetDefinition() == G4OpticalPhoton::OpticalPhotonDefinition())
52 {
53 // particle is optical photon
54 if(aTrack->GetParentID() > 0)
55 {
56 // particle is secondary
57 if(aTrack->GetCreatorProcess()->GetProcessName() == "Scintillation")
59 else if(aTrack->GetCreatorProcess()->GetProcessName() == "Cerenkov")
61 }
62 }
63 return fUrgent;
64}
void IncPhotonCount_Scint()
void IncPhotonCount_Ceren()

Member Data Documentation

◆ fEventAction

LXeEventAction* LXeStackingAction::fEventAction = nullptr
private

Definition at line 47 of file LXeStackingAction.hh.


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

Applications | User Support | Publications | Collaboration