]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowCommon/AliFlowTrackSimpleCuts.cxx
corrections for single particle distributions in Q cumulants{2}
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowCommon / AliFlowTrackSimpleCuts.cxx
CommitLineData
d29ba078 1/**************************************************************************
2 * Copyright(c) 1998-1999, 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/* $Id$ */
17#include "TObject.h"
18#include "AliFlowTrackSimpleCuts.h"
19
20
21// AliFlowTrackSimpleCuts:
22// A simple track cut class to the the AliFlowTrackSimple
23// for basic kinematic cuts
24//
25// author: N. van der Kolk (kolk@nikhef.nl)
26
27
28ClassImp(AliFlowTrackSimpleCuts)
29
30//-----------------------------------------------------------------------
31
32AliFlowTrackSimpleCuts::AliFlowTrackSimpleCuts():
33 fPtMax(0.),
34 fPtMin(0.),
35 fEtaMax(0.),
36 fEtaMin(0.),
37 fPhiMax(0.),
38 fPhiMin(0.),
39 fPID(0)
40
41{
42 //constructor
43
44}
45
46//-----------------------------------------------------------------------
47
48AliFlowTrackSimpleCuts::AliFlowTrackSimpleCuts(const AliFlowTrackSimpleCuts& someCuts):
49 TObject(),
50 fPtMax(someCuts.fPtMax),
51 fPtMin(someCuts.fPtMin),
52 fEtaMax(someCuts.fEtaMax),
53 fEtaMin(someCuts.fEtaMin),
54 fPhiMax(someCuts.fPhiMax),
55 fPhiMin(someCuts.fPhiMin),
56 fPID(someCuts.fPID)
57{
58 //copy constructor
59}
60
61//-----------------------------------------------------------------------
62
63AliFlowTrackSimpleCuts& AliFlowTrackSimpleCuts::operator=(const AliFlowTrackSimpleCuts& someCuts)
64{
65 fPtMax = someCuts.fPtMax;
66 fPtMin = someCuts.fPtMin;
67 fEtaMax = someCuts.fEtaMax;
68 fEtaMin = someCuts.fEtaMin;
69 fPhiMax = someCuts.fPhiMax;
70 fPhiMin = someCuts.fPhiMin;
71 fPID = someCuts.fPID;
72
73 return *this;
74
75}
76
77
78//-----------------------------------------------------------------------
79
80AliFlowTrackSimpleCuts::~AliFlowTrackSimpleCuts()
81{
82 //destructor
83
84}