ATLAS Offline Software
TrackRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_TRACKRETRIEVER_H
6 #define JIVEXML_TRACKRETRIEVER_H
7 
10 #include "GaudiKernel/ToolHandle.h"
13 
14 //Forward declarations
15 class AtlasDetectorID;
16 
17 namespace JiveXML{
18 
59  class TrackRetriever : virtual public IDataRetriever,
60  public AthAlgTool {
61 
62  public:
63 
65  TrackRetriever(const std::string& type,const std::string& name,const IInterface* parent);
66 
68  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
69 
71  virtual std::string dataTypeName() const { return m_typeName; };
72 
75 
76  private:
78  const std::string m_typeName;
79 
80  //@name Property members
82  std::string m_PriorityTrackCollection;
85  std::vector<std::string> m_OtherTrackCollections;
98  ToolHandle<Trk::IResidualPullCalculator> m_residualPullCalculator;
102  ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool;
103 
104 
105  };
106 
107 }
108 #endif
ITrackSummaryTool.h
JiveXML::TrackRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: TrackRetriever.cxx:364
JiveXML::TrackRetriever::m_PriorityTrackCollection
std::string m_PriorityTrackCollection
First track collections to retrieve, shown as default in Atlantis.
Definition: TrackRetriever.h:83
JiveXML::TrackRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: TrackRetriever.h:78
JiveXML::TrackRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: TrackRetriever.cxx:399
JiveXML::TrackRetriever::m_residualPullCalculator
ToolHandle< Trk::IResidualPullCalculator > m_residualPullCalculator
ToolHandle to ResidualPullCaclulator tool.
Definition: TrackRetriever.h:98
JiveXML::TrackRetriever::m_doWriteHLT
bool m_doWriteHLT
Whether to write HLTAutoKey objects.
Definition: TrackRetriever.h:90
JiveXML::TrackRetriever::m_doHitsDetails
bool m_doHitsDetails
Whether to write hits (TSoS) details.
Definition: TrackRetriever.h:96
JiveXML::TrackRetriever::m_doWriteResiduals
bool m_doWriteResiduals
Whether to write TrackResiduals.
Definition: TrackRetriever.h:92
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::TrackRetriever::m_idHelper
const AtlasDetectorID * m_idHelper
Used to find out the corresponding sub-det from ROT->identify().
Definition: TrackRetriever.h:100
JiveXML::TrackRetriever::m_doHitsSorting
bool m_doHitsSorting
Whether to perform hits (TSoS) sorting.
Definition: TrackRetriever.h:94
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JiveXML::TrackRetriever
Retrieves all Trk::TrackCollection objects.
Definition: TrackRetriever.h:60
JiveXML::TrackRetriever::TrackRetriever
TrackRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: TrackRetriever.cxx:338
IResidualPullCalculator.h
JiveXML::TrackRetriever::m_trackSumTool
ToolHandle< Trk::ITrackSummaryTool > m_trackSumTool
TrackSummaryTool for number of Pix/SCT/TRT hits.
Definition: TrackRetriever.h:102
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::TrackRetriever::m_OtherTrackCollections
std::vector< std::string > m_OtherTrackCollections
Track collections to retrieve in the sequence they are given, all if empty.
Definition: TrackRetriever.h:85
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
JiveXML::TrackRetriever::m_TrackTruthCollection
std::string m_TrackTruthCollection
Track collection from which to retrieve the truth associations for the priority track collection.
Definition: TrackRetriever.h:88
JiveXML::TrackRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: TrackRetriever.h:71
IDataRetriever.h