* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-*/
-
#include "Riostream.h"
#include "TObjArray.h"
#include "TMath.h"
//-----------------------------------------------------------------------
AliFlowEventSimple::AliFlowEventSimple(const AliFlowEventSimple& event):
+ TObject(),
+ fTrackCollection(event.fTrackCollection),
+ fTrack(event.fTrack),
fNumberOfTracks(event.fNumberOfTracks),
fEventNSelTracksIntFlow(event.fEventNSelTracksIntFlow)
{
//copy constructor
- *fTrack = *event.fTrack;
- *fTrackCollection = *event.fTrackCollection ;
+ // *fTrack = *event.fTrack;
+ // *fTrackCollection = *event.fTrackCollection ;
}
AliFlowEventSimple& AliFlowEventSimple::operator=(const AliFlowEventSimple& event)
{
- //copy constructor
*fTrack = *event.fTrack;
*fTrackCollection = *event.fTrackCollection ;
fNumberOfTracks = event.fNumberOfTracks;
}
+//-----------------------------------------------------------------------
+
+AliFlowTrackSimple::AliFlowTrackSimple(const AliFlowTrackSimple& aTrack):
+ TObject(),
+ fEta(aTrack.fEta),
+ fPt(aTrack.fPt),
+ fPhi(aTrack.fPhi),
+ fFlowBits(aTrack.fFlowBits)
+{
+ //copy constructor
+}
+//-----------------------------------------------------------------------
+
+AliFlowTrackSimple& AliFlowTrackSimple::operator=(const AliFlowTrackSimple& aTrack)
+{
+ fEta = aTrack.fEta;
+ fPt = aTrack.fPt;
+ fPhi = aTrack.fPhi;
+ fFlowBits = aTrack.fFlowBits;
+
+ return *this;
+
+}
+
+
//-----------------------------------------------------------------------
AliFlowTrackSimple::~AliFlowTrackSimple()