 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JIVEXML_TRACKRETRIEVER_H
6 #define JIVEXML_TRACKRETRIEVER_H
8 #include "GaudiKernel/ToolHandle.h"
12 #include "GaudiKernel/ToolHandle.h"
75 const std::vector<std::string>
getKeys();
86 Gaudi::Property<std::string>
m_priorityKey {
this,
"PriorityTrackCollection",
"CombinedInDetTracks",
"First track collections to retrieve, shown as default in Atlantis"};
87 Gaudi::Property<std::vector<std::string>>
m_otherKeys {
this,
"OtherTrackCollections", {},
"Track collections to retrieve, all if empty"};
88 Gaudi::Property<bool>
m_doWriteHLT {
this,
"DoWriteHLT",
false,
"Write out other collections that have HLT in the name"};
90 Gaudi::Property<std::string>
m_TrackTruthCollection {
this,
"TrackTruthColName",
"TrackTruthCollection",
"Track collection from which to retrieve the truth associations for the priority track collection"};
91 Gaudi::Property<bool>
m_doWriteResiduals {
this,
"DoWriteResiduals",
true,
"Whether to write TrackResiduals"};
92 Gaudi::Property<bool>
m_doHitsSorting {
this,
"DoHitsSorting",
false,
"Whether to perform hits TrackStateOnSurfaces (TSoS) sorting"};
93 Gaudi::Property<bool>
m_doHitsDetails {
this,
"DoHitsDetails",
true,
"Whether to write hits TrackStateOnSurfaces (TSoS) details"};
95 ToolHandle<Trk::IResidualPullCalculator>
m_residualPullCalculator {
this,
"ResidualPullCalculator",
"Trk::ResidualPullCalculator/ResidualPullCalculator",
"ToolHandle to ResidualPullCaclulator" };
96 ToolHandle< Trk::ITrackSummaryTool >
m_trackSumTool{
this,
"TrackSummaryTool",
"Trk::TrackSummaryTool/InDetTrackSummaryTool",
"Track Summary Tool for number of Pix/SCT/TRT hits"};
const std::vector< std::string > getKeys()
Gets the StoreGate keys for the desired containers.
Gaudi::Property< std::string > m_priorityKey
StatusCode initialize()
Default AthAlgTool methods.
Gaudi::Property< std::string > m_TrackTruthCollection
Gaudi::Property< bool > m_doWriteResiduals
Gaudi::Property< bool > m_doHitsDetails
Gaudi::Property< std::vector< std::string > > m_otherKeys
const std::string m_typeName
The data type that is generated by this retriever.
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
For each track collection retrieve all data.
std::map< std::string, DataVect > DataMap
ToolHandle< Trk::IResidualPullCalculator > m_residualPullCalculator
Gaudi::Property< bool > m_doWriteAllCollections
const DataMap getData(const TrackCollection *trackCollection, const std::string &collectionName)
Puts the variables into a DataMap.
::StatusCode StatusCode
StatusCode definition for legacy code.
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
const AtlasDetectorID * m_idHelper
Used to find out the corresponding sub-det from ROT->identify().
Gaudi::Property< bool > m_doWriteHLT
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Retrieves all Trk::TrackCollection objects.
TrackRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Gaudi::Property< bool > m_doHitsSorting
ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
virtual std::string dataTypeName() const
Return the name of the data type that is generated by this retriever.