129 G4String fileIn = randomNumberStatusDir +
"currentEvent.rndm";
131 std::ostringstream os;
136 G4String fileOut = randomNumberStatusDir + subDir + os.str();
138 G4String copCmd =
"/control/shell cp "+fileIn+
" "+fileOut;
162 thePrePVname = thePrePV->
GetName();
163 thePostPVname = thePostPV->
GetName();
186 G4int MAXofPostStepLoops =
191 for (
G4int i=0; i<MAXofPostStepLoops; i++) {
192 G4VProcess* fCurrentProcess = (*fPostStepDoItVector)[i];
213 fInitGamma / std::sqrt(px*px + py*py) / std::sqrt(x*x + y*y);
236 isFiber = thePostPVname ==
"WLSFiber"
237 || thePostPVname ==
"Clad1"
238 || thePostPVname ==
"Clad2";
322 if ( thePostPVname ==
"Mirror" )
331 if ( thePostPVname ==
"PhotonDet" ) {
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4int GetParentID() const
G4int GetNumberOfClad2Bounces()
CLHEP::Hep3Vector G4ThreeVector
const G4String & GetRandomNumberStoreDir() const
G4bool ProcessHits_constStep(const G4Step *, G4TouchableHistory *)
const G4ThreeVector & GetPosition() const
G4TrackStatus GetTrackStatus() const
void saveRandomStatus(G4String subDir)
G4OpBoundaryProcessStatus
G4OpBoundaryProcessStatus GetStatus() const
G4ProcessManager * GetProcessManager() const
const G4Run * GetCurrentRun() const
Definition of the WLSDetectorConstruction class.
static G4UImanager * GetUIpointer()
G4VUserTrackInformation * GetUserInformation() const
G4StepPoint * GetPreStepPoint() const
virtual void UserSteppingAction(const G4Step *)
static G4int fMaxRndmSave
G4GLOB_DLL std::ostream G4cout
G4int GetCurrentStepNumber() const
G4VPhysicalVolume * GetPhysicalVolume() const
const G4String & GetName() const
G4OpBoundaryProcess * fOpProcess
virtual ~WLSSteppingAction()
G4VSensitiveDetector * FindSensitiveDetector(G4String dName, G4bool warning=true)
WLSSteppingAction(WLSDetectorConstruction *)
G4int GetNumberOfClad1Bounces()
static G4RunManager * GetRunManager()
static G4OpticalPhoton * OpticalPhoton()
G4int GetNumberOfBounces()
WLSSteppingActionMessenger * fSteppingMessenger
G4StepPoint * GetPostStepPoint() const
static G4SDManager * GetSDMpointer()
G4int GetNumberOfWLSBounces()
Definition of the WLSPhotonDetSD class.
static const G4ThreeVector ZHat
Definition of the WLSSteppingAction class.
void SetBounceLimit(G4int)
const G4Event * GetCurrentEvent() const
G4Track * GetTrack() const
const G4ThreeVector & GetVertexMomentumDirection() const
Definition of the WLSSteppingActionMessenger class.
G4int ApplyCommand(const char *aCommand)
G4double GetWLSFiberEnd()
G4int fCounterClad2Bounce
G4int fCounterClad1Bounce
G4int ResetSuccessCounter()
WLSDetectorConstruction * fDetector
G4ProcessVector * GetPostStepProcessVector(G4ProcessVectorTypeIndex typ=typeGPIL) const