Skip to content

Commit ba4c576

Browse files
committed
Please consider the following formatting changes
1 parent a147645 commit ba4c576

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

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/reconstruction/include/ITS3Reconstruction/TopologyDictionary.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class TopologyDictionary
5151
static constexpr int NumberOfRareGroups = MaxNumberOfRowClasses * MaxNumberOfColClasses; ///< Number of entries corresponding to groups of rare topologies (those whos matrix exceed the max number of bytes are empty).
5252
/// Resets internal structures
5353
void reset() noexcept;
54-
void resetMaps(bool IB=true) noexcept;
54+
void resetMaps(bool IB = true) noexcept;
5555
/// Prints the dictionary
5656
friend std::ostream& operator<<(std::ostream& os, const its3::TopologyDictionary& dictionary);
5757
/// Prints the dictionary in a binary file
@@ -62,85 +62,85 @@ class TopologyDictionary
6262
void print() const noexcept;
6363

6464
/// Returns the x position of the COG for the n_th element
65-
[[nodiscard]] float getXCOG(int n, bool IB=true) const
65+
[[nodiscard]] float getXCOG(int n, bool IB = true) const
6666
{
6767
const auto& data = (IB) ? mDataIB : mDataOB;
6868
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
6969
return data.mVectorOfIDs[n].mXCOG;
7070
}
7171
/// Returns the error on the x position of the COG for the n_th element
72-
[[nodiscard]] float getErrX(int n, bool IB=true) const
72+
[[nodiscard]] float getErrX(int n, bool IB = true) const
7373
{
7474
const auto& data = (IB) ? mDataIB : mDataOB;
7575
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
7676
return data.mVectorOfIDs[n].mErrX;
7777
}
7878
/// Returns the z position of the COG for the n_th element
79-
[[nodiscard]] float getZCOG(int n, bool IB=true) const
79+
[[nodiscard]] float getZCOG(int n, bool IB = true) const
8080
{
8181
const auto& data = (IB) ? mDataIB : mDataOB;
8282
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
8383
return data.mVectorOfIDs[n].mZCOG;
8484
}
8585
/// Returns the error on the z position of the COG for the n_th element
86-
[[nodiscard]] float getErrZ(int n, bool IB=true) const
86+
[[nodiscard]] float getErrZ(int n, bool IB = true) const
8787
{
8888
const auto& data = (IB) ? mDataIB : mDataOB;
8989
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
9090
return data.mVectorOfIDs[n].mErrZ;
9191
}
9292
/// Returns the error^2 on the x position of the COG for the n_th element
93-
[[nodiscard]] float getErr2X(int n, bool IB=true) const
93+
[[nodiscard]] float getErr2X(int n, bool IB = true) const
9494
{
9595
const auto& data = (IB) ? mDataIB : mDataOB;
9696
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
9797
return data.mVectorOfIDs[n].mErr2X;
9898
}
9999
/// Returns the error^2 on the z position of the COG for the n_th element
100-
[[nodiscard]] float getErr2Z(int n, bool IB=true) const
100+
[[nodiscard]] float getErr2Z(int n, bool IB = true) const
101101
{
102102
const auto& data = (IB) ? mDataIB : mDataOB;
103103
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
104104
return data.mVectorOfIDs[n].mErr2Z;
105105
}
106106
/// Returns the hash of the n_th element
107-
[[nodiscard]] unsigned long getHash(int n, bool IB=true) const
107+
[[nodiscard]] unsigned long getHash(int n, bool IB = true) const
108108
{
109109
const auto& data = (IB) ? mDataIB : mDataOB;
110110
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
111111
return data.mVectorOfIDs[n].mHash;
112112
}
113113
/// Returns the number of fired pixels of the n_th element
114-
[[nodiscard]] int getNpixels(int n, bool IB=true) const
114+
[[nodiscard]] int getNpixels(int n, bool IB = true) const
115115
{
116116
const auto& data = (IB) ? mDataIB : mDataOB;
117117
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
118118
return data.mVectorOfIDs[n].mNpixels;
119119
}
120120
/// Returns the frequency of the n_th element;
121-
[[nodiscard]] double getFrequency(int n, bool IB=true) const
121+
[[nodiscard]] double getFrequency(int n, bool IB = true) const
122122
{
123123
const auto& data = (IB) ? mDataIB : mDataOB;
124124
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
125125
return data.mVectorOfIDs[n].mFrequency;
126126
}
127127
/// Returns true if the element corresponds to a group of rare topologies
128-
[[nodiscard]] bool isGroup(int n, bool IB=true) const
128+
[[nodiscard]] bool isGroup(int n, bool IB = true) const
129129
{
130130
const auto& data = (IB) ? mDataIB : mDataOB;
131131
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
132132
return data.mVectorOfIDs[n].mIsGroup;
133133
}
134134
/// Returns the pattern of the topology
135-
[[nodiscard]] const itsmft::ClusterPattern& getPattern(int n, bool IB=true) const
135+
[[nodiscard]] const itsmft::ClusterPattern& getPattern(int n, bool IB = true) const
136136
{
137137
const auto& data = (IB) ? mDataIB : mDataOB;
138138
assert(n >= 0 || n < (int)data.mVectorOfIDs.size());
139139
return data.mVectorOfIDs[n].mPattern;
140140
}
141141

142142
/// Fills a hostogram with the distribution of the IDs
143-
[[nodiscard]] TH1F* getTopologyDistribution(const std::string_view hname, bool IB=true) const;
143+
[[nodiscard]] TH1F* getTopologyDistribution(const std::string_view hname, bool IB = true) const;
144144
/// Returns the number of elements in the dicionary;
145145
[[nodiscard]] int getSize(bool IB) const
146146
{

0 commit comments

Comments
 (0)