Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions PWGUD/Tasks/processMCDPMJetSGv3.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGUD/Tasks/processMCDPMJetSGv3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Provide mandatory file documentation.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand All @@ -11,7 +11,7 @@
/// \file processMCDPMJetSGv3.cxx
/// \brief Process MC DPMJet events for inclusive studies.
///
/// \author Simone Ragoni

Check failure on line 14 in PWGUD/Tasks/processMCDPMJetSGv3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.

#include "Framework/runDataProcessing.h"
#include "Framework/AnalysisTask.h"
Expand All @@ -22,8 +22,8 @@
#include "PWGUD/DataModel/UDTables.h"
// #include "TLorentzVector.h"
// #include "TVector3.h"
#include "Math/LorentzVector.h" // ROOT::Math::LorentzVector
#include "Math/PxPyPzM4D.h" // ROOT::Math::PxPyPzM4D
#include "Math/LorentzVector.h" // ROOT::Math::LorentzVector
#include "Math/PxPyPzM4D.h" // ROOT::Math::PxPyPzM4D
#include "TMath.h"

using namespace o2;
Expand Down Expand Up @@ -56,9 +56,6 @@
using TC = TCs::iterator;
using LorentzVectorM = ROOT::Math::LorentzVector<ROOT::Math::PxPyPzM4D<double>>;




double massPion = 0.;
double massKaon = 0.;
double massProton = 0.;
Expand Down Expand Up @@ -178,11 +175,10 @@
counterMC += 1;
// if(mcParticle.isPhysicalPrimary()) counterMC += 1;
LorentzVectorM protoMC(
mcParticle.px(),
mcParticle.py(),
mcParticle.pz(),
massPion
);
mcParticle.px(),
mcParticle.py(),
mcParticle.pz(),
massPion);
double etaMax = 0.8;
double ptMin = 0.1;
if (std::fabs(protoMC.Eta()) < etaMax && protoMC.Pt() > ptMin) {
Expand Down
Loading