ATLAS Offline Software
DiTauTrackFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DITAUREC_DITAUTRACKFINDER_H
6 #define DITAUREC_DITAUTRACKFINDER_H
7 
8 #include "DiTauToolBase.h"
9 
10 #include "GaudiKernel/ToolHandle.h"
12 
13 #include "xAODTracking/Vertex.h"
15 
17 
18 
20  public:
21 
22  //-------------------------------------------------------------
24  //-------------------------------------------------------------
25  DiTauTrackFinder(const std::string& type,
26  const std::string& name,
27  const IInterface * parent);
28 
29  //-------------------------------------------------------------
31  //-------------------------------------------------------------
32  virtual ~DiTauTrackFinder();
33 
34  virtual StatusCode initialize() override;
35 
37  const EventContext& ctx) const override;
38 
39 
40  // ------------------------------------------------------------
41  // Definition of track types
42  // ------------------------------------------------------------
47  OutsideTrack = 3
48  };
49 
52  const xAOD::Vertex*,
53  std::vector<const xAOD::TrackParticle*>&,
54  std::vector<const xAOD::TrackParticle*>&,
55  std::vector<const xAOD::TrackParticle*>& ) const;
56 
58  const xAOD::TrackParticle*,
59  const xAOD::Vertex* ) const;
60 
61 
62 
63 
64  private:
65  float m_MaxDrJet;
69  { this, "TrackParticleContainer", "InDetTrackParticles", "" };
70  ToolHandle<Trk::ITrackSelectorTool> m_TrackSelectorTool;
71 
72 };
73 
74 #endif // DITAUREC_DITAUTRACKFINDER_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DiTauTrackFinder::execute
virtual StatusCode execute(DiTauCandidateData *data, const EventContext &ctx) const override
Execute - called for each Ditau candidate.
Definition: DiTauTrackFinder.cxx:50
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
DiTauTrackFinder::OutsideTrack
@ OutsideTrack
Definition: DiTauTrackFinder.h:47
DiTauTrackFinder::DiTauTrackFinder
DiTauTrackFinder(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: DiTauTrackFinder.cxx:21
DiTauToolBase.h
DiTauTrackFinder::getTracksFromPV
void getTracksFromPV(const DiTauCandidateData *, const xAOD::TrackParticleContainer *, const xAOD::Vertex *, std::vector< const xAOD::TrackParticle * > &, std::vector< const xAOD::TrackParticle * > &, std::vector< const xAOD::TrackParticle * > &) const
Definition: DiTauTrackFinder.cxx:146
DiTauTrackFinder
Definition: DiTauTrackFinder.h:19
DiTauTrackFinder::m_TrackSelectorTool
ToolHandle< Trk::ITrackSelectorTool > m_TrackSelectorTool
Definition: DiTauTrackFinder.h:70
DiTauTrackFinder::m_MaxNTracksSubjet
int m_MaxNTracksSubjet
Definition: DiTauTrackFinder.h:67
DiTauTrackFinder::DiTauOtherTrack
@ DiTauOtherTrack
Definition: DiTauTrackFinder.h:46
DiTauTrackFinder::m_MaxDrJet
float m_MaxDrJet
Definition: DiTauTrackFinder.h:65
DiTauTrackFinder::~DiTauTrackFinder
virtual ~DiTauTrackFinder()
Destructor.
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DiTauTrackFinder::DiTauIsoTrack
@ DiTauIsoTrack
Definition: DiTauTrackFinder.h:45
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Vertex.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DiTauToolBase
The base class for all tau tools.
Definition: DiTauToolBase.h:20
DiTauTrackFinder::DiTauSubjetTrack
@ DiTauSubjetTrack
Definition: DiTauTrackFinder.h:44
DiTauTrackFinder::diTauTrackType
DiTauTrackType diTauTrackType(const DiTauCandidateData *, const xAOD::TrackParticle *, const xAOD::Vertex *) const
Definition: DiTauTrackFinder.cxx:170
DiTauTrackFinder::DiTauTrackType
DiTauTrackType
Definition: DiTauTrackFinder.h:43
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
DiTauTrackFinder::m_TrackParticleContainerName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackParticleContainerName
Definition: DiTauTrackFinder.h:69
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DiTauTrackFinder::m_MaxDrSubjet
float m_MaxDrSubjet
Definition: DiTauTrackFinder.h:66
DiTauCandidateData
Definition: DiTauCandidateData.h:15
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
DiTauTrackFinder::initialize
virtual StatusCode initialize() override
Tool initializer.
Definition: DiTauTrackFinder.cxx:41
ITrackSelectorTool.h
TrackParticleContainer.h