1 /**************************************************************************
2 * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 // Comment describing what this class does needed!
18 #include "AliJTrackCounter.h"
26 ClassImp(AliJTrackCounter)
28 AliJTrackCounter::AliJTrackCounter() :
38 AliJTrackCounter::AliJTrackCounter(int inind0, int inind1, int inlist0, int inlist1, double indphi) :
46 fpairTrackID[0]=inind0;
47 fpairTrackID[1]=inind1;
48 fpairListID[0]=inlist0;
49 fpairListID[1]=inlist1;
55 void AliJTrackCounter::Reset(){
58 fpairTrackID[0]=-1; fpairTrackID[1]=-1;
59 fpairListID[0]=-1; fpairListID[1]=-1;
60 fpt=-1; fptBin=-1; fdphi=-1;
65 AliJTrackCounter& AliJTrackCounter::operator=(const AliJTrackCounter& counter){
67 fpairTrackID[0] = counter.fpairTrackID[0];
68 fpairTrackID[1] = counter.fpairTrackID[1];
69 fpairListID[0] = counter.fpairListID[0];
70 fpairListID[1] = counter.fpairListID[1];
71 fdphi = counter.fdphi;