Skip to content

Commit 8531926

Browse files
authored
Please consider the following formatting changes (AliceO2Group#396)
1 parent c093253 commit 8531926

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
@@ -60,7 +60,7 @@ struct flowTest {
6060
histos.add<TH1>("hEventPlaneAngle", "hEventPlaneAngle", HistType::kTH1D, {axisPhi});
6161
histos.add<TH2>("hTrackPhiVsEventPlaneAngle", "hTrackPhiVsEventPlaneAngle", HistType::kTH2D, {axisPhi, axisPhi});
6262

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

147-
for(int bit = 0; bit < 7; bit++){
148-
if(bitcheck(track.mcMask(), bit)){
147+
for (int bit = 0; bit < 7; bit++) {
148+
if (bitcheck(track.mcMask(), bit)) {
149149
isITSFake = true;
150150
}
151151
}
152152

153-
if (track.tpcNClsFound() > analysisMinimumTPCClusters && track.itsNCls() > analysisMinimumITSClusters){
153+
if (track.tpcNClsFound() > analysisMinimumTPCClusters && track.itsNCls() > analysisMinimumITSClusters) {
154154
validAnalysisTrack = true;
155-
if(isITSFake){
155+
if (isITSFake) {
156156
validAnalysisTrackFake = true;
157157
}
158158
}
159159
if (track.hasTPC() && track.hasITS()) {
160160
validGlobal = true;
161-
if(isITSFake){
161+
if (isITSFake) {
162162
validGlobalFake = true;
163163
}
164164
}
@@ -170,13 +170,13 @@ struct flowTest {
170170
}
171171
if (track.hasITS() && track.itsChi2NCl() > -1e-6) {
172172
validITSTrack = true;
173-
if(isITSFake){
173+
if (isITSFake) {
174174
validITSTrackFake = true;
175175
}
176176
}
177177
if (track.hasITS() && track.itsChi2NCl() < -1e-6) {
178178
validITSABTrack = true;
179-
if(isITSFake){
179+
if (isITSFake) {
180180
validITSABTrackFake = true;
181181
}
182182
}
@@ -188,13 +188,13 @@ struct flowTest {
188188
histos.fill(HIST("hPtVsPhiGlobal"), deltaPhi, mcParticle.pt());
189189
histos.fill(HIST("hBVsPtVsPhiGlobal"), imp, deltaPhi, mcParticle.pt());
190190
}
191-
if (validGlobalFake){
191+
if (validGlobalFake) {
192192
histos.fill(HIST("hBVsPtVsPhiGlobalFake"), imp, deltaPhi, mcParticle.pt());
193193
}
194194
if (validAnalysisTrack) {
195195
histos.fill(HIST("hBVsPtVsPhiAnalysis"), imp, deltaPhi, mcParticle.pt());
196196
}
197-
if (validAnalysisTrackFake){
197+
if (validAnalysisTrackFake) {
198198
histos.fill(HIST("hBVsPtVsPhiAnalysisFake"), imp, deltaPhi, mcParticle.pt());
199199
}
200200
// if any track present, fill

0 commit comments

Comments
 (0)