Skip to content

Commit 6542d38

Browse files
authored
Change data types for several SOA columns
1 parent e90d684 commit 6542d38

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

PWGJE/TableProducer/tableDiffWake.cxx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,27 +77,27 @@ namespace testcol
7777
{
7878
// Event properties
7979
DECLARE_SOA_COLUMN(Gi, gi, int64_t);
80-
DECLARE_SOA_COLUMN(Rn, rn, int); // run number
80+
DECLARE_SOA_COLUMN(Rn, rn, int32_t); // run number
8181
DECLARE_SOA_COLUMN(Cent, cent, float); // FT0C centrality
82-
DECLARE_SOA_COLUMN(Mult, mult, int); // TPC multiplicity
83-
DECLARE_SOA_COLUMN(Occu, occu, int); // Occupancy ITS
82+
DECLARE_SOA_COLUMN(Mult, mult, int32_t); // TPC multiplicity
83+
DECLARE_SOA_COLUMN(Occu, occu, int32_t); // Occupancy ITS
8484
DECLARE_SOA_COLUMN(Occuft0, occuft0, float); // Occupancy FT0C amplitudes
8585
DECLARE_SOA_COLUMN(VertexX, vertexX, float);
8686
DECLARE_SOA_COLUMN(VertexY, vertexY, float);
8787
DECLARE_SOA_COLUMN(VertexZ, vertexZ, float);
88-
DECLARE_SOA_COLUMN(Psi2, psi2, short);
89-
DECLARE_SOA_COLUMN(Psi3, psi3, short);
88+
DECLARE_SOA_COLUMN(Psi2, psi2, int16_t);
89+
DECLARE_SOA_COLUMN(Psi3, psi3, int16_t);
9090
} // namespace testcol
9191
namespace testtrack
9292
{
9393

9494
// Track properties
9595
DECLARE_SOA_COLUMN(Colid, colid, int32_t); // Collision ID
96-
DECLARE_SOA_COLUMN(Charge, charge, short);
97-
DECLARE_SOA_COLUMN(P, p, unsigned long);
98-
DECLARE_SOA_COLUMN(Dedx, dedx, unsigned short);
99-
DECLARE_SOA_COLUMN(Dcaxy, dcaxy, short);
100-
DECLARE_SOA_COLUMN(Dcaz, dcaz, short);
96+
DECLARE_SOA_COLUMN(Charge, charge, int16_t);
97+
DECLARE_SOA_COLUMN(P, p, uint64_t );
98+
DECLARE_SOA_COLUMN(Dedx, dedx, uint16_t);
99+
DECLARE_SOA_COLUMN(Dcaxy, dcaxy, int16_t);
100+
DECLARE_SOA_COLUMN(Dcaz, dcaz, int16_t);
101101
} // namespace testtrack
102102
DECLARE_SOA_TABLE(TableCol, "AOD", "TABLECOL",
103103
testcol::Gi,
@@ -223,7 +223,7 @@ struct tableDiffWake {
223223
for (Int_t i_bit = 0; i_bit < 20; i_bit++) {
224224
if ((Particle_px & ((Long64_t)1 << i_bit)))
225225
Substitute_p |= (ULong64_t)1 << i_bit;
226-
};
226+
}
227227

228228
Long64_t Particle_py = (track.py() * 6000);
229229
if (Particle_py < 0)
@@ -233,7 +233,7 @@ struct tableDiffWake {
233233
for (Int_t i_bit = 21; i_bit < 41; i_bit++) {
234234
if ((Particle_py & ((Long64_t)1 << (i_bit - 21))))
235235
Substitute_p |= (ULong64_t)1 << i_bit;
236-
};
236+
}
237237

238238
Long64_t Particle_pz = (track.pz() * 6000);
239239
if (Particle_pz < 0)
@@ -243,7 +243,7 @@ struct tableDiffWake {
243243
for (Int_t i_bit = 42; i_bit < 62; i_bit++) {
244244
if ((Particle_pz & ((Long64_t)1 << (i_bit - 42))))
245245
Substitute_p |= (ULong64_t)1 << i_bit;
246-
};
246+
}
247247

248248
// dEdx
249249
UShort_t Substitute_dEdx = (UShort_t)(track.tpcSignal() * 10);

0 commit comments

Comments
 (0)