 |
ATLAS Offline Software
|
Go to the documentation of this file.
25 return StatusCode::SUCCESS;
51 return StatusCode::SUCCESS;
78 for (; muItr != muItrE; ++muItr) {
81 <<
", phi = " << (*muItr)->phi() <<
", pt = " << (*muItr)->pt()
82 <<
", pdgId = " << -13.*(*muItr)->primaryTrackParticle()->charge());
84 phi.emplace_back(
DataType((*muItr)->phi()));
85 eta.emplace_back(
DataType((*muItr)->eta()));
90 chi2.emplace_back( 1.0 );
91 pdgId.emplace_back(
DataType( -13.*(*muItr)->primaryTrackParticle()->charge() ));
103 ATH_MSG_DEBUG(
" retrieved with " << phi.size() <<
" entries");
char data[hepevt_bytes_allocation_ATLAS]
Const iterator class for DataVector/DataList.
virtual std::string dataTypeName() const
Return the name of the data type that is generated by this retriever.
std::vector< DataType > DataVect
Defines a map with a key and a vector of DataType objects e.g.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
For each muon collections retrieve basic parameters.
SG::ReadHandleKeyArray< xAOD::MuonContainer > m_keys
std::map< std::string, DataVect > DataMap
xAODMuonRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
const DataMap getData(const xAOD::MuonContainer *)
Puts the variables into a DataMap.
::StatusCode StatusCode
StatusCode definition for legacy code.
double chi2(TH1 *h0, TH1 *h1)
virtual StatusCode initialize()
virtual bool isValid() override final
Can the handle be successfully dereferenced?
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Wrapper to avoid constant divisions when using units.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
size_type size() const noexcept
Returns the number of elements in the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.