]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGCF/Correlations/JCORRAN/AliJTrackCounter.cxx
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / Correlations / JCORRAN / AliJTrackCounter.cxx
CommitLineData
9dc4f671 1/**************************************************************************
2 * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16// Comment describing what this class does needed!
17
18#include "AliJTrackCounter.h"
19
20// track counter
21// blah
22// blah
23// blah
24// blah
25
26ClassImp(AliJTrackCounter)
27
28 AliJTrackCounter::AliJTrackCounter() :
29 findex(-1),
30 fptBin(-1),
31 fpt(-1),
32 fdphi(-1)
33 {
34 Reset();
35 }
36
37
38 AliJTrackCounter::AliJTrackCounter(int inind0, int inind1, int inlist0, int inlist1, double indphi) :
39 findex(-1),
40 fptBin(-1),
41 fpt(-1),
42 fdphi(indphi)
43 {
44 // constructor
45 Reset();
46 fpairTrackID[0]=inind0;
47 fpairTrackID[1]=inind1;
48 fpairListID[0]=inlist0;
49 fpairListID[1]=inlist1;
50 fdphi = indphi;
51 } //constructor
52
53
54
55 void AliJTrackCounter::Reset(){
56 // reset
57 findex=-1;
58 fpairTrackID[0]=-1; fpairTrackID[1]=-1;
59 fpairListID[0]=-1; fpairListID[1]=-1;
60 fpt=-1; fptBin=-1; fdphi=-1;
61 }
62
63
64
65 AliJTrackCounter& AliJTrackCounter::operator=(const AliJTrackCounter& counter){
66 // copy constructor
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;
72 return *this;
73 }
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88