1 #ifndef ALIEMCALJETFINDERALGOUA1UNIT_H
2 #define ALIEMCALJETFINDERALGOUA1UNIT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * * * See cxx source for full Copyright notice */
9 //_________________________________________________________________________
10 // Unit used by UA1 algorithm
12 //*-- Author: Sarah Blyth (LBL/UCT)
16 #include "AliEMCALJetFinderTypes.h"
18 class AliEMCALJetFinderAlgoUA1Unit : public TObject
21 AliEMCALJetFinderAlgoUA1Unit();
22 ~AliEMCALJetFinderAlgoUA1Unit();
23 void SetUnitEnergy(Float_t energy) {fUnitEnergy = energy;}
24 Float_t GetUnitEnergy() const { return fUnitEnergy;}
25 void SetUnitEta(Float_t eta) {fUnitEta = eta;}
26 Float_t GetUnitEta() const {return fUnitEta;}
27 void SetUnitPhi(Float_t phi) {fUnitPhi = phi;}
28 Float_t GetUnitPhi() const {return fUnitPhi;}
29 void SetUnitID(Int_t id) {fUnitID = id;}
30 Int_t GetUnitID() const {return fUnitID;}
32 void SetUnitFlag(AliEMCALJetFinderAlgoUA1UnitFlagType_t flag)
37 AliEMCALJetFinderAlgoUA1UnitFlagType_t GetUnitFlag() const
42 Bool_t operator> ( AliEMCALJetFinderAlgoUA1Unit unit1) const;
43 Bool_t operator< ( AliEMCALJetFinderAlgoUA1Unit unit1) const;
44 Bool_t operator== ( AliEMCALJetFinderAlgoUA1Unit unit1) const;
47 Float_t fUnitEnergy; // Energy of the unit
48 Float_t fUnitEta; // Eta of the unit
49 Float_t fUnitPhi; // Phi of the unit
50 Int_t fUnitID; // ID of the unit
51 AliEMCALJetFinderAlgoUA1UnitFlagType_t fUnitFlag; //Flag of the unit
53 ClassDef(AliEMCALJetFinderAlgoUA1Unit,3)