Skip to content

Commit 15764fe

Browse files
committed
ITS3: cluster macro
Signed-off-by: Felix Schlepper <[email protected]>
1 parent 66ee437 commit 15764fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Detectors/Upgrades/ITS3/macros/test/CheckClustersITS3.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void CheckClustersITS3(const std::string& clusfile = "o2clus_its.root",
6666
ULong_t cPattValid{0}, cPattInvalid{0}, cLabelInvalid{0}, cNoMC{0};
6767

6868
TFile fout("CheckClusters.root", "recreate");
69-
TNtuple nt("ntc", "cluster ntuple", "ev:lab:hlx:hlz:hgx:hgz:tx:tz:cgx:cgy:cgz:clx:cly:clz:dx:dy:dz:ex:ez:patid:rof:npx:id:eta:row:col");
69+
TNtuple nt("ntc", "cluster ntuple", "ev:lab:hlx:hlz:hgx:hgz:tx:tz:cgx:cgy:cgz:clx:cly:clz:dx:dy:dz:ex:ez:patid:rof:npx:id:eta:row:col:lay");
7070

7171
// Geometry
7272
o2::base::GeometryManager::loadGeometry(inputGeom);
@@ -255,15 +255,15 @@ void CheckClustersITS3(const std::string& clusfile = "o2clus_its.root",
255255
float theta = std::acos(gloC.Z() / gloC.Rho());
256256
float eta = -std::log(std::tan(theta / 2));
257257

258-
std::array<float, 26> data = {(float)lab.getEventID(), (float)trID,
258+
std::array<float, 27> data = {(float)lab.getEventID(), (float)trID,
259259
locH.X(), locH.Z(),
260260
gloH.X(), gloH.Z(),
261261
dltx / dlty, dltz / dlty,
262262
gloC.X(), gloC.Y(), gloC.Z(),
263263
locC.X(), locC.Y(), locC.Z(),
264264
locC.X() - locH.X(), locC.Y() - locH.Y(), locC.Z() - locH.Z(),
265265
errX, errZ, (float)pattID,
266-
(float)rofRec.getROFrame(), (float)npix, (float)chipID, eta, (float)cluster.getRow(), (float)cluster.getCol()};
266+
(float)rofRec.getROFrame(), (float)npix, (float)chipID, eta, (float)cluster.getRow(), (float)cluster.getCol(), (float)layer};
267267
nt.Fill(data.data());
268268
}
269269
}

0 commit comments

Comments
 (0)