Skip to content

Commit

Permalink
Fixes to derived analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobrigk committed Jan 16, 2024
1 parent 2484d85 commit d7a3fdc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions PWGLF/Tasks/derivedlambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ struct derivedlambdakzeroanalysis {
Configurable<float> daughterEtaCut{"daughterEtaCut", 0.8, "max eta for daughters"};

// Standard 5 topological criteria
Configurable<float> v0cospa{"v0cospa", 0.995, "min V0 CosPA"};
Configurable<float> v0cospa{"v0cospa", 0.97, "min V0 CosPA"};
Configurable<float> dcav0dau{"dcav0dau", 1.0, "max DCA V0 Daughters (cm)"};
Configurable<float> dcanegtopv{"dcanegtopv", .1, "min DCA Neg To PV (cm)"};
Configurable<float> dcapostopv{"dcapostopv", .1, "min DCA Pos To PV (cm)"};
Configurable<float> v0radius{"v0radius", 5.0, "minimum V0 radius (cm)"};
Configurable<float> dcanegtopv{"dcanegtopv", .05, "min DCA Neg To PV (cm)"};
Configurable<float> dcapostopv{"dcapostopv", .05, "min DCA Pos To PV (cm)"};
Configurable<float> v0radius{"v0radius", 1.2, "minimum V0 radius (cm)"};

// PID (TPC)
Configurable<float> TpcPidNsigmaCut{"TpcPidNsigmaCut", 5, "TpcPidNsigmaCut"};
Expand Down Expand Up @@ -174,7 +174,7 @@ struct derivedlambdakzeroanalysis {

Filter preFilterV0 = nabs(aod::v0data::dcapostopv) > dcapostopv&& nabs(aod::v0data::dcanegtopv) > dcanegtopv&& aod::v0data::dcaV0daughters<dcav0dau && aod::v0data::v0cosPA> v0cospa;

void process(soa::Join<aod::StraCollisions, aod::StraCents, aod::StraEvSels>::iterator const& collision, soa::Filtered<soa::Join<aod::V0Cores, aod::V0Extras>> const& fullV0s, dauTracks const&)
void process(soa::Join<aod::StraCollisions, aod::StraCents, aod::StraEvSels>::iterator const& collision, soa::Filtered<soa::Join<aod::V0CollRefs, aod::V0Cores, aod::V0Extras>> const& fullV0s, dauTracks const&)
{
histos.fill(HIST("hEventSelection"), 0.5 /* all collisions */);
if (!collision.sel8()) {
Expand Down Expand Up @@ -223,7 +223,7 @@ struct derivedlambdakzeroanalysis {
}
}
} // end radius check
}
} // env V0 loop
}
};

Expand Down

0 comments on commit d7a3fdc

Please sign in to comment.