Skip to content

Commit 26fa30b

Browse files
alibuildvkucera
authored andcommitted
Please consider the following formatting changes to #8581 (#111)
1 parent 3516ea0 commit 26fa30b

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

PWGHF/DataModel/DerivedTables.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,9 @@ DECLARE_SOA_TABLE_STAGED(HfBplusMcs, "HFBPMC", //! Table with MC candidate info
579579
// MC particle columns
580580
namespace hf_mc_particle
581581
{
582-
DECLARE_SOA_INDEX_COLUMN(McCollision, mcCollision); //! MC collision of this particle
583-
DECLARE_SOA_INDEX_COLUMN(McParticle, mcParticle); //! MC particle
584-
DECLARE_SOA_INDEX_COLUMN(HfMcCollBase, hfMcCollBase); //! collision index pointing to the derived MC collision table for B+ candidates
582+
DECLARE_SOA_INDEX_COLUMN(McCollision, mcCollision); //! MC collision of this particle
583+
DECLARE_SOA_INDEX_COLUMN(McParticle, mcParticle); //! MC particle
584+
DECLARE_SOA_INDEX_COLUMN(HfMcCollBase, hfMcCollBase); //! collision index pointing to the derived MC collision table for B+ candidates
585585
DECLARE_SOA_COLUMN(FlagMcMatchGen, flagMcMatchGen, int8_t); //! flag for generator level matching
586586
DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t); //! particle origin, generator level
587587
DECLARE_SOA_COLUMN(FlagMcDecayChanGen, flagMcDecayChanGen, int8_t); //! resonant decay channel flag, generator level

PWGHF/TableProducer/derivedDataCreatorBplusToD0Pi.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ struct HfDerivedDataCreatorBplusToD0Pi {
110110
rowsCommon.init(confDerData);
111111
}
112112

113-
114113
template <typename T, typename U, typename V>
115114
void fillTablesCandidate(const T& candidate, const U& prongCharm, const V& prongBachelor, int candFlag, double invMass,
116115
double ct, double y, int8_t flagMc, int8_t origin, float mlScore, const std::vector<float>& mlScoresCharm)

PWGHF/Utils/utilsDerivedData.h

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,30 +79,35 @@ struct ProducesHfDerivedData : o2::framework::ProducesGroup {
7979
std::map<int, std::vector<int>> matchedCollisions; // indices of derived reconstructed collisions matched to the global indices of MC collisions
8080
std::map<int, bool> hasMcParticles; // flags for MC collisions with HF particles
8181

82-
void init(ConfigurableHfDerivedData const& c) {
82+
void init(ConfigurableHfDerivedData const& c)
83+
{
8384
conf = &c;
8485
}
8586

8687
template <typename T>
87-
void reserveTablesCandidates(T size) {
88+
void reserveTablesCandidates(T size)
89+
{
8890
o2::analysis::hf_derived::reserveTable(rowCandidateBase, conf->fillCandidateBase, size);
8991
}
9092

9193
template <typename T>
92-
void reserveTablesColl(T size) {
94+
void reserveTablesColl(T size)
95+
{
9396
o2::analysis::hf_derived::reserveTable(rowCollBase, conf->fillCollBase, size);
9497
o2::analysis::hf_derived::reserveTable(rowCollId, conf->fillCollId, size);
9598
}
9699

97100
template <typename T>
98-
void reserveTablesMcColl(T size) {
101+
void reserveTablesMcColl(T size)
102+
{
99103
o2::analysis::hf_derived::reserveTable(rowMcCollBase, conf->fillMcCollBase, size);
100104
o2::analysis::hf_derived::reserveTable(rowMcCollId, conf->fillMcCollId, size);
101105
o2::analysis::hf_derived::reserveTable(rowMcRCollId, conf->fillMcRCollId, size);
102106
}
103107

104108
template <typename T>
105-
void reserveTablesParticles(T size) {
109+
void reserveTablesParticles(T size)
110+
{
106111
o2::analysis::hf_derived::reserveTable(rowParticleBase, conf->fillParticleBase, size);
107112
o2::analysis::hf_derived::reserveTable(rowParticleId, conf->fillParticleId, size);
108113
}

0 commit comments

Comments
 (0)