Skip to content

Commit a5e0907

Browse files
committed
Please consider the following formatting changes
1 parent 00118a0 commit a5e0907

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

DataFormats/Detectors/CPV/include/DataFormatsCPV/Cluster.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ class Cluster
6666
posZ = mLocalPosZ;
6767
}
6868
[[nodiscard]] uint8_t getMultiplicity() const { return mMulDigit; } // gets the number of digits making this recpoint
69-
// 0: was no unfolging, -1: unfolding failed
70-
[[nodiscard]] int8_t getModule() const { return mModule; } // CPV module of a current cluster
69+
// 0: was no unfolging, -1: unfolding failed
70+
[[nodiscard]] int8_t getModule() const { return mModule; } // CPV module of a current cluster
7171

7272
// 0: was no unfolging, -1: unfolding failed
7373
void setNExMax(int8_t nmax = 1) { mNExMax = nmax; }
7474
[[nodiscard]] int8_t getNExMax() const { return mNExMax; } // Number of maxima found in cluster in unfolding:
75-
// 0: was no unfolging, -1: unfolding failed
75+
// 0: was no unfolging, -1: unfolding failed
7676

7777
// raw access for CTF encoding
7878
[[nodiscard]] uint16_t getPackedPosX() const { return uint16_t((mLocalPosX - kMinX) / kStepX); }
@@ -110,8 +110,8 @@ class Cluster
110110

111111
protected:
112112
unsigned char mMulDigit = 0; ///< Digit nultiplicity
113-
int8_t mModule = 0; ///< Module number
114-
int8_t mNExMax = -1; ///< number of (Ex-)maxima before unfolding
113+
int8_t mModule = 0; ///< Module number
114+
int8_t mNExMax = -1; ///< number of (Ex-)maxima before unfolding
115115
float mLocalPosX = 0.; ///< Center of gravity position in local module coordunates (phi direction)
116116
float mLocalPosZ = 0.; ///< Center of gravity position in local module coordunates (z direction)
117117
float mEnergy = 0.; ///< full energy of a cluster

DataFormats/Detectors/PHOS/include/DataFormatsPHOS/Cluster.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class Cluster
8888
// 0: was no unfolging, -1: unfolding failed
8989
void setNExMax(int8_t nmax = 1) { mNExMax = nmax; }
9090
int8_t getNExMax() const { return mNExMax; } // Number of maxima found in cluster in unfolding:
91-
// 0: was no unfolging, -1: unfolding failed
91+
// 0: was no unfolging, -1: unfolding failed
9292
int8_t module() const { return mModule; } // PHOS module of a current cluster
9393
void setModule(int8_t mod) { mModule = mod; } // set PHOS module of a current cluster
9494

@@ -110,9 +110,9 @@ class Cluster
110110
// std::vector<Digit>::const_iterator BinarySearch(const std::vector<Digit>* container, Digit& element);
111111

112112
protected:
113-
int8_t mModule = 0; ///< Module number
114-
int8_t mNExMax = -1; ///< number of (Ex-)maxima before unfolding
115-
int8_t mFiredTrigger = 0; ///< matched with PHOS trigger: 0 no match, bit 1 with 2x2, bit 2 with 4x4
113+
int8_t mModule = 0; ///< Module number
114+
int8_t mNExMax = -1; ///< number of (Ex-)maxima before unfolding
115+
int8_t mFiredTrigger = 0; ///< matched with PHOS trigger: 0 no match, bit 1 with 2x2, bit 2 with 4x4
116116
uint32_t mFirstCluElement = -1; ///< index of the first contributing CluElement in a list
117117
uint32_t mLastCluElement = -1; ///< index of the last contributing CluElement in a list
118118
float mLocalPosX = 0.; ///< Center of gravity position in local module coordunates (phi direction)

DataFormats/Detectors/PHOS/src/CalibParams.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ bool CalibParams::setGain(TH2* h, int8_t module)
6969
bool CalibParams::setHGLGRatio(TH2* h, int8_t module)
7070
{
7171
const int8_t MAXX = 64,
72-
MAXZ = 56;
72+
MAXZ = 56;
7373
if (module < 1 || module > 4) {
7474
LOG(error) << "module " << module << "does not exist";
7575
return false;
@@ -105,7 +105,7 @@ bool CalibParams::setHGLGRatio(TH2* h, int8_t module)
105105
bool CalibParams::setHGTimeCalib(TH2* h, int8_t module)
106106
{
107107
const int8_t MAXX = 64,
108-
MAXZ = 56;
108+
MAXZ = 56;
109109
if (module < 1 || module > 4) {
110110
LOG(error) << "module " << module << "does not exist";
111111
return false;

Detectors/Align/include/Align/AlignableVolume.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class AlignableVolume : public DOFSet
233233
bool mIsDummy = false; // placeholder (e.g. inactive), used to have the numbering corresponding to position in the container
234234
bool mIsDummyEnvelope = false; // some volumes are dummy envelopes for their children
235235
//
236-
int8_t mNDOFGeomFree = 0; // number of free geom degrees of freedom
236+
int8_t mNDOFGeomFree = 0; // number of free geom degrees of freedom
237237
uint8_t mConstrChild = 0; // bitpattern for constraints on children corrections
238238
//
239239
AlignableVolume* mParent = nullptr; // parent volume

Detectors/PHOS/base/include/PHOSBase/Geometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Geometry
100100
// relid[0] = PHOS Module number 1:module
101101
// relid[1] = Row number inside a PHOS module (Phi coordinate)
102102
// relid[2] = Column number inside a PHOS module (Z coordinate)
103-
static bool absToRelNumbering(short absId, int8_t * relid);
103+
static bool absToRelNumbering(short absId, int8_t* relid);
104104
static int8_t absIdToModule(short absId);
105105
static void absIdToRelPosInModule(short absId, float& x, float& z);
106106
static void relPosToRelId(short module, float x, float z, int8_t* relId);

Detectors/PHOS/reconstruction/src/Clusterer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,8 +668,8 @@ int8_t Clusterer::getNumberOfLocalMax(Cluster& clu, std::vector<CluElement>& clu
668668
}
669669
}
670670
} // if areneighbours
671-
} // digit j
672-
} // digit i
671+
} // digit j
672+
} // digit i
673673

674674
int iDigitN = 0;
675675
for (std::size_t i = 0; i < mIsLocalMax.size(); i++) {

0 commit comments

Comments
 (0)