#include <ctype.h>
#include <stdlib.h>
#include "TROOT.h"
#include "TParticle.h"
#include "TDatabasePDG.h"
#include "TLorentzVector.h"
#include "TArrayI.h"
#include "TArrayD.h"
#include "larreco/Genfit/TGeant3/TGeant3TGeo.h"
#include "TGeoManager.h"
#include "TGeoMatrix.h"
#include "TGeoMCGeometry.h"
#include "larreco/Genfit/TGeant3/TCallf77.h"
#include "TVirtualMCDecayer.h"
#include "TPDGCode.h"
Go to the source code of this file.
|
void type_of_call | g3treve () |
|
void type_of_call | gtreveroot () |
|
void type_of_call | g3smate (const Int_t &, DEFCHARD, Float_t &, Float_t &, Float_t &, Float_t &, Float_t &, Float_t *, Int_t &DEFCHARL) |
|
void type_of_call | g3smixt (const Int_t &, DEFCHARD, const Float_t *, const Float_t *, const Float_t &, const Int_t &, Float_t *DEFCHARL) |
|
void type_of_call | g3stmed (const Int_t &, DEFCHARD, Int_t &, Int_t &, Int_t &, Float_t &, Float_t &, Float_t &, Float_t &, Float_t &, Float_t &, Float_t *, Int_t &DEFCHARL) |
|
void type_of_call | gcomad (DEFCHARD, Int_t *&DEFCHARL) |
|
type_of_call void | ginvolTGeo (Float_t *, Int_t &) |
|
type_of_call void | gtmediTGeo (Float_t *, Int_t &) |
|
type_of_call void | gtmanyTGeo (Int_t &) |
|
type_of_call void | gtonlyTGeo (Int_t &) |
|
type_of_call void | gmediaTGeo (Float_t *, Int_t &, Int_t &) |
|
type_of_call void | glvoluTGeo (Int_t &nlev, Int_t *lnam, Int_t *lnum, Int_t &ier) |
|
type_of_call void | gtnextTGeo () |
|
type_of_call void | ggperpTGeo (Float_t *, Float_t *, Int_t &) |
|
#define gtreveroot gtreveroot_ |
#define gtreveroot gtreveroot_ |
void type_of_call g3smate |
( |
const Int_t & |
, |
|
|
DEFCHARD |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t * |
, |
|
|
Int_t & |
DEFCHARL |
|
) |
| |
void type_of_call g3smixt |
( |
const Int_t & |
, |
|
|
DEFCHARD |
, |
|
|
const Float_t * |
, |
|
|
const Float_t * |
, |
|
|
const Float_t & |
, |
|
|
const Int_t & |
, |
|
|
Float_t * |
DEFCHARL |
|
) |
| |
void type_of_call g3stmed |
( |
const Int_t & |
, |
|
|
DEFCHARD |
, |
|
|
Int_t & |
, |
|
|
Int_t & |
, |
|
|
Int_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t & |
, |
|
|
Float_t * |
, |
|
|
Int_t & |
DEFCHARL |
|
) |
| |
void ggperpTGeo |
( |
Float_t * |
, |
|
|
Float_t * |
norm, |
|
|
Int_t & |
ierr |
|
) |
| |
Definition at line 2305 of file TGeant3TGeo.cxx.
2310 Double_t *dblnorm = gGeoManager->FindNormalFast();
2315 norm[0] = -dblnorm[0];
2316 norm[1] = -dblnorm[1];
2317 norm[2] = -dblnorm[2];
auto norm(Vector const &v)
Return norm of the specified vector.
void ginvolTGeo |
( |
Float_t * |
x, |
|
|
Int_t & |
isame |
|
) |
| |
Definition at line 2133 of file TGeant3TGeo.cxx.
2135 if (gGeoManager->IsSameLocation(
x[0],
x[1],
x[2])) isame = 1;
void glvoluTGeo |
( |
Int_t & |
nlev, |
|
|
Int_t * |
lnam, |
|
|
Int_t * |
lnum, |
|
|
Int_t & |
ier |
|
) |
| |
Definition at line 2209 of file TGeant3TGeo.cxx.
2228 TGeoVolume *vol = gGeoManager->GetTopVolume();
2229 TGeoVolume *vdaughter = 0;
2232 Bool_t
found = kFALSE;
2234 gGeoManager->CdTop();
2235 if (nlev<1) nlev = 1;
2237 if (nlev==1)
return;
2244 for (Int_t
i=1;
i<nlev;
i++) {
2245 nd = vol->GetNdaughters();
2247 for (Int_t
id=0;
id<nd;
id++) {
2248 node = vol->GetNode(
id);
2249 vdaughter = node->GetVolume();
2250 if (vdaughter->GetNumber() == lvol[
i]) {
2251 if (node->GetNumber()==lnum[
i]) {
2253 gGeoManager->CdDown(
id);
2260 printf(
"### ERROR in TGeant3TGeo::glvoluTGeo(): cannot restore path\n");
R__EXTERN Gcvolu_t * gcvolu
void gmediaTGeo |
( |
Float_t * |
x, |
|
|
Int_t & |
numed, |
|
|
Int_t & |
|
|
) |
| |
Definition at line 2164 of file TGeant3TGeo.cxx.
2167 if (gGeoManager->IsOutside()) {
2175 TGeoMedium *medium = vol->GetMedium();
2176 if (medium) numed = medium->GetId();
2178 printf(
"ERROR: gmedia: NULL volume\n");
R__EXTERN Gcvolu_t * gcvolu
void gtmanyTGeo |
( |
Int_t & |
level1 | ) |
|
void gtmediTGeo |
( |
Float_t * |
x, |
|
|
Int_t & |
numed |
|
) |
| |
Definition at line 2141 of file TGeant3TGeo.cxx.
2146 if (gGeoManager->IsOutside()) {
2154 TGeoMedium *medium = vol->GetMedium();
2155 if (medium) numed = medium->GetId();
2157 printf(
"ERROR: gtmedi: NULL volume\n");
R__EXTERN Gcvolu_t * gcvolu
R__EXTERN Gcchan_t * gcchan
Definition at line 2269 of file TGeant3TGeo.cxx.
2274 gGeoManager->SetCurrentPoint(x[0],x[1],x[2]);
2275 gGeoManager->SetCurrentDirection(x[3],x[4],x[5]);
2284 if (itrtyp==7) gGeoManager->FindNextBoundary(-step);
2285 else gGeoManager->FindNextBoundary(step);
2287 Double_t snext = gGeoManager->GetStep();
R__EXTERN Gctrak_t * gctrak
R__EXTERN Gckine_t * gckine
void gtonlyTGeo |
( |
Int_t & |
isOnly | ) |
|
R__EXTERN Int_t count_ginvol |
R__EXTERN Int_t count_gmedia |
R__EXTERN Int_t count_gtmedi |
R__EXTERN Int_t count_gtnext |
R__EXTERN void(* fggperp) (Float_t *, Float_t *, Int_t &) |
R__EXTERN void(* fginvol) (Float_t *, Int_t &) |
R__EXTERN void(* fglvolu) (Int_t &nlev, Int_t *lnam, Int_t *lnum, Int_t &ier) |
R__EXTERN void(* fgmedia) (Float_t *, Int_t &, Int_t &) |
R__EXTERN void(* fgtmany) (Int_t &) |
R__EXTERN void(* fgtmedi) (Float_t *, Int_t &) |
R__EXTERN void(* fgtnext) () |
R__EXTERN void(* fgtonly) (Int_t &) |
TGeoNode* gCurrentNode = 0 |