Skip to content

Commit bc7b2d0

Browse files
committed
update(tofd/pars):R3BTofDMapped2CalPar
1 parent 6fd0b45 commit bc7b2d0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tofd/pars/R3BTofDMapped2CalPar.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ InitStatus R3BTofDMapped2CalPar::Init()
8585

8686
fEngine = new R3BTCalEngine(fCalPar, fMinStats);
8787

88-
for (UInt_t d = 0; d < fNofPlanes; d++)
88+
for (UInt_t d = 0; d < fNofPlanes + 1; d++)
8989
for (UInt_t i = 0; i < fPaddlesPerPlane; i++)
9090
for (UInt_t k = 0; k < 4; k++)
9191
{
@@ -149,7 +149,7 @@ void R3BTofDMapped2CalPar::FinishTask()
149149
fCalPar->setChanged();
150150

151151
R3BLOG(info, "Calibration of TofD detector");
152-
for (size_t p = 0; p < fNofPlanes; p++)
152+
for (size_t p = 0; p < fNofPlanes + 1; p++)
153153
for (size_t i = 0; i < fPaddlesPerPlane; i++)
154154
for (size_t k = 0; k < 4; k++)
155155
if (Icount[p][i][k] > fMinStats)

tofd/pars/R3BTofDMapped2CalPar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class R3BTofDMapped2CalPar : public FairTask
9494
UInt_t fMinStats = 100; // Minimum statistics required per module
9595
UInt_t Icount[5][48][4]; // NOLINT
9696

97-
UInt_t fNofPlanes = 5;
97+
UInt_t fNofPlanes = 4;
9898
UInt_t fPaddlesPerPlane = 48;
9999
UInt_t fNofModules = fNofPlanes * fPaddlesPerPlane * 4;
100100

0 commit comments

Comments
 (0)