next up previous contents
Next: Software Up: Data Structures Previous: ZEBRA Data Structures   Contents

Internal Data Structures

SNOMAN has to handle an energy range from a few MEV to many GEV. It should not contain hardwired tables whose size is a strong function of energy, for such tables would have to be set large enough for high energy events and so would be wasteful for most applications. Indeed all large static arrays are strongly discouraged; they take up virtual memory even if the code that requires them is not enabled. Instead ZEBRA banks should be used. They can be placed in permanent memory if required to persist between events.



sno Guest Acct 2009-09-09