|
14 | 14 | /// \author s.scheid@cern.ch, daiki.sekihata@cern.ch |
15 | 15 | /// |
16 | 16 |
|
| 17 | +#include "ALICE3/DataModel/OTFCollision.h" |
17 | 18 | #include "ALICE3/DataModel/OTFRICH.h" |
18 | 19 | #include "ALICE3/DataModel/OTFTOF.h" |
19 | | -#include "ALICE3/DataModel/OTFCollision.h" |
20 | 20 | #include "ALICE3/DataModel/tracksAlice3.h" |
21 | 21 | #include "Common/DataModel/TrackSelectionTables.h" |
22 | 22 |
|
|
25 | 25 | #include <Framework/AnalysisDataModel.h> |
26 | 26 | #include <Framework/AnalysisTask.h> |
27 | 27 | #include <Framework/HistogramRegistry.h> |
28 | | -#include <Framework/runDataProcessing.h> |
29 | 28 | #include <Framework/O2DatabasePDGPlugin.h> |
| 29 | +#include <Framework/runDataProcessing.h> |
30 | 30 |
|
31 | 31 | #include <Math/Vector4D.h> |
32 | 32 |
|
33 | | - |
34 | 33 | #include <vector> |
35 | 34 |
|
36 | 35 | using namespace o2; |
@@ -106,7 +105,7 @@ struct Alice3Dilepton { |
106 | 105 | registry.add("Generated/Particle/prodVy", "Particle Prod. Vertex Y", kTH1F, {axisPrody}); |
107 | 106 | registry.add("Generated/Particle/prodVz", "Particle Prod. Vertex Z", kTH1F, {axisProdz}); |
108 | 107 | registry.add("Generated/Particle/ParticlesPerEvent", "Particles per event", kTH1F, {{100, 0, 100}}); |
109 | | - registry.add("Generated/Particle/ParticlesFit", "Charged Particles in Fit acceptance per event", kTH1F, {{15000,0,15000}}); |
| 108 | + registry.add("Generated/Particle/ParticlesFit", "Charged Particles in Fit acceptance per event", kTH1F, {{15000, 0, 15000}}); |
110 | 109 |
|
111 | 110 | registry.add("Generated/Pair/ULS/Tried", "Pair tries", kTH1F, {{10, -0.5, 9.5}}); |
112 | 111 | registry.add("Generated/Pair/ULS/Mass", "Pair Mass", kTH1F, {axisM}); |
@@ -608,10 +607,10 @@ struct Alice3Dilepton { |
608 | 607 |
|
609 | 608 | auto mcParticles_per_coll = mcParticles.sliceBy(perMCCollision, mccollision.globalIndex()); |
610 | 609 | int nParticlesInEvent = 0; |
611 | | - int nParticlesFIT=0; |
| 610 | + int nParticlesFIT = 0; |
612 | 611 | for (const auto& mcParticle : mcParticles_per_coll) { |
613 | 612 | if (mcParticle.isPhysicalPrimary()) { |
614 | | - if ((2.2<mcParticle.eta()&&mcParticle.eta()< 5.0) || (-3.4<mcParticle.eta()&&mcParticle.eta()<-2.3)) { |
| 613 | + if ((2.2 < mcParticle.eta() && mcParticle.eta() < 5.0) || (-3.4 < mcParticle.eta() && mcParticle.eta() < -2.3)) { |
615 | 614 | auto pdgParticle = inspdg->GetParticle(mcParticle.pdgCode()); |
616 | 615 | if (pdgParticle) { |
617 | 616 | float charge = pdgParticle->Charge() / 3.f; // Charge in units of |e| |
|
0 commit comments