|
ATLAS Offline Software
|
Go to the documentation of this file.
23 #ifndef FLEXERRARRAYGROUP_H
24 #define FLEXERRARRAYGROUP_H
26 #define FLEXERRARRAYGROUP_NCHUNKS 8
27 #define FLEXERRARRAYGROUP_MAXBINS (FLEXBINCHUNK_NBINS*FLEXERRARRAYGROUP_NCHUNKS)
29 #ifdef LW_STRICT_ROOT_BEHAVIOUR
30 #define STRICT_ROOT_PAR(x) , x
32 #define STRICT_ROOT_PAR(x)
36 template <
class T>
inline bool isNaN(
const T&
t) {
return t!=
t; }
FlexErrArrayGroup(unsigned nbins=FLEXERRARRAYGROUP_MAXBINS)
bool holdsSeparateSumW2Info() const
unsigned nIndicesUsedByErrors() const
FlexBinChunk< T > * getChunk(unsigned igroup)
unsigned getChunkBin(unsigned bin) const
unsigned getGroupIndex(unsigned bin) const
bool getNextActiveBin(unsigned &bin, T &content, double &error)
void setBinContent(unsigned bin, const T &val STRICT_ROOT_PAR(bool pretendSumWMode))
const double * getErrChunkNoAlloc(unsigned igroup) const
std::vector< ALFA_RawDataCollection_p1 > t1
void getBinContentAndError(unsigned bin, T &content, double &error) const
bool bothNaN(const T &t1, const T &t2)
#define STRICT_ROOT_PAR(x)
void copyContents(T *cont, double *err=0) const
#define FLEXERRARRAYGROUP_NCHUNKS
FlexErrArrayGroup & operator=(const FlexErrArrayGroup &)
FlexBinChunk< T > * getChunkNoAlloc(unsigned igroup)
const FlexBinChunk< T > * getChunkNoAlloc(unsigned igroup) const
unsigned nIndicesUsedByChunks() const
void setBinContentAndError(unsigned bin, const T &content, const double &error)
void fill(unsigned bin STRICT_ROOT_PAR(bool pretendSumWMode))
double * getErrChunk(unsigned igroup)
void setBinError(unsigned bin, const double &error)
void resetActiveBinLoop()
uint8_t m_chunksallocated
void fill(unsigned bin, const double &weight STRICT_ROOT_PAR(bool pretendSumWMode))
void addIndexPointer(unsigned position, void *newval)
unsigned getNBins() const
#define FLEXERRARRAYGROUP_MAXBINS
std::vector< ALFA_RawDataContainer_p1 > t2
double getBinError(unsigned bin) const
uint8_t m_fastloop_nextbin2check
T getBinContent(unsigned bin) const
#define FLEXBINCHUNK_NBINS
FlexErrArrayGroup(const FlexErrArrayGroup &)