]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TGeant4.icc
Modified AddTracks. Should be backward compatible
[u/mrichter/AliRoot.git] / TGeant4 / TGeant4.icc
1 // $Id$
2 // Category: run
3
4 #include "TG4StepManager.h" 
5
6 // methods for step management
7 // ------------------------------------------------
8
9 //_____________________________________________________________________________
10 inline void TGeant4::StopTrack()
11
12   fStepManager->StopTrack(); 
13
14
15 //_____________________________________________________________________________
16 inline void TGeant4::StopEvent()   
17
18   fStepManager->StopEvent(); 
19
20
21 //_____________________________________________________________________________
22 inline void TGeant4::SetMaxStep(Float_t step)
23
24   fStepManager->SetMaxStep(step); 
25
26
27 //_____________________________________________________________________________
28 inline void TGeant4::SetMaxNStep(Int_t number)
29
30   fStepManager->SetMaxNStep(number); 
31
32
33 //_____________________________________________________________________________
34 inline void TGeant4::SetUserDecay(Int_t number)
35
36   fStepManager->SetUserDecay(number); 
37
38
39 //_____________________________________________________________________________
40 inline Int_t TGeant4::CurrentVolID(Int_t& copyNo) const
41
42   return fStepManager->CurrentVolID(copyNo); 
43
44
45 //_____________________________________________________________________________
46 inline Int_t TGeant4::CurrentVolOffID(Int_t off, Int_t& copyNo) const
47
48   return fStepManager->CurrentVolOffID(off, copyNo); 
49
50
51 //_____________________________________________________________________________
52 inline const char* TGeant4::CurrentVolName() const
53
54   return fStepManager->CurrentVolName(); 
55
56
57 //_____________________________________________________________________________
58 inline const char* TGeant4::CurrentVolOffName(Int_t off) const
59
60   return fStepManager->CurrentVolOffName(off); 
61
62
63 //_____________________________________________________________________________
64 inline Int_t TGeant4::CurrentMaterial(Float_t &a, Float_t &z, 
65                     Float_t &dens, Float_t &radl, Float_t &absl) const  
66
67   return fStepManager->CurrentMaterial(a, z, dens, radl, absl); 
68
69
70 //_____________________________________________________________________________
71 inline void TGeant4::Gmtod(Float_t* xm, Float_t* xd, Int_t iflag)
72
73   fStepManager->Gmtod(xm, xd, iflag); 
74
75
76 //_____________________________________________________________________________
77 inline void TGeant4::Gdtom(Float_t* xd, Float_t* xm, Int_t iflag)
78
79   fStepManager->Gdtom(xd, xm, iflag); 
80
81     
82 //_____________________________________________________________________________
83 inline Float_t TGeant4::MaxStep() const
84
85   return fStepManager->MaxStep(); 
86
87
88 //_____________________________________________________________________________
89 inline Int_t TGeant4::GetMaxNStep() const
90
91   return fStepManager->GetMaxNStep(); 
92
93
94 //_____________________________________________________________________________
95 inline Int_t TGeant4::GetMedium() const
96
97   return fStepManager->GetMedium(); 
98
99
100 //_____________________________________________________________________________
101 inline void TGeant4::TrackPosition(TLorentzVector& position) const
102
103   fStepManager->TrackPosition(position); 
104
105
106 //_____________________________________________________________________________
107 inline void TGeant4::TrackMomentum(TLorentzVector& momentum) const
108
109   fStepManager->TrackMomentum(momentum); 
110
111
112 //_____________________________________________________________________________
113 inline void TGeant4::TrackVertexPosition(TLorentzVector& position) const
114
115   fStepManager->TrackVertexPosition(position); 
116
117
118 //_____________________________________________________________________________
119 inline void TGeant4::TrackVertexMomentum(TLorentzVector& momentum) const
120
121   fStepManager->TrackVertexMomentum(momentum); 
122
123
124 //_____________________________________________________________________________
125 inline Float_t TGeant4::TrackStep() const
126
127   return fStepManager->TrackStep(); 
128
129
130 //_____________________________________________________________________________
131 inline Float_t TGeant4::TrackLength() const 
132
133   return fStepManager->TrackLength(); 
134
135
136 //_____________________________________________________________________________
137 inline Float_t TGeant4::TrackTime() const
138
139   return fStepManager->TrackTime(); 
140
141
142 //_____________________________________________________________________________
143 inline Float_t TGeant4::Edep() const
144
145   return fStepManager->Edep(); 
146
147
148 //_____________________________________________________________________________
149 inline Int_t TGeant4::TrackPid() const
150
151   return fStepManager->TrackPid(); 
152
153
154 //_____________________________________________________________________________
155 inline Float_t TGeant4::TrackCharge() const
156
157   return fStepManager->TrackCharge(); 
158
159
160 //_____________________________________________________________________________
161 inline Float_t TGeant4::TrackMass() const
162
163   return fStepManager->TrackMass(); 
164
165
166 //_____________________________________________________________________________
167 inline Float_t TGeant4::Etot() const
168
169   return fStepManager->Etot(); 
170
171
172 //_____________________________________________________________________________
173 inline Bool_t  TGeant4::IsTrackInside() const
174 {   
175   return fStepManager->IsTrackInside(); 
176
177
178 //_____________________________________________________________________________
179 inline Bool_t  TGeant4::IsTrackEntering() const
180 {   
181   return fStepManager->IsTrackEntering(); 
182
183
184 //_____________________________________________________________________________
185 inline Bool_t  TGeant4::IsTrackExiting() const
186 {   
187   return fStepManager->IsTrackExiting(); 
188
189
190 //_____________________________________________________________________________
191 inline Bool_t  TGeant4::IsTrackOut() const
192 {   
193   return fStepManager->IsTrackOut(); 
194
195
196 //_____________________________________________________________________________
197 inline Bool_t  TGeant4::IsTrackDisappeared() const
198 {   
199   return fStepManager->IsTrackDisappeared(); 
200
201
202 //_____________________________________________________________________________
203 inline Bool_t  TGeant4::IsTrackStop() const
204 {  
205   return  fStepManager->IsTrackStop(); 
206
207
208 //_____________________________________________________________________________
209 inline Bool_t  TGeant4::IsTrackAlive() const
210 {   
211   return fStepManager->IsTrackAlive(); 
212
213
214 //_____________________________________________________________________________
215 inline Bool_t TGeant4::IsNewTrack() const
216 {
217   return fStepManager->IsNewTrack();
218 }  
219
220 //_____________________________________________________________________________
221 inline Int_t TGeant4::NSecondaries() const
222
223   return fStepManager->NSecondaries(); 
224
225
226 //_____________________________________________________________________________
227 inline void  TGeant4::GetSecondary(Int_t isec, Int_t& particleId, 
228                          TLorentzVector& position, TLorentzVector& momentum)
229
230   fStepManager->GetSecondary(isec, particleId, position, momentum); 
231
232
233 //_____________________________________________________________________________
234 inline AliMCProcess TGeant4::ProdProcess(Int_t isec) const 
235
236   return fStepManager->ProdProcess(isec); 
237
238
239 //_____________________________________________________________________________
240 inline Int_t TGeant4::StepProcesses(TArrayI &proc) const
241
242   return fStepManager->StepProcesses(proc); 
243