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
2 changes: 1 addition & 1 deletion PWGUD/Tasks/upcRhoAnalysis.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 warning on line 1 in PWGUD/Tasks/upcRhoAnalysis.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 @@ -12,7 +12,7 @@
/// \brief task for analysis of rho in UPCs using UD tables (from SG producer)
/// includes event tagging based on ZN information, track selection, reconstruction,
/// and also some basic stuff for decay phi anisotropy studies
/// \author Jakub Juracka, jakub.juracka@cern.ch

Check warning on line 15 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[doc/file]

Documentation for \file is missing, incorrect or misplaced.

#include <string>
#include <vector>
Expand Down Expand Up @@ -100,15 +100,15 @@
} // namespace o2::aod

struct upcRhoAnalysis {
Produces<o2::aod::Tree> Tree;

Check warning on line 103 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.

double PcEtaCut = 0.9; // physics coordination recommendation

Check warning on line 105 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
Configurable<bool> requireTof{"requireTof", false, "require TOF signal"};
Configurable<bool> do4pi{"do4pi", true, "do 4pi analysis"};

Configurable<double> collisionsPosZMaxCut{"collisionsPosZMaxCut", 10.0, "max Z position cut on collisions"};
Configurable<double> ZNcommonEnergyCut{"ZNcommonEnergyCut", 0.0, "ZN common energy cut"};

Check warning on line 110 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
Configurable<double> ZNtimeCut{"ZNtimeCut", 2.0, "ZN time cut"};

Check warning on line 111 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.

Configurable<double> tracksTpcNSigmaPiCut{"tracksTpcNSigmaPiCut", 3.0, "TPC nSigma pion cut"};
Configurable<double> tracksDcaMaxCut{"tracksDcaMaxCut", 1.0, "max DCA cut on tracks"};
Expand Down Expand Up @@ -140,10 +140,10 @@
ConfigurableAxis momentumFromPhiAxis{"momentumFromPhiAxis", {400, -0.1, 0.1}, "p (GeV/#it{c})"};
// ConfigurableAxis ptQuantileAxis{"ptQuantileAxis", {0, 0.0181689, 0.0263408, 0.0330488, 0.0390369, 0.045058, 0.0512604, 0.0582598, 0.066986, 0.0788085, 0.1}, "p_{T} (GeV/#it{c})"};

HistogramRegistry QC{"QC", {}, OutputObjHandlingPolicy::AnalysisObject};

Check warning on line 143 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
HistogramRegistry Pions{"Pions", {}, OutputObjHandlingPolicy::AnalysisObject};

Check warning on line 144 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
HistogramRegistry System{"System", {}, OutputObjHandlingPolicy::AnalysisObject};

Check warning on line 145 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
HistogramRegistry MC{"MC", {}, OutputObjHandlingPolicy::AnalysisObject};

Check warning on line 146 in PWGUD/Tasks/upcRhoAnalysis.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/function-variable]

Use lowerCamelCase for names of functions and variables.
HistogramRegistry FourPiQA{"4piQA", {}, OutputObjHandlingPolicy::AnalysisObject};

void init(o2::framework::InitContext&)
Expand Down Expand Up @@ -774,7 +774,7 @@
collision.posX(), collision.posY(), collision.posZ(),
collision.totalFT0AmplitudeA(), collision.totalFT0AmplitudeC(), collision.totalFV0AmplitudeA(), collision.totalFDDAmplitudeA(), collision.totalFDDAmplitudeC(),
collision.timeFT0A(), collision.timeFT0C(), collision.timeFV0A(), collision.timeFDDA(), collision.timeFDDC(),
collision.energyCommonZNA(), collision.energyCommonZNC(), collision.timeZNA(), collision.timeZNC(), neutronClass,
collision.energyCommonZNA(), collision.energyCommonZNC(), collision.timeZNA(), collision.timeZNC(), neutronClass,
totalCharge, pT, system.Eta(), system.Phi(), mass, phiRandom, phiCharge,
trackSigns, trackPts, trackEtas, trackPhis, trackMs, trackPiPIDs, trackElPIDs, trackDcaXYs, trackDcaZs, trackTpcSignals);
// fill raw histograms according to the total charge
Expand Down
Loading