ATLAS Offline Software
TruthTrackRetriever.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_TRUTHTRACKRETRIEVER_H
6 #define JIVEXML_TRUTHTRACKRETRIEVER_H
7 
9 #include "GaudiKernel/IPartPropSvc.h"
10 
12 
13 #include "GaudiKernel/ToolHandle.h"
14 #include "GaudiKernel/ServiceHandle.h"
15 
16 //Forward declarations
17 namespace Trk{ class IExtrapolator; }
18 namespace HepPDT{ class ParticleDataTable; }
19 
20 namespace JiveXML{
21 
41  class TruthTrackRetriever : public extends<AthAlgTool, IDataRetriever> {
42 
43  public:
44 
46  TruthTrackRetriever(const std::string& type, const std::string& name, const IInterface* parent);
47 
49  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
50 
52  virtual std::string dataTypeName() const { return m_typeName; };
53 
56 
57  private:
59  const std::string m_typeName;
60 
62  std::string m_McEvtCollName;
64  double m_MinPtCut;
66  double m_MinRhoCut;
67  };
68 
69 }
70 #endif
JiveXML::TruthTrackRetriever::m_McEvtCollName
std::string m_McEvtCollName
Storegate key for the McEventCollection (different between RDO/ESD and AOD)
Definition: TruthTrackRetriever.h:62
JiveXML::TruthTrackRetriever::m_MinPtCut
double m_MinPtCut
Minimum pT for a particle to get accepted.
Definition: TruthTrackRetriever.h:64
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
JiveXML::TruthTrackRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: TruthTrackRetriever.h:52
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HepPDT
Definition: BeamHaloGenerator.h:13
JiveXML::TruthTrackRetriever::TruthTrackRetriever
TruthTrackRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: TruthTrackRetriever.cxx:26
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
JiveXML::TruthTrackRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: TruthTrackRetriever.cxx:39
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
JiveXML::TruthTrackRetriever
Retrieves the McEventCollection or the TrackRecordCollection in simulated cosmics.
Definition: TruthTrackRetriever.h:41
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::TruthTrackRetriever::m_MinRhoCut
double m_MinRhoCut
Minium radius of the end-vertex for the particle to get accepted.
Definition: TruthTrackRetriever.h:66
JiveXML::TruthTrackRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: TruthTrackRetriever.h:59
JiveXML::TruthTrackRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: TruthTrackRetriever.cxx:48
IDataRetriever.h