Skip to content

Commit f1587f7

Browse files
committed
for fucks sake
1 parent aeec919 commit f1587f7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,11 +1979,6 @@ struct HfTaskCharmPolarisation {
19791979
template <charm_polarisation::DecayChannel Channel, bool WithMl, bool DoMc, bool StudyLcPkPiBkgMc = false, bool WithEp = false, typename Cand, typename Part, typename Trk, typename T, typename QVecs = void>
19801980
bool runPolarisationAnalysis(Cand const& candidate, int bkgRotationId, T numPvContributors, Part const& particles, Trk const& /*tracks*/, float centrality = -999.f, QVecs const* qVecs = nullptr)
19811981
{
1982-
if constexpr (WithEp && !DoMc) {
1983-
assert(qVecs && "EP analysis requested but qVecs == nullptr");
1984-
assert(centrality && "EP analysis requested but centrality == nullptr");
1985-
}
1986-
19871982
constexpr std::size_t NScores{3u};
19881983

19891984
bool isCandidateInSignalRegion{false};
@@ -2577,7 +2572,6 @@ struct HfTaskCharmPolarisation {
25772572
void runMcGenPolarisationAnalysis(Part const& mcParticle, Particles const& mcParticles, T numPvContributors, Cent const* centrality = nullptr)
25782573
{
25792574
if constexpr (WithCent) {
2580-
assert(qVecs && "Centrality analysis requested but Cent == nullptr");
25812575
}
25822576
if constexpr (WithCent) {
25832577
if (*centrality < centralityMin || *centrality > centralityMax) {

0 commit comments

Comments
 (0)