ClassImp(AliRsnEvent)
+AliRsnEvent* AliRsnEvent::fgRsnEvent1 = 0;
+AliRsnEvent* AliRsnEvent::fgRsnEvent2 = 0;
+
//_____________________________________________________________________________
AliRsnEvent::AliRsnEvent(AliVEvent *ref, AliVEvent *refMC) :
fRef(ref),
fRefMC(refMC),
- fLeading(-1)
+ fLeading(-1),
+ fLocalID(-1)
{
//
// Default constructor.
TObject(event),
fRef(event.fRef),
fRefMC(event.fRefMC),
- fLeading(event.fLeading)
+ fLeading(event.fLeading),
+ fLocalID(event.fLocalID)
{
//
// Copy constructor.
fRef = event.fRef;
fRefMC = event.fRefMC;
fLeading = event.fLeading;
+ fLocalID = event.fLocalID;
return (*this);
}
+//_____________________________________________________________________________
+AliRsnEvent::~AliRsnEvent()
+{
+//
+// Destructor.
+// Dereferences global pointer, if needed.
+//
+
+ //if (gRsnCurrentEvent == this) gRsnCurrentEvent = 0;
+ //if (gRsnMixedEvent == this) gRsnMixedEvent = 0;
+}
+
//_____________________________________________________________________________
Bool_t AliRsnEvent::SetDaughter(AliRsnDaughter &out, Int_t i, AliRsnDaughter::ERefType type)
{
}
//_____________________________________________________________________________
-Bool_t AliRsnEvent::SetDaughterESDcascade(AliRsnDaughter &out, Int_t i)
+Bool_t AliRsnEvent::SetDaughterESDcascade(AliRsnDaughter &, Int_t)
{
//
// Setup the first argument to the track identified by the index.
}
//_____________________________________________________________________________
-Bool_t AliRsnEvent::SetDaughterAODcascade(AliRsnDaughter &out, Int_t i)
+Bool_t AliRsnEvent::SetDaughterAODcascade(AliRsnDaughter &, Int_t)
{
//
// Setup the first argument to the track identified by the index.