00001
00002
00003 #ifndef XAODTRIGL1CALO_VERSIONS_CMMETSUMS_V1_H
00004 #define XAODTRIGL1CALO_VERSIONS_CMMETSUMS_V1_H
00005
00006 #include "AthLinks/ElementLink.h"
00007 #include "AthContainers/AuxElement.h"
00008
00009 namespace xAOD {
00010
00017
00018 class CMMEtSums_v1 : public SG::AuxElement{
00019 public:
00020
00021 CMMEtSums_v1();
00022
00024 int crate() const;
00026 void setCrate(int);
00027
00029 int dataID() const;
00031 void setDataID(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 const std::vector<int>& etErrorVec() const;
00059 void setEtErrorVec(const std::vector<int>&);
00060
00062 const std::vector<int>& exErrorVec() const;
00064 void setExErrorVec(const std::vector<int>&);
00065
00067 const std::vector<int>& eyErrorVec() const;
00069 void setEyErrorVec(const std::vector<int>&);
00070
00071
00072 void addEt(const std::vector<unsigned int>& Et,const std::vector<int>& EtError);
00073
00074 void addEx(const std::vector<unsigned int>& Ex,const std::vector<int>& ExError);
00075
00076 void addEy(const std::vector<unsigned int>& Ey,const std::vector<int>& EyError);
00077
00078
00079 unsigned int et() const;
00080
00081 unsigned int ex() const;
00082
00083 unsigned int ey() const;
00084
00085 int etError() const;
00086
00087 int exError() const;
00088
00089 int eyError() const;
00090
00094 inline const std::vector<unsigned int>& EtVec() const {return this->etVec();}
00095 inline const std::vector<unsigned int>& ExVec() const {return this->exVec();}
00096 inline const std::vector<unsigned int>& EyVec() const {return this->eyVec();}
00097 inline const std::vector<int>& EtErrorVec() const {return this->etErrorVec();}
00098 inline const std::vector<int>& ExErrorVec() const {return this->exErrorVec();}
00099 inline const std::vector<int>& EyErrorVec() const {return this->eyErrorVec();}
00100 inline unsigned int Et() const {return this->et();}
00101 inline unsigned int Ex() const {return this->ex();}
00102 inline unsigned int Ey() const {return this->ey();}
00103 inline int EtError() const {return this->etError();}
00104 inline int ExError() const {return this->exError();}
00105 inline int EyError() const {return this->eyError();}
00106
00107 };
00108 }
00109
00110 #endif // XAODTRIGL1CALO_VERSIONS_CMMEtSums_V1_H