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
11
12#include "GaudiKernel/ToolHandle.h"
13#include "GaudiKernel/ServiceHandle.h"
14
15//Forward declarations
16namespace Trk{ class IExtrapolator; }
17
18namespace JiveXML{
19
38
39 class TruthTrackRetriever : public extends<AthAlgTool, IDataRetriever> {
40
41 public:
42
44 TruthTrackRetriever(const std::string& type, const std::string& name, const IInterface* parent);
45
47 virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
48
50 virtual std::string dataTypeName() const { return m_typeName; };
51
53 StatusCode initialize();
54
55 private:
57 const std::string m_typeName;
58
60 std::string m_McEvtCollName;
62 double m_MinPtCut;
65 };
66
67}
68#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.