Skip to content

Commit 8c6212d

Browse files
authored
Comment out unused code in DileptonProducer.h
Commented out unused code related to centrality and vector addition.
1 parent ced631e commit 8c6212d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

PWGEM/Dilepton/Core/DileptonProducer.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ struct DileptonProducer {
466466
}
467467

468468
template <typename TCollision, typename TTrack1, typename TTrack2, typename TCut, typename TAllTracks>
469-
bool fillPairInfo(TCollision const& collision, TTrack1 const& t1, TTrack2 const& t2, TCut const& cut, TAllTracks const& tracks)
469+
bool fillPairInfo(TCollision const&, TTrack1 const& t1, TTrack2 const& t2, TCut const& cut, TAllTracks const& tracks)
470470
{
471471
if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
472472
if (dielectroncuts.cfg_pid_scheme == static_cast<int>(DielectronCut::PIDSchemes::kPIDML)) {
@@ -508,10 +508,9 @@ struct DileptonProducer {
508508

509509
ROOT::Math::PtEtaPhiMVector v1(t1.pt(), t1.eta(), t1.phi(), leptonM1);
510510
ROOT::Math::PtEtaPhiMVector v2(t2.pt(), t2.eta(), t2.phi(), leptonM2);
511-
ROOT::Math::PtEtaPhiMVector v12 = v1 + v2;
511+
// ROOT::Math::PtEtaPhiMVector v12 = v1 + v2;
512512

513513
float dca1 = 999.f, dca2 = 999.f;
514-
;
515514
if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
516515
dca1 = dca3DinSigma(t1);
517516
dca2 = dca3DinSigma(t2);
@@ -580,7 +579,7 @@ struct DileptonProducer {
580579
for (const auto& collision : collisions) {
581580
initCCDB(collision);
582581
const float centralities[3] = {collision.centFT0M(), collision.centFT0A(), collision.centFT0C()};
583-
float centrality = centralities[cfgCentEstimator];
582+
// float centrality = centralities[cfgCentEstimator];
584583
if (centralities[cfgCentEstimator] < cfgCentMin || cfgCentMax < centralities[cfgCentEstimator]) {
585584
continue;
586585
}

0 commit comments

Comments
 (0)