00001
00002
00003 #ifndef XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V1_H
00004 #define XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V1_H
00005
00006 #include "AthLinks/ElementLink.h"
00007 #include "AthContainers/AuxElement.h"
00008
00009 namespace xAOD {
00010
00017
00018 class JEMEtSums_v1 : public SG::AuxElement{
00019 public:
00020
00021 JEMEtSums_v1();
00022
00024 int crate() const;
00026 void setCrate(int);
00027
00029 int module() const;
00031 void setModule(int);
00032
00034 int peak() const;
00036 void setPeak(int);
00037
00040
00042 const std::vector<unsigned int>& etVec() const;
00044 void setEtVec(const std::vector<unsigned int>&);
00045
00047 const std::vector<unsigned int>& exVec() const;
00049 void setExVec(const std::vector<unsigned int>&);
00050
00052 const std::vector<unsigned int>& eyVec() const;
00054 void setEyVec(const std::vector<unsigned int>&);
00055
00057 unsigned int forward() const;
00058
00060 unsigned int et() const;
00062 unsigned int ex() const;
00064 unsigned int ey() const;
00065
00069 inline void addEt(const std::vector<unsigned int>& Et) {this->setEtVec( Et );}
00070 inline void addEx(const std::vector<unsigned int>& Ex) {this->setExVec( Ex );}
00071 inline void addEy(const std::vector<unsigned int>& Ey) {this->setEyVec( Ey );}
00072 inline unsigned int Et() const {return this->et();}
00073 inline unsigned int Ex() const {return this->ex();}
00074 inline unsigned int Ey() const {return this->ey();}
00075 inline const std::vector<unsigned int>& EtVec() const {return this->etVec();}
00076 inline const std::vector<unsigned int>& ExVec() const {return this->exVec();}
00077 inline const std::vector<unsigned int>& EyVec() const {return this->eyVec();}
00078
00079 };
00080 }
00081
00082 #endif // XAODTRIGL1CALO_VERSIONS_JEMETSUMS_V1_H