Skip to content

Commit c1bfb58

Browse files
committed
Do not use FairMCApplication::MisalignGeometry
Instead, we will start with ideal geometry and misalign it with GeomManager on the fly
1 parent 8008f5f commit c1bfb58

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Steer/src/O2MCApplication.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ bool O2MCApplicationBase::MisalignGeometry()
136136
}
137137
}
138138

139-
auto b = FairMCApplication::MisalignGeometry();
139+
// RS We want to store ideal geometry to be able to apply different alignments on the fly
140+
// auto b = FairMCApplication::MisalignGeometry();
141+
140142
// we use this moment to stream our geometry (before other
141143
// VMC engine dependent modifications are done)
142144

@@ -145,7 +147,7 @@ bool O2MCApplicationBase::MisalignGeometry()
145147
gGeoManager->Export(geomfile.c_str());
146148

147149
// return original return value of misalignment procedure
148-
return b;
150+
return true;
149151
}
150152

151153
void O2MCApplicationBase::finishEventCommon()

0 commit comments

Comments
 (0)