45 fOptimizeForDEManu(kFALSE)
54 fOptimizeForDEManu(optimizeForDEManu)
68 fOptimizeForDEManu(other.fOptimizeForDEManu)
107 if (!
object)
return kFALSE;
108 UInt_t uniqueID =
object->GetUniqueID();
109 Int_t j = ( uniqueID & 0xFFFF0000 ) >> 16;
110 Int_t i = ( uniqueID & 0xFFFF);
111 return Set(i,j,
object,kFALSE);
120 Int_t j = ( uid & 0xFFFF0000 ) >> 16;
121 Int_t i = ( uid & 0xFFFF);
169 while ( ( m = static_cast<AliMpExMap*>(next()) ) )
226 AliError(Form(
"Object %p is already there for (i,j)=(%d,%d)",o,i,j));
virtual TIterator * CreateIterator() const
The returned iterator is owned by the client.
Bool_t Set(Int_t i, Int_t j, TObject *object, Bool_t replace)
AliMUON2DMap & operator=(const AliMUON2DMap &other)
Implementation of TIterator for 2D maps.
Bool_t fOptimizeForDEManu
whether (i,j) pair is supposed to be (DetElemId,ManuId) (allow us to allocate right amount of memory...
virtual TObject * FindObject(Int_t i, Int_t j) const
Find an object using 2 ids.
Implementation of TIterator for 2D maps.
AliMUON2DMap()
Not implemented.
TObject * GetValue(Int_t keyFirst, Int_t keySecond) const
virtual AliMUONVStore * Create() const
Create an empty copy of this.
void Add(Int_t keyFirst, Int_t keySecond, TObject *object)
Basic implementation of AliMUONVStore container using AliMpExMap internally.
static const Int_t fgkOptimalSizeForDEManu
Optimal size for DEManu.
virtual Bool_t Add(TObject *object)
Add an object to the store.
AliMpExMap * fMap
Our internal map (an AliMpExMap of AliMpExMaps)
Base class for MUON data stores.
virtual Int_t GetSize() const
The number of objects stored.
virtual void Clear(Option_t *opt="")
virtual void Clear(Option_t *opt="")
Mandatory methods from TCollection.
Helper class making Root persistent TExMap.
AliMpExMapIterator * CreateIterator() const