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; }
18
19namespace JiveXML{
20
39
40 class TruthTrackRetriever : public extends<AthAlgTool, IDataRetriever> {
41
42 public:
43
45 TruthTrackRetriever(const std::string& type, const std::string& name, const IInterface* parent);
46
48 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
49
51 virtual std::string dataTypeName() const { return m_typeName; };
52
54 StatusCode initialize();
55
56 private:
58 const std::string m_typeName;
59
61 std::string m_McEvtCollName;
63 double m_MinPtCut;
66 };
67
68}
69#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.