Skip to content

Commit 9805f2b

Browse files
committed
feat(Rolu):Update variables for the online to include two detectors
1 parent e4ad439 commit 9805f2b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rolu/R3BRoluOnlineSpectra.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class R3BRoluOnlineSpectra : public FairTask
7575
void Reset_ROLU_Histo();
7676

7777
/* Method for setting number of ROLU detectors */
78-
void SetNofRoluModules(int nDets) { fNofRoluDetectors = nDets; }
78+
inline void SetNofRoluModules(int nDets) { fNofRoluDetectors = nDets; }
7979

8080
private:
8181
TClonesArray* fMappedItems;
@@ -87,8 +87,8 @@ class R3BRoluOnlineSpectra : public FairTask
8787
int fTpat = -1;
8888
double fClockFreq = 1. / VFTX_CLOCK_MHZ * 1000.; /**< Clock cycle in [ns]. */
8989
int nRoluEvents = 0;
90-
int fNofRoluDetectors = 1; /**< Number of ROLU detectors. */
91-
static constexpr int fNofRolu = 1; /**< Number of ROLU detectors. */
90+
int fNofRoluDetectors = 1; /**< Number of ROLU detectors. */
91+
static constexpr int fNofRolu = 2;
9292

9393
int counter[4] = { 0 };
9494

0 commit comments

Comments
 (0)