Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions PWGDQ/Core/CutsLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,13 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName)
return cut;
}

if (!nameStr.compare("lmee_TPCTrackRun3_lowPt")) {
cut->AddCut(GetAnalysisCut("lmeeLowBKine"));
cut->AddCut(GetAnalysisCut("TightTPCTrackRun3"));
cut->AddCut(GetAnalysisCut("standardPrimaryTrack"));
return cut;
}

if (!nameStr.compare("lmee_GlobalTrackRun3_TPC_ePID_lowPt")) {
cut->AddCut(GetAnalysisCut("lmeeLowBKine"));
cut->AddCut(GetAnalysisCut("TightGlobalTrackRun3"));
Expand Down Expand Up @@ -460,6 +467,12 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
return cut;
}

if (!nameStr.compare("TightTPCTrackRun3")) {
cut->AddCut(VarManager::kTPCchi2, 0.0, 4.0);
cut->AddCut(VarManager::kTPCnclsCR, 80.0, 161.);
return cut;
}

if (!nameStr.compare("electronStandardQuality")) {
cut->AddCut(VarManager::kIsSPDany, 0.5, 1.5);
cut->AddCut(VarManager::kIsITSrefit, 0.5, 1.5);
Expand Down
13 changes: 13 additions & 0 deletions PWGDQ/Core/MCSignalLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
signal = new MCSignal(name, "Primary electrons", {prong}, {-1}); // define the signal using the full constructor
return signal;
}
if (!nameStr.compare("pionPrimary")) {
MCProng prong(1, {211}, {true}, {false}, {0}, {0}, {false}); // define 1-generation prong using the full constructor
prong.SetSourceBit(0, MCProng::kPhysicalPrimary); // set source to be ALICE primary particles
signal = new MCSignal(name, "Primary electrons", {prong}, {-1}); // define the signal using the full constructor
return signal;
}
if (!nameStr.compare("photon")) {
MCProng prong(1, {22}, {true}, {false}, {0}, {0}, {false}); // define 1-generation prong using the full constructor
signal = new MCSignal(name, "Photon", {prong}, {-1}); // define the signal using the full constructor
Expand Down Expand Up @@ -357,6 +363,13 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
signal = new MCSignal(name, "Electrons from open charmed hadron decays from b hadron decays", {prong}, {-1});
return signal;
}
if (!nameStr.compare("HFdecayToE")) {
MCProng prong(2, {902, 11}, {true, true}, {false, false}, {0, 0}, {0, 0}, {false, false});
// prong.SetSourceBit(0, MCProng::kPhysicalPrimary, false); // set source to be ALICE primary particles
prong.SetSignalInTime(true); // set direction to check for daughters (true, in time) or for mothers (false, back in time)
signal = new MCSignal(name, "Open charm and beauty to electrons", {prong}, {-1});
return signal;
}
// if (!nameStr.compare("LFQtoPC")) {
// MCProng prong(3, {900, 22, 11}, {true, true, true}, {false, false, false}, {0, 0, 0}, {0, 0, 0}, {false, false, false});
// prong.SetSignalInTime(true); // set direction to check for daughters (true, in time) or for mothers (false, back in time)
Expand Down
2 changes: 1 addition & 1 deletion PWGDQ/Core/VarManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ void VarManager::FillTrack(T const& track, float* values)
if constexpr ((fillMap & ReducedTrackBarrel) > 0) {
if (fgUsedVars[kITSncls]) {
values[kITSncls] = 0.0;
for (int i = 0; i < 6; ++i) {
for (int i = 0; i < 7; ++i) {
values[kITSncls] += ((track.itsClusterMap() & (1 << i)) ? 1 : 0);
}
}
Expand Down