]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALJetFinderAlgoUA1Unit.cxx
G3 specific configuration removed.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderAlgoUA1Unit.cxx
CommitLineData
f7d5860b 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
17/*
18
19$Log$
20Revision 1.1.1.1 2003/05/29 18:56:35 horner
21Initial import - Mark
22
23
24*/
25
26//_________________________________________________________________________
27// Unit used by UA1 algorithm
28//
29//*-- Author: Sarah Blyth (LBL/UCT)
30//
31
32
33#include "AliEMCALJetFinderAlgoUA1Unit.h"
34
35
36ClassImp(AliEMCALJetFinderAlgoUA1Unit)
37
38AliEMCALJetFinderAlgoUA1Unit::AliEMCALJetFinderAlgoUA1Unit()
39 {
40 fUnitEnergy = 0.0;
41 fUnitEta = 0.0;
42 fUnitPhi = 0.0;
43 fUnitID = 0;
44 fUnitFlag = kOutJet;
45 }
46
47AliEMCALJetFinderAlgoUA1Unit::~AliEMCALJetFinderAlgoUA1Unit()
48{
49
50}
51
52Bool_t AliEMCALJetFinderAlgoUA1Unit::operator>(AliEMCALJetFinderAlgoUA1Unit unit)
53{
54 if( fUnitEnergy > unit.GetUnitEnergy())
55 return kTRUE;
56 else
57 return kFALSE;
58}
59
60Bool_t AliEMCALJetFinderAlgoUA1Unit::operator<( AliEMCALJetFinderAlgoUA1Unit unit)
61{
62 if( fUnitEnergy < unit.GetUnitEnergy())
63 return kTRUE;
64 else
65 return kFALSE;
66}
67
68Bool_t AliEMCALJetFinderAlgoUA1Unit::operator==( AliEMCALJetFinderAlgoUA1Unit unit)
69 {
70 if( fUnitEnergy == unit.GetUnitEnergy())
71 return kTRUE;
72 else
73 return kFALSE;
74 }