ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTrackParticleRetriever.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JIVEXML_XAODTRACKPARTICLERETRIEVER_H
6#define JIVEXML_XAODTRACKPARTICLERETRIEVER_H
7
8#include <string>
9#include <vector>
10#include <map>
11
15
16namespace JiveXML{
17
30 public AthAlgTool {
31
32 public:
33
35 xAODTrackParticleRetriever(const std::string& type,const std::string& name,const IInterface* parent);
36
37 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
38 virtual StatusCode initialize();
42 virtual std::string dataTypeName() const { return m_typeName; };
43
44 private:
45
47 const std::string m_typeName = "Track";
48
49 SG::ReadHandleKeyArray<xAOD::TrackParticleContainer> m_keys {this,"TrackParticleCollections", {"InDetTrackParticles","InDetLargeD0TrackParticles","CombinedMuonTrackParticles","GSFTrackParticles"}, "Name of the Track Particle containers that will be written out to the JiveXML file"};
50
51 };
52}
53#endif
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_keys
const DataMap getData(const xAOD::TrackParticleContainer *)
Puts the variables into a DataMap.
virtual std::string dataTypeName() const
Return the name of the data type that is generated by this retriever.
xAODTrackParticleRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
For each TrackParticle collections retrieve basic parameters.
const std::string m_typeName
The data type that is generated by this retriever.
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
std::map< std::string, DataVect > DataMap
Definition DataType.h:59
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".