Skip to content

Commit 01a01d7

Browse files
Paola Vargas TorresPaola Vargas Torres
authored andcommitted
Phi prime cut was added
1 parent 7459b46 commit 01a01d7

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

PWGLF/Tasks/Nuspex/multiplicityPt.cxx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ struct MultiplicityPt {
138138

139139
// Custom track cuts matching spectraTOF
140140
TrackSelection customTrackCuts;
141-
141+
142142
// TF1 pointers for phi cuts
143143
TF1* fphiCutLow = nullptr;
144144
TF1* fphiCutHigh = nullptr;
@@ -178,7 +178,6 @@ struct MultiplicityPt {
178178
static constexpr int PDGKaon = kKPlus;
179179
static constexpr int PDGProton = kProton;
180180

181-
182181
// Get magnetic field from CCDB
183182
int getMagneticField(uint64_t timestamp)
184183
{
@@ -335,7 +334,7 @@ struct MultiplicityPt {
335334

336335
if (!passedNClTPCPIDCut(track))
337336
return false;
338-
337+
339338
// Add phi cut with magnetic field
340339
if (!passedPhiCut(track, magField))
341340
return false;
@@ -411,7 +410,6 @@ struct MultiplicityPt {
411410
return true;
412411
}
413412

414-
415413
void processData(CollisionTableData::iterator const& collision,
416414
TrackTableData const& tracks,
417415
BCsRun3 const& bcs);
@@ -426,7 +424,6 @@ struct MultiplicityPt {
426424
BCsRun3 const& bcs);
427425
PROCESS_SWITCH(MultiplicityPt, processMC, "process MC", true);
428426

429-
430427
void init(InitContext const&);
431428

432429
void endOfStream(EndOfStreamContext& /*eos*/)
@@ -441,13 +438,11 @@ struct MultiplicityPt {
441438
}
442439
};
443440

444-
445441
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
446442
{
447443
return WorkflowSpec{adaptAnalysisTask<MultiplicityPt>(cfgc)};
448444
}
449445

450-
451446
void MultiplicityPt::init(InitContext const&)
452447
{
453448
LOG(info) << "==================================================";
@@ -759,7 +754,6 @@ void MultiplicityPt::processMC(TrackTableMC const& tracks,
759754
LOG(info) << "Total collision labels: " << labels.size();
760755
LOG(info) << "Total centrality entries: " << centTable.size();
761756

762-
763757
LOG(info) << "\n=== CENTRALITY DEBUG - RAW DATA ===";
764758
LOG(info) << "First 20 centrality values from centTable:";
765759
int debugCount = 0;
@@ -790,7 +784,6 @@ void MultiplicityPt::processMC(TrackTableMC const& tracks,
790784
LOG(info) << "Checking if centrality might be inverted...";
791785
LOG(info) << "Will check correlation with multiplicity in the next step.";
792786

793-
794787
std::map<int64_t, int> mcCollisionToNch;
795788
std::map<int64_t, float> mcCollisionVz;
796789
std::set<int64_t> physicsSelectedMCCollisions;
@@ -908,7 +901,6 @@ void MultiplicityPt::processMC(TrackTableMC const& tracks,
908901
LOG(info) << "recoToMcMap size: " << recoToMcMap.size();
909902
LOG(info) << "recoToCentMap size: " << recoToCentMap.size();
910903

911-
912904
LOG(info) << "\n=== CENTRALITY VS MULTIPLICITY DEBUG ===";
913905

914906
// Create temporary vectors to check correlation

0 commit comments

Comments
 (0)