1 #ifndef ALIMUONOBJECTPAIR_H
2 #define ALIMUONOBJECTPAIR_H
25 Bool_t isOwnerOfFirst=
kTRUE,
26 Bool_t isOwnerOfSecond=kFALSE);
42 virtual void Copy(TObject& other)
const;
44 virtual void Print(Option_t* opt=
"")
const;
46 virtual void Clear(Option_t* opt=
"");
Bool_t fIsOwnerOfSecond
whether we own the second element
TObject * First() const
Return the first element of the pair.
TObject * Key() const
Return the first element of the pair.
AliMUONObjectPair & operator=(const AliMUONObjectPair &other)
TObject * fSecond
second element of the pair
TObject * Second() const
Return the second element of the pair.
virtual void Clear(Option_t *opt="")
Bool_t fIsOwnerOfFirst
whether we own the first element
TObject * fFirst
first element of the pair
virtual ~AliMUONObjectPair()
virtual void Copy(TObject &other) const
virtual void Print(Option_t *opt="") const
The equivalent of a std::pair<TObject*,TObject*> ;-)
TObject * Value() const
Return the second element of the pair.