Skip to content

Commit 464889d

Browse files
authored
Add files via upload
1 parent 817680e commit 464889d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

PWGDQ/Tasks/tableReader_withAssoc.cxx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,6 +1343,8 @@ struct AnalysisSameEventPairing {
13431343
Configurable<std::string> geoPath{"geoPath", "GLO/Config/GeometryAligned", "Path of the geometry file"};
13441344
Configurable<std::string> GrpLhcIfPath{"grplhcif", "GLO/Config/GRPLHCIF", "Path on the CCDB for the GRPLHCIF object"};
13451345
Configurable<std::string> efficiencyPath{"effHistPath", "Users/z/zhxiong/efficiency", "Path on the CCDB for the efficiency histograms"};
1346+
Configurable<float> fConfigDileptonTauxyCut{"cfgDileptonTauxyCut", -10000, "Tauxy cut for dileptons used to select the non-prompt Jpsi"};
1347+
13461348
} fConfigCCDB;
13471349

13481350
struct : ConfigurableGroup {
@@ -1974,7 +1976,10 @@ struct AnalysisSameEventPairing {
19741976
if (fConfigOptions.useEfficiencyWeighting) {
19751977
VarManager::FillEfficiency();
19761978
}
1977-
1979+
// Fill the pair only if it passes the tau-xy cut
1980+
if (VarManager::fgValues[VarManager::kVertexingTauxyProjectedPoleJPsiMass] < fConfigDileptonTauxyCut) {
1981+
continue;
1982+
}
19781983
dielectronList(event.globalIndex(), VarManager::fgValues[VarManager::kMass],
19791984
VarManager::fgValues[VarManager::kPt], VarManager::fgValues[VarManager::kEta], VarManager::fgValues[VarManager::kPhi],
19801985
t1.sign() + t2.sign(), twoTrackFilter, 0);

0 commit comments

Comments
 (0)