Skip to content

Commit 3156956

Browse files
dedxsawenzel
authored andcommitted
fixing formatting to match clang-format requirements
1 parent 7b9af3e commit 3156956

3 files changed

Lines changed: 161 additions & 182 deletions

File tree

Detectors/FIT/FT0/base/src/Geometry.cxx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,10 @@ void Geometry::setAsideModules()
3434
//These are coordinate positions for the sensitive elements within the FIT mother volume
3535
//measured from the CAD drawings. The positive/negative X values are referenced
3636
//from the back side of the frame lookinmg toward the interaction point
37-
Float_t mPosModuleAx[Geometry::NCellsA] = { -12.25, -6.15, -0.05, 6.15, 12.25,
38-
-12.25, -6.15, -0.05, 6.15, 12.25,
39-
-13.58, -7.48, 7.48, 13.58,
40-
-12.25, -6.15, 0.05, 6.15, 12.25,
41-
-12.25, -6.15, 0.05, 6.15, 12.25};
37+
Float_t mPosModuleAx[Geometry::NCellsA] = {-12.25, -6.15, -0.05, 6.15, 12.25, -12.25, -6.15, -0.05, 6.15, 12.25, -13.58, -7.48, 7.48, 13.58, -12.25, -6.15, 0.05, 6.15, 12.25, -12.25, -6.15, 0.05, 6.15, 12.25};
38+
39+
Float_t mPosModuleAy[Geometry::NCellsA] = {12.2, 12.2, 13.53, 12.2, 12.2, 6.1, 6.1, 7.43, 6.1, 6.1, 0.0, 0.0, 0.0, 0.0, -6.1, -6.1, -7.43, -6.1, -6.1, -12.2, -12.2, -13.53, -12.2, -12.2};
4240

43-
Float_t mPosModuleAy[Geometry::NCellsA] = { 12.2, 12.2, 13.53, 12.2, 12.2,
44-
6.1, 6.1, 7.43, 6.1, 6.1,
45-
0.0, 0.0, 0.0, 0.0,
46-
-6.1, -6.1, -7.43, -6.1, -6.1,
47-
-12.2, -12.2, -13.53, -12.2, -12.2};
4841
// A side Translations
4942
for (Int_t ipmt = 0; ipmt < NCellsA; ipmt++) {
5043
mMCP[ipmt].SetXYZ(mPosModuleAx[ipmt], mPosModuleAy[ipmt], ZdetA);

Detectors/FIT/FT0/simulation/include/FT0Simulation/Detector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Detector : public o2::base::DetImpl<Detector>
152152
TGeoVolume* constructFrameAGeometry(); //A-side
153153
TGeoVolume* constructFrameCGeometry(); //C-side
154154
std::string cPlateShapeString();
155-
155+
156156
// BEGIN: Support structure constants
157157
// define some error to avoid overlaps
158158
static constexpr Float_t sEps = 0.05;

0 commit comments

Comments
 (0)