ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTruthTracks
TrkTruthTrackTools
src
TruthTrackBuilder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TruthTrackBuilder.h, (c) ATLAS Detector software
8
9
#ifndef TRK_TRUTHTRACKTOOLS_TRUTHTRACKBUILDER_H
10
#define TRK_TRUTHTRACKTOOLS_TRUTHTRACKBUILDER_H 1
11
12
// Gaudi
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
// Trk includes
16
#include "
TrkTruthTrackInterfaces/ITruthTrackBuilder.h
"
17
#include "
TrkFitterInterfaces/ITrackFitter.h
"
18
#include "
TrkExInterfaces/IExtrapolator.h
"
19
#include "
TrkToolInterfaces/IRIO_OnTrackCreator.h
"
20
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
21
22
class
AtlasDetectorID
;
23
24
25
namespace
Trk
{
26
27
class
Track
;
28
36
37
class
TruthTrackBuilder
:
public
AthAlgTool
,
virtual
public
ITruthTrackBuilder
{
38
39
public
:
40
//** Constructor with parameters */
41
TruthTrackBuilder
(
const
std::string& t,
const
std::string& n,
const
IInterface* p );
42
43
// Athena algtool's Hooks
44
StatusCode
initialize
();
45
StatusCode
finalize
();
46
48
Track
*
createTrack
(
const
PRD_TruthTrajectory
& prdTraj,
SegmentCollection
* segs = 0 )
const
;
49
50
private
:
51
ToolHandle<ITrackFitter>
m_trackFitter
{
this
,
"TrackFitter"
,
""
};
52
ToolHandle<IExtrapolator>
m_extrapolator
{
this
,
"ExtrapolationTool"
,
""
};
53
ToolHandle< IRIO_OnTrackCreator >
m_rotcreator
{
this
,
"RotCreatorTool"
,
""
};
54
ToolHandle< IRIO_OnTrackCreator >
m_rotcreatorbroad
{
this
,
"BroadRotCreatorTool"
,
""
};
55
56
const
AtlasDetectorID
*
m_DetID
;
57
58
Gaudi::Property<size_t>
m_minNdof
{
this
,
"MinDegreesOfFreedom"
, 6};
59
Gaudi::Property<bool>
m_onlyPrimaries
{
this
,
"OnlyPrimaries"
,
false
};
60
Gaudi::Property<unsigned int>
m_minSiHits
{
this
,
"MinSiHits"
, 7};
61
Gaudi::Property<unsigned int>
m_minSiHitsForward
{
this
,
"MinSiHitsForward"
, 7};
62
Gaudi::Property<float>
m_forwardBoundary
{
this
,
"ForwardBoundary"
, 2.5};
63
64
Gaudi::Property<int>
m_matEffects
{
this
,
"MatEffects"
, 3,
65
"Type of material interaction in extrapolation (Default Pion)"
};
66
};
67
68
}
// end of namespace
69
70
#endif
// TRK_TRUTHTRACKTOOLS_TRUTHTRACKBUILDER_H
71
AthAlgTool.h
IExtrapolator.h
IRIO_OnTrackCreator.h
ITrackFitter.h
ITruthTrackBuilder.h
ParticleHypothesis.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
Trk::ITruthTrackBuilder
The interface for the truth track finder.
Definition
ITruthTrackBuilder.h:32
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk::TruthTrackBuilder::m_rotcreator
ToolHandle< IRIO_OnTrackCreator > m_rotcreator
Definition
TruthTrackBuilder.h:53
Trk::TruthTrackBuilder::m_minSiHits
Gaudi::Property< unsigned int > m_minSiHits
min number of Si hits for refit
Definition
TruthTrackBuilder.h:60
Trk::TruthTrackBuilder::m_forwardBoundary
Gaudi::Property< float > m_forwardBoundary
Boundary eta value defining the forward region.
Definition
TruthTrackBuilder.h:62
Trk::TruthTrackBuilder::m_minSiHitsForward
Gaudi::Property< unsigned int > m_minSiHitsForward
min number of Si hits for refit in forward region (ITk specific)
Definition
TruthTrackBuilder.h:61
Trk::TruthTrackBuilder::m_DetID
const AtlasDetectorID * m_DetID
Definition
TruthTrackBuilder.h:56
Trk::TruthTrackBuilder::TruthTrackBuilder
TruthTrackBuilder(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
Definition
TruthTrackBuilder.cxx:28
Trk::TruthTrackBuilder::createTrack
Track * createTrack(const PRD_TruthTrajectory &prdTraj, SegmentCollection *segs=0) const
return a map of GenParticles to PRDs for further processing
Definition
TruthTrackBuilder.cxx:78
Trk::TruthTrackBuilder::m_minNdof
Gaudi::Property< size_t > m_minNdof
checks min degrees of freedom if bigger -1
Definition
TruthTrackBuilder.h:58
Trk::TruthTrackBuilder::m_onlyPrimaries
Gaudi::Property< bool > m_onlyPrimaries
restrict track creation to primaries
Definition
TruthTrackBuilder.h:59
Trk::TruthTrackBuilder::initialize
StatusCode initialize()
Definition
TruthTrackBuilder.cxx:37
Trk::TruthTrackBuilder::m_trackFitter
ToolHandle< ITrackFitter > m_trackFitter
fits the PRDs
Definition
TruthTrackBuilder.h:51
Trk::TruthTrackBuilder::m_matEffects
Gaudi::Property< int > m_matEffects
Definition
TruthTrackBuilder.h:64
Trk::TruthTrackBuilder::m_rotcreatorbroad
ToolHandle< IRIO_OnTrackCreator > m_rotcreatorbroad
Definition
TruthTrackBuilder.h:54
Trk::TruthTrackBuilder::finalize
StatusCode finalize()
Definition
TruthTrackBuilder.cxx:71
Trk::TruthTrackBuilder::m_extrapolator
ToolHandle< IExtrapolator > m_extrapolator
extrapolator
Definition
TruthTrackBuilder.h:52
Track
Definition
TriggerChamberClusterOnTrackCreator.h:19
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::SegmentCollection
DataVector< Trk::Segment > SegmentCollection
Definition
SegmentCollection.h:13
Trk::PRD_TruthTrajectory
simple definitiion of a PRD_TruhtTrajectory
Definition
PRD_TruthTrajectory.h:27
Generated on
for ATLAS Offline Software by
1.17.0