Skip to content

Commit 4ab6e43

Browse files
committed
GLAD:Minor modifications to solve problems with neuLand simulations
1 parent 5db727c commit 4ab6e43

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

glad/geobase/create_glad_geo.C

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void create_glad_geo(bool create_flange_windows = false, const char* geoTag = "v
3333
TGeoManager* gGeoMan = NULL;
3434

3535
// Global positioning definition
36-
Double_t glad_angle = 14.0; // deg
36+
Double_t glad_angle = 14.08; // deg
3737
Double_t distanceToTarget = 308.8; // cm
3838
Double_t zeroLineOffset = -42.0; // cm
3939

@@ -146,6 +146,7 @@ void create_glad_geo(bool create_flange_windows = false, const char* geoTag = "v
146146
gGeoMan->Test();
147147

148148
TFile* geoFile = new TFile(geoFileName, "RECREATE");
149+
top->Draw();
149150
top->Write();
150151
geoFile->Close();
151152

@@ -2717,7 +2718,7 @@ void ConstructEnceinteI(TGeoVolume* pWorld)
27172718

27182719
// Add the Nurbs like node to the world
27192720

2720-
tr[0] = 185.000000;
2721+
tr[0] = 185.000000 + 18.5;
27212722
tr[1] = 0.000000;
27222723
tr[2] = 0.000000;
27232724
rot[0] = 1.000000;
@@ -4570,7 +4571,7 @@ void ConstructFonfE(TGeoVolume* pWorld)
45704571
pG2403002_Fonf_cote_sortie->SetLineColor(920);
45714572
pG2403002_Fonf_cote_sortie->SetVisLeaves(kTRUE);
45724573

4573-
tr[0] = -221.500000 + 41.;
4574+
tr[0] = -221.500000 + 41;
45744575
tr[1] = 0.000000;
45754576
tr[2] = 0.000000;
45764577
rot[0] = 1.000000;

0 commit comments

Comments
 (0)