Skip to content

Commit 4cc2ea6

Browse files
committed
MeanpTfluct
1 parent 2e3f700 commit 4cc2ea6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PWGCF/EbyEFluctuations/Tasks/eventMeanPtId.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ struct EventMeanPtId {
667667
histos.fill(HIST("Data/hCentrality"), cent);
668668

669669
double nch = 0., nchPi = 0., nchKa = 0., nchPr = 0., nchAll = 0., nchAllBfCut = 0., nchEta = 0., nchPt = 0.;
670-
double q1 = 0., q2 = 0., q1Old = 0., q2Old = 0.;
670+
double q1 = 0., q2 = 0.;
671671
double q1Pi = 0., q2Pi = 0., q1Ka = 0., q2Ka = 0., q1Pr = 0., q2Pr = 0.;
672672
double var1 = 0., var2 = 0., twoParAllCharge = 0.;
673673
double var1Pi = 0., var2Pi = 0.;
@@ -718,8 +718,6 @@ struct EventMeanPtId {
718718
if (track.pt() >= cPtmincut || track.pt() <= cPtmaxcut) // do not change this (it is for different pt work)
719719
{
720720
nch += 1.;
721-
q1Old += track.pt();
722-
q2Old += (track.pt() * track.pt());
723721
histos.fill(HIST("Data/hnch"), nch);
724722
}
725723

@@ -891,7 +889,7 @@ struct EventMeanPtId {
891889
SliceCache cache;
892890
Preslice<aod::McParticles> mcTrack = o2::aod::mcparticle::mcCollisionId;
893891
void processMcReco(aod::MyMCRecoCollision const& coll, aod::MyMCRecoTracks const& inputTracks, aod::McCollisions const& mcCollisions, aod::McParticles const& mcParticles)
894-
{
892+
{ (void)mcCollisions;
895893
if (!coll.has_mcCollision()) {
896894
return;
897895
}

0 commit comments

Comments
 (0)