Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4ParallelWorldScoringProcess.hh
이 파일의 문서화 페이지로 가기
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // $Id: G4ParallelWorldScoringProcess.hh 68733 2013-04-05 09:45:28Z gcosmo $
28 //
29 //
30 //---------------------------------------------------------------
31 //
32 // G4ParallelWorldScoringProcess.hh
33 //
34 // Description:
35 // This procss takes a parallel world and limits a step
36 // on the boundaries of volumes in the parallel world.
37 // It invokes sensitive detectors assigned in the parallel
38 // world.
39 //
40 //---------------------------------------------------------------
41 
42 
43 #ifndef G4ParallelWorldScoringProcess_h
44 #define G4ParallelWorldScoringProcess_h 1
45 
46 #include "globals.hh"
47 class G4Step;
48 class G4Navigator;
50 class G4PathFinder;
51 class G4VTouchable;
52 class G4VPhysicalVolume;
53 class G4ParticleChange;
55 #include "G4VProcess.hh"
56 #include "G4FieldTrack.hh"
57 #include "G4TouchableHandle.hh"
58 
59 //------------------------------------------
60 //
61 // G4ParallelWorldScoringProcess class
62 //
63 //------------------------------------------
64 
65 
66 // Class Description:
67 
69 {
70 public: // with description
71 
72  //------------------------
73  // Constructor/Destructor
74  //------------------------
75 
76  G4ParallelWorldScoringProcess(const G4String& processName = "ParaWorldScore",
79 
80  //--------------------------------------------------------------
81  // Set Paralle World
82  //--------------------------------------------------------------
83 
84  void SetParallelWorld(G4String parallelWorldName);
85  void SetParallelWorld(G4VPhysicalVolume* parallelWorld);
87 
88  //--------------------------------------------------------------
89  // Process interface
90  //--------------------------------------------------------------
91 
92  void StartTracking(G4Track*);
93 
94  //------------------------------------------------------------------------
95  // GetPhysicalInteractionLength() and DoIt() methods for AtRest
96  //------------------------------------------------------------------------
97 
99  const G4Track& ,
101  );
102 
104  const G4Track& ,
105  const G4Step&
106  );
107 
108  //------------------------------------------------------------------------
109  // GetPhysicalInteractionLength() and DoIt() methods for AlongStep
110  //------------------------------------------------------------------------
111 
113  const G4Track&,
114  G4double ,
115  G4double ,
116  G4double&,
118  );
119 
121  const G4Track& ,
122  const G4Step&
123  );
124 
125  //-----------------------------------------------------------------------
126  // GetPhysicalInteractionLength() and DoIt() methods for PostStep
127  //-----------------------------------------------------------------------
128 
130  G4double previousStepSize,
132 
133  G4VParticleChange* PostStepDoIt(const G4Track& ,const G4Step& );
134 
135 private:
136  void CopyStep(const G4Step & step);
137 
141 
144 
147 
148  // -------------------------------
149  // Navigation in the Ghost World:
150  // -------------------------------
160 
161  // ******************************************************
162  // ******************************************************
163  //
164  // For TESTS:
165  //
166  // ******************************************************
167  // ******************************************************
168 public:
169  void Verbose(const G4Step&) const;
170 };
171 
172 #endif
void SetParallelWorld(G4String parallelWorldName)
G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
G4double condition(const G4ErrorSymMatrix &m)
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4ProcessType
G4GPILSelection
G4ParallelWorldScoringProcess(const G4String &processName="ParaWorldScore", G4ProcessType theType=fParameterisation)
Definition: G4Step.hh:76
G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
int G4int
Definition: G4Types.hh:78
G4TransportationManager * fTransportationManager
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
G4ForceCondition
G4bool IsAtRestRequired(G4ParticleDefinition *partDef)
G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)