Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
34 return StatusCode::SUCCESS;
38 for (
const std::string&
key :
keys) {
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");
112 std::vector<std::string>
keys = {};
130 std::vector<std::string> allKeys;
134 for(
const std::string&
key : allKeys){
137 if(it2 !=
keys.end())
continue;
Gaudi::Property< bool > m_doWriteHLT
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::string find(const std::string &s)
return a remapped string
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.
std::map< std::string, DataVect > DataMap
xAODMuonRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const DataMap getData(const xAOD::MuonContainer *)
Puts the variables into a DataMap.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_doWriteAllCollections
double chi2(TH1 *h0, TH1 *h1)
Gaudi::Property< std::string > m_priorityKey
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.
Gaudi::Property< std::vector< std::string > > m_otherKeys
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.
const std::vector< std::string > getKeys()
Gets the StoreGate keys for the desired containers.