1 #ifndef MACRO_G4ALLSI_C
2 #define MACRO_G4ALLSI_C
16 allsili->
set_string_param(
"GDMPath",Form(
"detector/genfitGeom_AllSi_v%i.gdml",det_ver));
24 double pipe_radius = 0;
25 pipe_radius =
Pipe(g4Reco,pipe_radius);
42 g4Reco->registerSubsystem(allsili);
46 double um_to_cm = 1E-04;
56 for (
int i=10; i<10+nBarrel; i++){
57 sprintf(nodename,
"G4HIT_LBLVTX_CENTRAL_%d", i);
62 pixel_size*um_to_cm/sqrt(12.),
63 pixel_size*um_to_cm/sqrt(12.),
68 for (
int i=20; i<20+nDisks; i++){
69 sprintf(nodename,
"G4HIT_LBLVTX_FORWARD_%d", i);
73 pixel_size*um_to_cm/sqrt(12.),
74 pixel_size*um_to_cm/sqrt(12.),
80 for (
int i=30; i<30+nDisks; i++){
81 sprintf(nodename,
"G4HIT_LBLVTX_BACKWARD_%d", i);
85 pixel_size*um_to_cm/sqrt(12.),
86 pixel_size*um_to_cm/sqrt(12.),
105 for (
int i = 10; i < 10+nBarrel; i++){sprintf(nodename,
"LBLVTX_CENTRAL_%d", i); hits->
AddNode(nodename, i);}
106 for (
int i = 20; i < 20+nDisks ; i++){sprintf(nodename,
"LBLVTX_FORWARD_%d", i); hits->
AddNode(nodename, i);}
107 for (
int i = 30; i < 30+nDisks ; i++){sprintf(nodename,
"LBLVTX_BACKWARD_%d",i); hits->
AddNode(nodename, i);}