GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Data Analysis » UCESB multi-dimensional array (multi-dimensional array in UCESB)
UCESB multi-dimensional array [message #19275] Tue, 24 May 2016 17:39 Go to previous message
MarcLabiche is currently offline  MarcLabiche
Messages: 7
Registered: March 2016
Location: UK
occasional visitor
From: *

When I try to define an array of dimension higher than 2 in the file STaRTrack.spec that I'm trying to produce for the Si tracker, for example:

MEMBER(DATA12 adc[18][2][16][128] ZERO_SUPPRESS);

the compilation crashes with the message:
STaRTrack.spec:16: syntax error, unexpected '[', expecting ')'

It seems that only arrays of 1 and 2 dimensions can be defined.

Would it be possible to extend to 4-D array or could you please suggest an alternative ?


Marc Labiche
STFC Daresbury Lab.
+44 (0)1925603458
Read Message
Read Message icon10.gif
Read Message
Previous Topic: Ascii calib files
Next Topic: error undefined symbol TSpectrum
Goto Forum:

Current Time: Wed Dec 08 20:30:27 CET 2021

Total time taken to generate the page: 0.01961 seconds