21 #include <Riostream.h>
48 fIsOwnerOfFirst(
kTRUE),
49 fIsOwnerOfSecond(kTRUE)
52 AliDebug(1,Form(
"this=%p",
this));
58 Bool_t isOwnerOfFirst,
59 Bool_t isOwnerOfSecond)
63 fIsOwnerOfFirst(isOwnerOfFirst),
64 fIsOwnerOfSecond(isOwnerOfSecond)
67 AliDebug(1,Form(
"this=%p first is %s second is %s",
69 (first ? first->ClassName() :
"0x0"),
70 (second ? second->ClassName() :
"0x0")
80 fIsOwnerOfFirst(
kTRUE),
81 fIsOwnerOfSecond(
kTRUE)
84 AliDebug(1,Form(
"this=%p copy ctor",
this));
104 AliDebug(1,Form(
"this=%p",
this));
126 TObject::Copy(other);
Bool_t fIsOwnerOfSecond
whether we own the second element
TObject * First() 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*> ;-)