AliPhysics  vAN-20151012 (2287573)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliReducedPatchInfo.h
Go to the documentation of this file.
1 
11 #ifndef ALIREDUCEDPATCHINFO_H
12 #define ALIREDUCEDPATCHINFO_H
13 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
16 #include <TObject.h>
17 
32 namespace HighPtTracks {
33 
44 class AliReducedPatchInfo : public TObject {
45 public:
47  AliReducedPatchInfo(Float_t energy, Float_t amplitude, Float_t eta, Float_t phi);
51  virtual ~AliReducedPatchInfo() {}
52 
53  Float_t GetEnergy() const { return fEnergy; }
54  Int_t GetAmplitude() const { return fAmplitude; }
55  Float_t GetEta() const { return fEta; }
56  Float_t GetPhi() const { return fPhi; }
57 
65  void Set(Float_t energy, Float_t amplitude, Float_t eta, Float_t phi){
66  fEnergy = energy;
67  fAmplitude = amplitude;
68  fEta = eta;
69  fPhi = phi;
70  }
75  void SetEnergy(Float_t energy){ fEnergy = energy; }
80  void SetEta(Float_t eta) { fEta = eta; }
85  void SetPhi(Float_t phi){ fPhi = phi; }
90  void SetAmplitude(Int_t amplitude) { fAmplitude = amplitude; }
91 protected:
92  Float_t fEnergy;
93  Int_t fAmplitude;
94  Float_t fEta;
95  Float_t fPhi;
96 
98  ClassDef(AliReducedPatchInfo, 1);
100 };
101 
102 } /* namespace HighPtTracks */
103 
104 #endif /* ALIREDUCEDPATCHINFO_H */
Reduced information of EMCAL trigger patches.
void Set(Float_t energy, Float_t amplitude, Float_t eta, Float_t phi)
energy