@@ -65,7 +65,6 @@ namespace o2::aod
6565namespace testcol
6666{
6767// Event properties
68- DECLARE_SOA_COLUMN (Ci, ci, int64_t ); // Collision index - needed because is used as tree
6968DECLARE_SOA_COLUMN (Rn, rn, int32_t ); // run number
7069DECLARE_SOA_COLUMN (Cent, cent, float ); // FT0C centrality
7170DECLARE_SOA_COLUMN (Mult, mult, int32_t ); // TPC multiplicity
@@ -80,7 +79,6 @@ DECLARE_SOA_COLUMN(Psi3, psi3, int16_t);
8079
8180DECLARE_SOA_TABLE (TableCols, " AOD" , " TABLECOL" ,
8281 o2::soa::Index<>,
83- testcol::Ci,
8482 testcol::Rn,
8583 testcol::Cent,
8684 testcol::Mult,
@@ -98,7 +96,6 @@ namespace testtrack
9896
9997// Track properties
10098DECLARE_SOA_INDEX_COLUMN (TableCol, tableCol);
101- DECLARE_SOA_COLUMN (Ci, ci, int64_t ); // is needed to link to collision when used as tree
10299DECLARE_SOA_COLUMN (Charge, charge, int16_t );
103100DECLARE_SOA_COLUMN (P, p, uint64_t );
104101DECLARE_SOA_COLUMN (Dedx, dedx, uint16_t );
@@ -107,9 +104,7 @@ DECLARE_SOA_COLUMN(Dcaz, dcaz, int16_t);
107104} // namespace testtrack
108105
109106DECLARE_SOA_TABLE (TableTrack, " AOD" , " TABLETRACK" ,
110- o2::soa::Index<>,
111107 testtrack::TableColId,
112- testtrack::Ci,
113108 testtrack::Charge,
114109 testtrack::P,
115110 testtrack::Dedx,
@@ -129,8 +124,6 @@ struct DiffWakeTreeProducer {
129124 Configurable<float > zVertCut{" zVertCut" , 10.0 , " z_vertex cut" };
130125 Configurable<float > etaCut{" etaCut" , 0.9 , " eta cut" };
131126
132- int64_t collisionCounter = 0 ;
133-
134127 Produces<o2::aod::TableCols> testcol;
135128 Produces<o2::aod::TableTrack> testtrack;
136129
@@ -197,8 +190,7 @@ struct DiffWakeTreeProducer {
197190 int16_t substituteEp2 = static_cast <int16_t >(ep2 * 1000 );
198191 int16_t substituteEp3 = static_cast <int16_t >(ep3 * 1000 );
199192
200- testcol (collisionCounter,
201- run,
193+ testcol (run,
202194 col.centFT0C (),
203195 col.multTPC (),
204196 col.trackOccupancyInTimeRange (),
@@ -266,14 +258,12 @@ struct DiffWakeTreeProducer {
266258
267259 // --------------- Fill track table ------------------
268260 testtrack (testcol.lastIndex (),
269- collisionCounter,
270261 track.sign (),
271262 substituteP,
272263 substituteDEDX,
273264 substituteDCAXY,
274265 substituteDCAZ);
275266 }
276- collisionCounter++;
277267 }
278268};
279269
0 commit comments