All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros | Functions | Variables
TGeant3gu.cxx File Reference
#include <iostream>
#include "larreco/Genfit/TGeant3/TGeant3.h"
#include "larreco/Genfit/TGeant3/TCallf77.h"
#include "TLorentzVector.h"
#include "TClonesArray.h"
#include "TParticle.h"

Go to the source code of this file.

Macros

#define gudigi   gudigi_
 
#define guhadr   guhadr_
 
#define guout   guout_
 
#define guphad   guphad_
 
#define gudcay   gudcay_
 
#define guiget   guiget_
 
#define guinme   guinme_
 
#define guinti   guinti_
 
#define gunear   gunear_
 
#define guskip   guskip_
 
#define guview   guview_
 
#define gupara   gupara_
 
#define gudtim   gudtim_
 
#define guplsh   guplsh_
 
#define gutrev   gutrev_
 
#define gutrak   gutrak_
 
#define guswim   guswim_
 
#define gufld   gufld_
 
#define gustep   gustep_
 
#define gukine   gukine_
 
#define eustep   eustep_
 
#define calsig   calsig_
 
#define gcalor   gcalor_
 
#define gheish   gheish_
 
#define flufin   flufin_
 
#define gfmfin   gfmfin_
 
#define gpghei   gpghei_
 
#define fldist   fldist_
 
#define gfmdis   gfmdis_
 
#define g3helx3   g3helx3_
 
#define g3helix   g3helix_
 
#define g3rkuta   g3rkuta_
 
#define g3track   g3track_
 
#define gtreveroot   gtreveroot_
 
#define g3last   g3last_
 
#define g3invol   g3invol_
 
#define g3tmedi   g3tmedi_
 
#define g3media   g3media_
 
#define g3tmany   g3tmany_
 
#define g3tnext   g3tnext_
 
#define ginvol   ginvol_
 
#define gtmedi   gtmedi_
 
#define gtmany   gtmany_
 
#define gtonly   gtonly_
 
#define gmedia   gmedia_
 
#define glvolu   glvolu_
 
#define gtnext   gtnext_
 

Functions

type_of_call void calsig ()
 
type_of_call void gcalor ()
 
type_of_call void gheish ()
 
type_of_call void flufin ()
 
type_of_call void gfmfin ()
 
type_of_call void gpghei ()
 
type_of_call void fldist ()
 
type_of_call void gfmdis ()
 
type_of_call void g3helx3 (Float_t &, Float_t &, Float_t *, Float_t *)
 
type_of_call void g3helix (Float_t &, Float_t &, Float_t *, Float_t *)
 
type_of_call void g3rkuta (Float_t &, Float_t &, Float_t *, Float_t *)
 
type_of_call void g3track ()
 
type_of_call void gtreveroot ()
 
type_of_call void g3last ()
 
type_of_call void g3invol (Float_t *, Int_t &)
 
type_of_call void g3tmedi (Float_t *, Int_t &)
 
type_of_call void g3tmany (Int_t &)
 
type_of_call void g3media (Float_t *, Int_t &, Int_t &)
 
type_of_call void g3tnext ()
 
type_of_call void ginvol (Float_t *, Int_t &)
 
type_of_call void gtmedi (Float_t *, Int_t &)
 
type_of_call void gtmany (Int_t &)
 
type_of_call void gtonly (Int_t &)
 
type_of_call void gmedia (Float_t *, Int_t &, Int_t &)
 
type_of_call void glvolu (Int_t &nlev, Int_t *lnam, Int_t *lnum, Int_t &ier)
 
type_of_call void gtnext ()
 

Variables

TGeant3geant3
 

Macro Definition Documentation

#define calsig   calsig_

Definition at line 38 of file TGeant3gu.cxx.

#define eustep   eustep_

Definition at line 36 of file TGeant3gu.cxx.

#define fldist   fldist_

Definition at line 45 of file TGeant3gu.cxx.

#define flufin   flufin_

Definition at line 42 of file TGeant3gu.cxx.

#define g3helix   g3helix_

Definition at line 48 of file TGeant3gu.cxx.

#define g3helx3   g3helx3_

Definition at line 47 of file TGeant3gu.cxx.

#define g3invol   g3invol_

Definition at line 53 of file TGeant3gu.cxx.

#define g3last   g3last_

Definition at line 52 of file TGeant3gu.cxx.

#define g3media   g3media_

Definition at line 55 of file TGeant3gu.cxx.

#define g3rkuta   g3rkuta_

Definition at line 49 of file TGeant3gu.cxx.

#define g3tmany   g3tmany_

Definition at line 56 of file TGeant3gu.cxx.

#define g3tmedi   g3tmedi_

Definition at line 54 of file TGeant3gu.cxx.

#define g3tnext   g3tnext_

Definition at line 57 of file TGeant3gu.cxx.

#define g3track   g3track_

Definition at line 50 of file TGeant3gu.cxx.

#define gcalor   gcalor_

Definition at line 39 of file TGeant3gu.cxx.

#define gfmdis   gfmdis_

Definition at line 46 of file TGeant3gu.cxx.

#define gfmfin   gfmfin_

Definition at line 43 of file TGeant3gu.cxx.

#define gheish   gheish_

Definition at line 41 of file TGeant3gu.cxx.

#define ginvol   ginvol_

Definition at line 58 of file TGeant3gu.cxx.

#define glvolu   glvolu_

Definition at line 63 of file TGeant3gu.cxx.

#define gmedia   gmedia_

Definition at line 62 of file TGeant3gu.cxx.

#define gpghei   gpghei_

Definition at line 44 of file TGeant3gu.cxx.

#define gtmany   gtmany_

Definition at line 60 of file TGeant3gu.cxx.

#define gtmedi   gtmedi_

Definition at line 59 of file TGeant3gu.cxx.

#define gtnext   gtnext_

Definition at line 64 of file TGeant3gu.cxx.

#define gtonly   gtonly_

Definition at line 61 of file TGeant3gu.cxx.

#define gtreveroot   gtreveroot_

Definition at line 51 of file TGeant3gu.cxx.

#define gudcay   gudcay_

Definition at line 19 of file TGeant3gu.cxx.

#define gudigi   gudigi_

Definition at line 15 of file TGeant3gu.cxx.

#define gudtim   gudtim_

Definition at line 27 of file TGeant3gu.cxx.

#define gufld   gufld_

Definition at line 32 of file TGeant3gu.cxx.

#define guhadr   guhadr_

Definition at line 16 of file TGeant3gu.cxx.

#define guiget   guiget_

Definition at line 20 of file TGeant3gu.cxx.

#define guinme   guinme_

Definition at line 21 of file TGeant3gu.cxx.

#define guinti   guinti_

Definition at line 22 of file TGeant3gu.cxx.

#define gukine   gukine_

Definition at line 34 of file TGeant3gu.cxx.

#define gunear   gunear_

Definition at line 23 of file TGeant3gu.cxx.

#define guout   guout_

Definition at line 17 of file TGeant3gu.cxx.

#define gupara   gupara_

Definition at line 26 of file TGeant3gu.cxx.

#define guphad   guphad_

Definition at line 18 of file TGeant3gu.cxx.

#define guplsh   guplsh_

Definition at line 28 of file TGeant3gu.cxx.

#define guskip   guskip_

Definition at line 24 of file TGeant3gu.cxx.

#define gustep   gustep_

Definition at line 33 of file TGeant3gu.cxx.

#define guswim   guswim_

Definition at line 31 of file TGeant3gu.cxx.

#define gutrak   gutrak_

Definition at line 30 of file TGeant3gu.cxx.

#define gutrev   gutrev_

Definition at line 29 of file TGeant3gu.cxx.

#define guview   guview_

Definition at line 25 of file TGeant3gu.cxx.

Function Documentation

type_of_call void calsig ( )
type_of_call void fldist ( )
type_of_call void flufin ( )
type_of_call void g3helix ( Float_t &  ,
Float_t &  ,
Float_t *  ,
Float_t *   
)
type_of_call void g3helx3 ( Float_t &  ,
Float_t &  ,
Float_t *  ,
Float_t *   
)
type_of_call void g3invol ( Float_t *  ,
Int_t &   
)
type_of_call void g3last ( )
type_of_call void g3media ( Float_t *  ,
Int_t &  ,
Int_t &   
)
type_of_call void g3rkuta ( Float_t &  ,
Float_t &  ,
Float_t *  ,
Float_t *   
)
type_of_call void g3tmany ( Int_t &  )
type_of_call void g3tmedi ( Float_t *  ,
Int_t &   
)
type_of_call void g3tnext ( )
type_of_call void g3track ( )
type_of_call void gcalor ( )
type_of_call void gfmdis ( )
type_of_call void gfmfin ( )
type_of_call void gheish ( )
type_of_call void ginvol ( Float_t *  ,
Int_t &   
)

Definition at line 6522 of file TGeant3.cxx.

6523 {
6524  fginvol(x,isame);
6525 }
void(* fginvol)(Float_t *, Int_t &)=0
Definition: TGeant3.cxx:1088
list x
Definition: train.py:276
type_of_call void glvolu ( Int_t &  nlev,
Int_t *  lnam,
Int_t *  lnum,
Int_t &  ier 
)

Definition at line 6586 of file TGeant3.cxx.

6587 {
6588  //
6589  // nlev number of levels deep into the volume tree
6590  // size of the arrays lnam and lnum
6591  // lnam an integer array who's 4 bytes contain the ASCII code for the
6592  // volume names
6593  // lnum an integer array containing the copy numbers for that specific
6594  // volume
6595  //
6596  // This routine fills the volume parameters in common /gcvolu/ for a
6597  // physical tree, specified by the list lnam and lnum of volume names
6598  // and numbers, and for all its ascendants up to level 1. This routine
6599  // is optimized and does not re-compute the part of the history already
6600  // available in GCVOLU. This means that if it is used in user programs
6601  // outside the usual framework of the tracking, the user has to initialize
6602  // to zero NLEVEL in the common GCVOLU. It return 0 if there were no
6603  // problems in make the call.
6604  //
6605 // printf("glvolu called\n");
6606 
6607  fglvolu(nlev, lnam, lnum, ier);
6608 }
void(* fglvolu)(Int_t &nlev, Int_t *lnam, Int_t *lnum, Int_t &ier)=0
Definition: TGeant3.cxx:1093
type_of_call void gmedia ( Float_t *  ,
Int_t &  ,
Int_t &   
)

Definition at line 6548 of file TGeant3.cxx.

6549 {
6550  fgmedia(x,numed,check);
6551 #ifdef STATISTICS
6552  statcode = 1;
6553  statsame = 0;
6554  for (int j=0;j<6;j++) if (j <3) oldvect[j] = x[j]; else oldvect[j]=0;
6555  oldsafety = gctrak->safety;
6556  oldstep = gctrak->step;
6557  sprintf(statpath,"%s",geant3->GetPath());
6558  statsnext=gctrak->snext;
6559  statsafety=gctrak->safety;
6560  stattree->Fill();
6561  count_gmedia++;
6562 #endif
6563 }
Float_t safety
Definition: TGeant3.h:258
Int_t count_gmedia
Definition: TGeant3.cxx:1075
bool check(const std::vector< std::vector< float > > &outputs)
void(* fgmedia)(Float_t *, Int_t &, Int_t &)=0
Definition: TGeant3.cxx:1092
const char * GetPath()
Definition: TGeant3.cxx:3003
Float_t step
Definition: TGeant3.h:260
Gctrak_t * gctrak
Definition: TGeant3.cxx:1069
Float_t snext
Definition: TGeant3.h:261
list x
Definition: train.py:276
TGeant3 * geant3
Definition: TGeant3.cxx:1072
type_of_call void gpghei ( )
type_of_call void gtmany ( Int_t &  )

Definition at line 6566 of file TGeant3.cxx.

6567 {
6568  fgtmany(level1);
6569 }
void(* fgtmany)(Int_t &)=0
Definition: TGeant3.cxx:1090
type_of_call void gtmedi ( Float_t *  ,
Int_t &   
)

Definition at line 6529 of file TGeant3.cxx.

6530 {
6531  fgtmedi(x,numed);
6532 #ifdef STATISTICS
6533  statcode = 2;
6534  statsame = gcchan->lsamvl;
6535  for (int j=0;j<6;j++) if (j <3) oldvect[j] = x[j]; else oldvect[j]=0;
6536  oldsafety = gctrak->safety;
6537  oldstep = gctrak->step;
6538  sprintf(statpath,"%s",geant3->GetPath());
6539  statsnext=gctrak->snext;
6540  statsafety=gctrak->safety;
6541  stattree->Fill();
6542  count_gtmedi++;
6543 #endif
6544 }
Float_t safety
Definition: TGeant3.h:258
Int_t count_gtmedi
Definition: TGeant3.cxx:1076
void(* fgtmedi)(Float_t *, Int_t &)=0
Definition: TGeant3.cxx:1089
const char * GetPath()
Definition: TGeant3.cxx:3003
Float_t step
Definition: TGeant3.h:260
Int_t lsamvl
Definition: TGeant3.h:632
Gctrak_t * gctrak
Definition: TGeant3.cxx:1069
Float_t snext
Definition: TGeant3.h:261
list x
Definition: train.py:276
TGeant3 * geant3
Definition: TGeant3.cxx:1072
Gcchan_t * gcchan
Definition: TGeant3.cxx:1078
type_of_call void gtnext ( )

Definition at line 6612 of file TGeant3.cxx.

6613 {
6614 #ifdef STATISTICS
6615  count_gtnext++;
6616  statcode = 3;
6617  statsame = 1;
6618  for (int j=0;j<6;j++) oldvect[j] = gctrak->vect[j];
6619  oldsafety = gctrak->safety;
6620  oldstep = gctrak->step;
6621  sprintf(statpath,"%s",geant3->GetPath());
6622 #endif
6623 
6624  fgtnext();
6625 
6626 #ifdef STATISTICS
6627  statsnext=gctrak->snext;
6628  statsafety=gctrak->safety;
6629  stattree->Fill();
6630 #endif
6631 }
Int_t count_gtnext
Definition: TGeant3.cxx:1077
Float_t safety
Definition: TGeant3.h:258
void(* fgtnext)()=0
Definition: TGeant3.cxx:1094
Float_t vect[7]
Definition: TGeant3.h:247
const char * GetPath()
Definition: TGeant3.cxx:3003
Float_t step
Definition: TGeant3.h:260
Gctrak_t * gctrak
Definition: TGeant3.cxx:1069
Float_t snext
Definition: TGeant3.h:261
TGeant3 * geant3
Definition: TGeant3.cxx:1072
type_of_call void gtonly ( Int_t &  )

Definition at line 6579 of file TGeant3.cxx.

6580 {
6581  //with Geant3, return gonly(nlevel);
6582  fgtonly(isOnly);
6583 }
void(* fgtonly)(Int_t &)=0
Definition: TGeant3.cxx:1091
type_of_call void gtreveroot ( )

Variable Documentation

TGeant3* geant3

Definition at line 1072 of file TGeant3.cxx.