Skip to content

Commit 562cd49

Browse files
committed
for fucks sake
1 parent af98f0c commit 562cd49

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,8 +1580,6 @@ struct HfTaskCharmPolarisation {
15801580
bool runPolarisationAnalysis(Cand const& candidate, int bkgRotationId, int numPvContributors, Part const& particles, Trk const& /*tracks*/, float centrality = -999.f, QVecs const* qVecs = nullptr)
15811581
{
15821582
if constexpr (WithEp) {
1583-
assert(qVecs && "EP analysis requested but qVecs == nullptr");
1584-
assert(centrality && "EP analysis requested but centrality == nullptr");
15851583
}
15861584

15871585
constexpr std::size_t NScores{3u};
@@ -2126,7 +2124,6 @@ struct HfTaskCharmPolarisation {
21262124
void runMcGenPolarisationAnalysis(Part const& mcParticle, Particles const& mcParticles, int numPvContributors, Cent const* centrality = nullptr)
21272125
{
21282126
if constexpr (WithCent) {
2129-
assert(qVecs && "Centrality analysis requested but Cent == nullptr");
21302127
}
21312128
if constexpr (WithCent) {
21322129
if (*centrality < centralityMin || *centrality > centralityMax) {

0 commit comments

Comments
 (0)