Skip to content

Commit 8fb2b30

Browse files
committed
Please consider the following formatting changes
1 parent bdab499 commit 8fb2b30

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Common/Tasks/flowTest.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct flowTest {
6161
histos.add<TH2>("hTrackPhiVsEventPlaneAngle", "hTrackPhiVsEventPlaneAngle", HistType::kTH2D, {axisPhi, axisPhi});
6262
histos.add<TH2>("hTrackDeltaPhiVsEventPlaneAngle", "hTrackDeltaPhiVsEventPlaneAngle", HistType::kTH2D, {axisPhi, axisPhi});
6363

64-
// analysis
64+
// analysis
6565
histos.add<TH2>("hPtVsPhiGenerated", "hPtVsPhiGenerated", HistType::kTH2D, {axisPhi, axisPt});
6666
histos.add<TH2>("hPtVsPhiGlobal", "hPtVsPhiGlobal", HistType::kTH2D, {axisPhi, axisPt});
6767
histos.add<TH3>("hBVsPtVsPhiGenerated", "hBVsPtVsPhiGenerated", HistType::kTH3D, {axisB, axisPhi, axisPt});
@@ -139,28 +139,28 @@ struct flowTest {
139139
bool validITSTrackFake = false;
140140
bool validITSABTrack = false;
141141
bool validITSABTrackFake = false;
142-
bool validAnalysisTrack = false;
142+
bool validAnalysisTrack = false;
143143
bool validAnalysisTrackFake = false;
144144
if (mcParticle.has_tracks()) {
145145
auto const& tracks = mcParticle.tracks_as<recoTracksWithLabels>();
146146
for (auto const& track : tracks) {
147147
bool isITSFake = false;
148148

149-
for(int bit = 0; bit < 7; bit++){
150-
if(bitcheck(track.mcMask(), bit)){
149+
for (int bit = 0; bit < 7; bit++) {
150+
if (bitcheck(track.mcMask(), bit)) {
151151
isITSFake = true;
152152
}
153153
}
154154

155-
if (track.tpcNClsFound() > analysisMinimumTPCClusters && track.itsNCls() > analysisMinimumITSClusters){
155+
if (track.tpcNClsFound() > analysisMinimumTPCClusters && track.itsNCls() > analysisMinimumITSClusters) {
156156
validAnalysisTrack = true;
157-
if(isITSFake){
157+
if (isITSFake) {
158158
validAnalysisTrackFake = true;
159159
}
160160
}
161161
if (track.hasTPC() && track.hasITS()) {
162162
validGlobal = true;
163-
if(isITSFake){
163+
if (isITSFake) {
164164
validGlobalFake = true;
165165
}
166166
}
@@ -172,13 +172,13 @@ struct flowTest {
172172
}
173173
if (track.hasITS() && track.itsChi2NCl() > -1e-6) {
174174
validITSTrack = true;
175-
if(isITSFake){
175+
if (isITSFake) {
176176
validITSTrackFake = true;
177177
}
178178
}
179179
if (track.hasITS() && track.itsChi2NCl() < -1e-6) {
180180
validITSABTrack = true;
181-
if(isITSFake){
181+
if (isITSFake) {
182182
validITSABTrackFake = true;
183183
}
184184
}
@@ -190,13 +190,13 @@ struct flowTest {
190190
histos.fill(HIST("hPtVsPhiGlobal"), deltaPhi, mcParticle.pt());
191191
histos.fill(HIST("hBVsPtVsPhiGlobal"), imp, deltaPhi, mcParticle.pt());
192192
}
193-
if (validGlobalFake){
193+
if (validGlobalFake) {
194194
histos.fill(HIST("hBVsPtVsPhiGlobalFake"), imp, deltaPhi, mcParticle.pt());
195195
}
196196
if (validAnalysisTrack) {
197197
histos.fill(HIST("hBVsPtVsPhiAnalysis"), imp, deltaPhi, mcParticle.pt());
198198
}
199-
if (validAnalysisTrackFake){
199+
if (validAnalysisTrackFake) {
200200
histos.fill(HIST("hBVsPtVsPhiAnalysisFake"), imp, deltaPhi, mcParticle.pt());
201201
}
202202
// if any track present, fill

0 commit comments

Comments
 (0)