00001 // -*- c++ -*- 00002 #ifndef XAODMISSINGET_VERSIONS_MISSINGETCONTAINER_V1_H 00003 #define XAODMISSINGET_VERSIONS_MISSINGETCONTAINER_V1_H 00004 00005 #include "AthContainers/DataVector.h" 00006 00007 #include "xAODMissingET/versions/MissingETBase.h" 00008 #include "xAODMissingET/versions/MissingET_v1.h" 00009 00010 #include <string> 00011 00012 namespace xAOD 00013 { 00015 class MissingETContainer_v1 : public DataVector<MissingET_v1> 00016 { 00017 public: 00019 MissingETContainer_v1(SG::OwnershipPolicy ownPolicy = SG::OWN_ELEMENTS,SG::IndexTrackingPolicy trackIndices = SG::DEFAULT_TRACK_INDICES); 00020 MissingETContainer_v1(MissingETContainer_v1::iterator first, MissingETContainer_v1::iterator last, 00021 SG::OwnershipPolicy ownPolicy = SG::OWN_ELEMENTS,SG::IndexTrackingPolicy trackIndices = SG::DEFAULT_TRACK_INDICES); 00022 virtual ~MissingETContainer_v1(); 00027 using DataVector<MissingET_v1>::operator[]; // Pull in usage of the base class operator[] 00028 const MissingET_v1* operator[](const std::string& name) const; 00029 MissingET_v1* operator[](const std::string& name); 00033 const_iterator find(const std::string& name) const; 00034 iterator find(const std::string& name); 00036 const_iterator find(MissingETBase::Types::bitmask_t src) const; 00037 iterator find(MissingETBase::Types::bitmask_t src); 00039 }; 00040 } 00041 00042 #include "xAODCore/BaseInfo.h" 00043 SG_BASE(xAOD::MissingETContainer_v1, DataVector<xAOD::MissingET_v1>); 00044 00045 #include "xAODMissingET/versions/MissingETContainer_v1.icc" 00046 00047 #endif