AliTrigEvent derives from TNamed now. Other minor fixes.
[u/mrichter/AliRoot.git] / TRIGGER / AliTrigEvent.cxx
index 9b7d53d2ca75eeb2dc44869af5a643d198465b56..c61b6b713c8c989acd50704cca612fa465fd7766 100644 (file)
@@ -32,6 +32,14 @@ ClassImp(AliTrigEvent)
 //                  or a group of correlated inputs.
 //==============================================================================
 
 //                  or a group of correlated inputs.
 //==============================================================================
 
+//______________________________________________________________________________
+AliTrigEvent &AliTrigEvent::operator=(const AliTrigEvent &other)
+{
+// Assignment operator.
+   if (&other == this) return *this;
+   TNamed::operator=(other);
+   return *this;
+}
 //______________________________________________________________________________
 void AliTrigEvent::Activate(Bool_t flag)
 {
 //______________________________________________________________________________
 void AliTrigEvent::Activate(Bool_t flag)
 {
@@ -79,8 +87,8 @@ AliTrigEventWithMask &AliTrigEventWithMask::operator=(const AliTrigEventWithMask
 ClassImp(AliTrigEventWithObject)
 
 //______________________________________________________________________________
 ClassImp(AliTrigEventWithObject)
 
 //______________________________________________________________________________
-AliTrigEventWithObject::AliTrigEventWithObject(const char *classname)
-                       :AliTrigEvent(),
+AliTrigEventWithObject::AliTrigEventWithObject(const char *name,const char *classname)
+                       :AliTrigEvent(name),
                         fValue(0),
                         fType("")
 {
                         fValue(0),
                         fType("")
 {