58 : fRecorder(r),fOneStepPrimaries(false)
99 for( i=0;i<nprocesses;i++){
100 if((*pv)[i]->GetProcessName()==
"OpBoundary"){
117 if(!eventInformation->
IsConvPosSet() && tN2ndariesTot>0 ){
118 for(
size_t lp1=(*fSecondary).size()-tN2ndariesTot;
119 lp1<(*fSecondary).size(); lp1++){
120 const G4VProcess* creator=(*fSecondary)[lp1]->GetCreatorProcess();
123 if(creatorName==
"phot"||creatorName==
"compt"||creatorName==
"conv"){
126 eventInformation->
SetConvPos((*fSecondary)[lp1]->GetPosition());
132 if(fOneStepPrimaries&&thePrePV->
GetName()==
"scintillator")
145 if(thePrePV->
GetName()==
"Slab")
148 else if(thePostPV->
GetName()==
"expHall")
159 boundaryStatus=boundary->GetStatus();
168 ed <<
"LXeSteppingAction::UserSteppingAction(): "
169 <<
"No reallocation step after reflection!"
171 G4Exception(
"LXeSteppingAction::UserSteppingAction()",
"LXeExpl01",
173 "Something is wrong with the surface normal or geometry");
177 switch(boundaryStatus){
207 if(thePostPV->
GetName()==
"sphere")
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
virtual void UserSteppingAction(const G4Step *)
G4VUserEventInformation * GetUserInformation() const
Definition of the LXeRecorderBase class.
Definition of the LXeSteppingAction class.
std::ostringstream G4ExceptionDescription
G4StepStatus GetStepStatus() const
Definition of the LXeTrackingAction class.
G4OpBoundaryProcessStatus
G4bool ProcessHits_constStep(const G4Step *, G4TouchableHistory *)
G4ProcessManager * GetProcessManager() const
G4VUserTrackInformation * GetUserInformation() const
G4StepPoint * GetPreStepPoint() const
Definition of the LXePMTSD class.
G4int GetCurrentStepNumber() const
G4VPhysicalVolume * GetPhysicalVolume() const
const G4String & GetName() const
G4SteppingManager * fpSteppingManager
G4int GetfN2ndariesAtRestDoIt()
Definition of the LXeEventAction class.
Definition of the LXeTrajectory class.
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
G4int GetfN2ndariesAlongStepDoIt()
const G4String & GetProcessName() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
LXeSteppingAction(LXeRecorderBase *)
const G4VProcess * GetProcessDefinedStep() const
std::vector< G4Track * > G4TrackVector
virtual void RecordStep(const G4Step *)
G4StepPoint * GetPostStepPoint() const
static G4SDManager * GetSDMpointer()
static G4EventManager * GetEventManager()
Definition of the LXeSteppingMessenger class.
static G4OpticalPhoton * OpticalPhotonDefinition()
const G4Event * GetConstCurrentEvent()
G4Track * GetTrack() const
G4int GetProcessListLength() const
virtual ~LXeSteppingAction()
G4int GetfN2ndariesPostStepDoIt()
G4TrackVector * GetfSecondary()
G4ProcessVector * GetProcessList() const