00001
00002
00003 #ifndef XAOD_CALOEVENT_CALOCLUSTERBADCHANNELDATA_V1
00004 #define XAOD_CALOEVENT_CALOCLUSTERBADCHANNELDATA_V1
00005
00006 #include "CaloGeoHelpers/CaloSampling.h"
00007 #include <vector>
00008
00009 namespace xAOD {
00011 class CaloClusterBadChannelData_v1 {
00012 public:
00014 CaloClusterBadChannelData_v1() : m_eta(0), m_phi(0),m_layer(CaloSampling::Unknown),m_badChannel(0) {}
00015
00022 CaloClusterBadChannelData_v1(const float eta, const float phi, const CaloSampling::CaloSample layer, const uint32_t bc) :
00023 m_eta(eta), m_phi(phi),m_layer(layer),m_badChannel(bc) {}
00024
00026 float eta() const {return m_eta;}
00027
00029 float phi() const {return m_phi;}
00030
00032 CaloSampling::CaloSample layer() const {return m_layer;}
00033
00035 uint32_t badChannel() const {return m_badChannel;}
00036
00037 private:
00038 float m_eta;
00039 float m_phi;
00040 CaloSampling::CaloSample m_layer;
00041 uint32_t m_badChannel;
00042 };
00043
00044 }
00045
00046 #endif