#include "TObject.h"
#include "TNamed.h"
-#include "TTimeStamp.h"
#include "TClonesArray.h"
#include "THashTable.h"
}
/// Typecast operator for returning the value directly.
- operator Double_t () { return fValue; }
+ operator Double_t () const { return fValue; }
private:
Double_t fValue; // The scalar's value.
/// Returns the named scalar or a zero sentinel if no such scalar is found.
const AliScalar& operator [] (const TString& name) const { return GetScalar(name.Data()); }
- /// Returns the named scalar for editing. A new scalar is created if n is out of range.
+ /// Returns the named scalar for editing. A new scalar is created if the named scalar is not found.
AliScalar& operator [] (const TString& name) { return GetScalar(name.Data()); }
/**
// Need to initialise the hash table which is transient after reading the class.
#pragma read sourceClass="AliHLTScalars" version="[1-]" targetClass="AliHLTScalars"\
- source="" target="fMap,fScalars" code="{fMap.AddAll(&fScalars);}"
+ source="" target="fMap" code="{fMap.AddAll(&newObj->fScalars);}"
#pragma link C++ struct AliHLTComponentEventData+;
#pragma link C++ struct AliHLTComponentBlockData+;