Skip to content

Commit 99873a1

Browse files
committed
Please consider the following formatting changes
1 parent 70f1d23 commit 99873a1

5 files changed

Lines changed: 12 additions & 10 deletions

File tree

Detectors/Upgrades/ITS3/base/include/ITS3Base/ITS3Params.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ struct ITS3Params : public o2::conf::ConfigurableParamHelper<ITS3Params> {
2525
bool misalignmentHitsUseProp{false}; // Use propagtor for mis-alignment
2626
std::string globalGeoMisAlignerMacro{"${O2_ROOT}/share/macro/MisAlignGeoITS3.C"}; // Path to macro for global geometry mis-alignment
2727
// Chip studies
28-
bool useDeadChannelMap{false}; // Query for a dead channel map to study disabling individual tiles
29-
std::string chipResponseFunction{"APTS"}; // Chip response function one of "Alpide", "APTS" or "Mosaix" (not yet available)
28+
bool useDeadChannelMap{false}; // Query for a dead channel map to study disabling individual tiles
29+
std::string chipResponseFunction{"APTS"}; // Chip response function one of "Alpide", "APTS" or "Mosaix" (not yet available)
3030

3131
O2ParamDef(ITS3Params, "ITS3Params");
3232
};

Detectors/Upgrades/ITS3/base/include/ITS3Base/SegmentationMosaix.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ class SegmentationMosaix
170170
/// If iRow and or iCol is outside of the segmentation range a value of -0.5*Dx()
171171
/// or -0.5*Dz() is returned.
172172
template <typename T>
173-
constexpr bool detectorToLocal(T const row, T const col, float& xRow, float& zCol) const noexcept {
173+
constexpr bool detectorToLocal(T const row, T const col, float& xRow, float& zCol) const noexcept
174+
{
174175
if (!isValidDet(row, col)) {
175176
return false;
176177
}
@@ -181,14 +182,15 @@ class SegmentationMosaix
181182
// Same as detectorToLocal w.o. checks.
182183
// We position ourself in the middle of the pixel.
183184
template <typename T>
184-
constexpr void detectorToLocalUnchecked(T const row, T const col, float& xRow, float& zCol) const noexcept {
185+
constexpr void detectorToLocalUnchecked(T const row, T const col, float& xRow, float& zCol) const noexcept
186+
{
185187
xRow = -(static_cast<float>(row) + 0.5f) * PitchRow + WidthH;
186188
zCol = (static_cast<float>(col) + 0.5f) * PitchCol - LengthH;
187189
}
188190

189-
190191
template <typename T>
191-
constexpr bool detectorToLocal(T const row, T const col, math_utils::Point3D<float>& loc) const noexcept {
192+
constexpr bool detectorToLocal(T const row, T const col, math_utils::Point3D<float>& loc) const noexcept
193+
{
192194
float xRow{0.}, zCol{0.};
193195
if (!detectorToLocal(row, col, xRow, zCol)) {
194196
return false;
@@ -198,7 +200,8 @@ class SegmentationMosaix
198200
}
199201

200202
template <typename T>
201-
constexpr void detectorToLocalUnchecked(T const row, T const col, math_utils::Point3D<float>& loc) const noexcept {
203+
constexpr void detectorToLocalUnchecked(T const row, T const col, math_utils::Point3D<float>& loc) const noexcept
204+
{
202205
float xRow{0.}, zCol{0.};
203206
detectorToLocalUnchecked(row, col, xRow, zCol);
204207
loc.SetCoordinates(xRow, NominalYShift, zCol);

Detectors/Upgrades/ITS3/macros/test/CheckDigitsITS3.C

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ void CheckDigitsITS3(std::string digifile = "it3digits.root", std::string hitfil
8080

8181
int nevD = digTree->GetEntries(); // digits in cont. readout may be grouped as few events per entry
8282

83-
8483
int nDigitReadIB{0}, nDigitReadOB{0};
8584
int nDigitFilledIB{0}, nDigitFilledOB{0};
8685

Detectors/Upgrades/ITS3/macros/test/CreateDictionariesITS3.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void CreateDictionariesITS3(bool saveDeltas = true,
285285
dX /= (ib) ? o2::its3::SegmentationMosaix::PitchRow : o2::itsmft::SegmentationAlpide::PitchRow;
286286
dZ /= (ib) ? o2::its3::SegmentationMosaix::PitchCol : o2::itsmft::SegmentationAlpide::PitchCol;
287287

288-
float outLimitDx{-1}, outLimitDz{-1};
288+
float outLimitDx{-1}, outLimitDz{-1};
289289
if (checkOutliers > 0.) {
290290
outLimitDx = topology.getRowSpan() * checkOutliers;
291291
outLimitDz = topology.getColumnSpan() * checkOutliers;

Detectors/Upgrades/ITS3/simulation/src/ChipDigitsContainer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace its3
1717
{
1818

1919
ChipDigitsContainer::ChipDigitsContainer(UShort_t idx)
20-
: o2::itsmft::ChipDigitsContainer(idx){}
20+
: o2::itsmft::ChipDigitsContainer(idx) {}
2121

2222
bool ChipDigitsContainer::isIB() const
2323
{

0 commit comments

Comments
 (0)