00001
00002
00003 #ifndef XAODTRIGL1CALO_VERSIONS_CMMCPHITS_V1_H
00004 #define XAODTRIGL1CALO_VERSIONS_CMMCPHITS_V1_H
00005
00006
00007 #include "AthLinks/ElementLink.h"
00008 #include "AthContainers/AuxElement.h"
00009
00010 namespace xAOD {
00011
00018
00019 class CMMCPHits_v1 : public SG::AuxElement{
00020 public:
00021
00022 CMMCPHits_v1();
00023
00025 int crate() const;
00027 void setCrate(int);
00028
00030 int dataID() const;
00032 void setDataID(int);
00033
00035 int peak() const;
00037 void setPeak(int);
00038
00040 const std::vector<unsigned int>& hitsVec0() const;
00042 void setHitsVec0(const std::vector<unsigned int>&);
00043
00045 const std::vector<unsigned int>& hitsVec1() const;
00047 void setHitsVec1(const std::vector<unsigned int>&);
00048
00050 const std::vector<int>& errorVec0() const;
00052 void setErrorVec0(const std::vector<int>&);
00053
00055 const std::vector<int>& errorVec1() const;
00057 void setErrorVec1(const std::vector<int>&);
00058
00060 void addHits(const std::vector<unsigned int>& hits0,
00061 const std::vector<unsigned int>& hits1,
00062 const std::vector<int>& error0,
00063 const std::vector<int>& error1);
00064
00066 unsigned int hitWord0() const;
00068 unsigned int hitWord1() const;
00070 int error0() const;
00072 int error1() const;
00073
00077 inline unsigned int HitWord0() const {return this->hitWord0();}
00078 inline unsigned int HitWord1() const {return this->hitWord1();}
00079 inline int Error0() const {return this->error0();}
00080 inline int Error1() const {return this->error1();}
00081 const std::vector<unsigned int>& HitsVec0() const {return this->hitsVec0();}
00082 const std::vector<unsigned int>& HitsVec1() const {return this->hitsVec1();}
00083 const std::vector<int>& ErrorVec0() const {return this->errorVec0();}
00084 const std::vector<int>& ErrorVec1() const {return this->errorVec1();}
00085
00086 };
00087 }
00088
00089 #endif // XAODTRIGL1CALO_VERSIONS_CMMCPHITS_V1_H