ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace Trk{ class IExtrapolator; }
18namespace HepPDT{ class ParticleDataTable; }
19
20namespace JiveXML{
21
40
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
55 StatusCode initialize();
56
57 private:
59 const std::string m_typeName;
60
62 std::string m_McEvtCollName;
64 double m_MinPtCut;
67 };
68
69}
70#endif
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
StatusCode initialize()
Default AthAlgTool methods.
std::string m_McEvtCollName
Storegate key for the McEventCollection (different between RDO/ESD and AOD)
TruthTrackRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
double m_MinRhoCut
Minium radius of the end-vertex for the particle to get accepted.
double m_MinPtCut
Minimum pT for a particle to get accepted.
const std::string m_typeName
The data type that is generated by this retriever.
virtual std::string dataTypeName() const
Return the name of the data type.
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Ensure that the ATLAS eigen extensions are properly loaded.