ATLAS Offline Software
TruthMuonTrackRetriever.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_TRUTHMUONTRACKRETRIEVER_H
6 #define JIVEXML_TRUTHMUONTRACKRETRIEVER_H
7 
8 #include <string>
9 
10 #include "JiveXML/IDataRetriever.h"
12 #include "GaudiKernel/ToolHandle.h"
13 
14 namespace HepPDT{
15  class ParticleDataTable;
16 }
17 
18 
19 namespace JiveXML{
20 
38  class TruthMuonTrackRetriever : public extends<AthAlgTool, IDataRetriever> {
39 
40  public:
41 
43  TruthMuonTrackRetriever(const std::string& type ,const std::string& name,const IInterface* parent);
44 
46  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
47 
49  virtual std::string dataTypeName() const { return m_typeName; };
50 
53 
54  private:
56  const std::string m_typeName;
57 
59  std::vector<std::string> m_TrackRecCollNames;
60 
61  };
62 
63 }
64 #endif
65 
JiveXML::TruthMuonTrackRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: TruthMuonTrackRetriever.h:49
JiveXML::TruthMuonTrackRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: TruthMuonTrackRetriever.cxx:44
JiveXML::TruthMuonTrackRetriever::TruthMuonTrackRetriever
TruthMuonTrackRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: TruthMuonTrackRetriever.cxx:28
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
HepPDT
Definition: BeamHaloGenerator.h:13
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
JiveXML::TruthMuonTrackRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: TruthMuonTrackRetriever.h:56
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JiveXML::TruthMuonTrackRetriever::m_TrackRecCollNames
std::vector< std::string > m_TrackRecCollNames
A list of StoreGate names to probe in this order for the muon record collecton.
Definition: TruthMuonTrackRetriever.h:59
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::TruthMuonTrackRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: TruthMuonTrackRetriever.cxx:54
JiveXML::TruthMuonTrackRetriever
Retrieves the muons information from the TrackRecordCollection.
Definition: TruthMuonTrackRetriever.h:38
IDataRetriever.h