Skip to content

Commit 8ecc808

Browse files
committed
Please consider the following formatting changes
1 parent a730f52 commit 8ecc808

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

PWGLF/Tasks/Resonances/kstarInOO.cxx

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct kstarInOO {
102102

103103
// Mixing
104104
ConfigurableAxis cfg_bins_MixMult{"cfg_bins_Cent", {VARIABLE_WIDTH, 0.0, 1.0, 5.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0}, "Binning of the centrality axis"};
105-
ConfigurableAxis cfg_bins_MixVtx{"cfg_bins_MixVtx", {VARIABLE_WIDTH, -10.0f, -5.f, 0.f, 5.f, 10.f}, "Mixing bins - z-vertex"};
105+
ConfigurableAxis cfg_bins_MixVtx{"cfg_bins_MixVtx", {VARIABLE_WIDTH, -10.0f, -5.f, 0.f, 5.f, 10.f}, "Mixing bins - z-vertex"};
106106
Configurable<int> cfg_Mix_NMixedEvents{"cfg_Mix_NMixedEvents", 10, "Number of mixed events per event"};
107107

108108
// Pair
@@ -125,12 +125,11 @@ struct kstarInOO {
125125
const AxisSpec PIDAxis = {120, -6, 6};
126126
const AxisSpec MinvAxis = {cfg_MinvNBins, cfg_MinvMin, cfg_MinvMax};
127127

128-
if (cfg_Event_CutQA){
128+
if (cfg_Event_CutQA) {
129129
OOhistos.add("hPosZ_BC", "PosZ_Bc", kTH1F, {{100, 0.0, 15.0}});
130130
OOhistos.add("hPosZ_AC", "PosZ_AC", kTH1F, {{100, 0.0, 15.0}});
131131
}
132132

133-
134133
if (cfg_Track_CutQA) {
135134
OOhistos.add("h_rawpT", "h_rawpT", kTH1F, {{1000, 0.0, 10.0}});
136135
OOhistos.add("h_rawpT_Kaon", "h_rawpT_Kaon", kTH1F, {{1000, 0.0, 10.0}});
@@ -200,7 +199,7 @@ struct kstarInOO {
200199
if (!event.selection_bit(aod::evsel::kNoCollInTimeRangeStandard))
201200
return false;
202201

203-
return true;
202+
return true;
204203
};
205204

206205
template <typename TracksType>
@@ -340,9 +339,9 @@ struct kstarInOO {
340339
if (!trackPIDKaon(trk1) || !trackPIDPion(trk2))
341340
return {-1.0, -1.0};
342341

343-
if (trk1.globalIndex() == trk2.globalIndex()){
342+
if (trk1.globalIndex() == trk2.globalIndex()) {
344343
// std::cout<<"This happens"<<std::endl;
345-
344+
346345
return {-1.0, -1.0}; // For Kstar, we need to run (0,1), (1,0) pairs as well. but same id pairs are not neede.
347346
}
348347
lDecayDaughter1.SetXYZM(trk1.px(), trk1.py(), trk1.pz(), massKa);
@@ -390,16 +389,16 @@ struct kstarInOO {
390389

391390
OOhistos.fill(HIST("nEvents_MC"), 1.5);
392391
TrackSlicing_MC(collision, tracks, collision, tracks, false);
393-
392+
394393
} // processSameEvents_MC
395394
PROCESS_SWITCH(kstarInOO, processSameEvent_MC, "process Same Event MC", true);
396-
395+
397396
//=======================================================
398397
//|
399398
//| MC STUFF (ME)
400399
//|
401400
//=======================================================
402-
401+
403402
int nEvents_MC_Mix = 0;
404403
void processMixedEvent_MC(EventCandidates const& collisions, TrackCandidates_MC const& tracks, aod::McParticles const&)
405404
{
@@ -416,7 +415,7 @@ struct kstarInOO {
416415
auto goodEv1 = eventSelection(collision1);
417416
auto goodEv2 = eventSelection(collision2);
418417
OOhistos.fill(HIST("nEvents_MC_Mix"), 0.5);
419-
418+
420419
if (!goodEv1 || !goodEv2)
421420
continue;
422421

@@ -426,10 +425,7 @@ struct kstarInOO {
426425
} // mixing
427426
} // processMixedEvent_MC
428427
PROCESS_SWITCH(kstarInOO, processMixedEvent_MC, "process Mixed Event MC", false);
429-
430428

431-
432-
433429
void processEventsDummy(EventCandidates::iterator const&, TrackCandidates const&)
434430
{
435431
return;
@@ -438,8 +434,6 @@ struct kstarInOO {
438434

439435
}; // kstarInOO
440436

441-
442-
443437
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
444438
{
445439
return WorkflowSpec{adaptAnalysisTask<kstarInOO>(cfgc)};

0 commit comments

Comments
 (0)