ATLAS Offline Software
DiTauTrackFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 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 #include "GaudiKernel/ToolHandle.h"
11 #include "xAODTracking/Vertex.h"
14 
16  public:
17 
18  //-------------------------------------------------------------
20  //-------------------------------------------------------------
21  DiTauTrackFinder(const std::string& type,
22  const std::string& name,
23  const IInterface * parent);
24 
25  //-------------------------------------------------------------
27  //-------------------------------------------------------------
28  virtual ~DiTauTrackFinder();
29 
30  virtual StatusCode initialize() override;
31 
33  const EventContext& ctx) const override;
34 
35 
36  // ------------------------------------------------------------
37  // Definition of track types
38  // ------------------------------------------------------------
43  OutsideTrack = 3
44  };
45 
48  const xAOD::Vertex*,
49  std::vector<const xAOD::TrackParticle*>&,
50  std::vector<const xAOD::TrackParticle*>&,
51  std::vector<const xAOD::TrackParticle*>& ) const;
52 
54  const xAOD::TrackParticle*,
55  const xAOD::Vertex* ) const;
56 
57 
58 
59 
60  private:
61  float m_MaxDrJet;
65  { this, "TrackParticleContainer", "InDetTrackParticles", "" };
66  ToolHandle<Trk::ITrackSelectorTool> m_TrackSelectorTool;
67 
68 };
69 
70 #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:40
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
DiTauTrackFinder::OutsideTrack
@ OutsideTrack
Definition: DiTauTrackFinder.h:43
DiTauTrackFinder::DiTauTrackFinder
DiTauTrackFinder(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: DiTauTrackFinder.cxx:11
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:136
DiTauTrackFinder
Definition: DiTauTrackFinder.h:15
DiTauTrackFinder::m_TrackSelectorTool
ToolHandle< Trk::ITrackSelectorTool > m_TrackSelectorTool
Definition: DiTauTrackFinder.h:66
DiTauTrackFinder::m_MaxNTracksSubjet
int m_MaxNTracksSubjet
Definition: DiTauTrackFinder.h:63
DiTauTrackFinder::DiTauOtherTrack
@ DiTauOtherTrack
Definition: DiTauTrackFinder.h:42
DiTauTrackFinder::m_MaxDrJet
float m_MaxDrJet
Definition: DiTauTrackFinder.h:61
DiTauTrackFinder::~DiTauTrackFinder
virtual ~DiTauTrackFinder()
Destructor.
SG::ReadHandleKey< xAOD::TrackParticleContainer >
DiTauTrackFinder::DiTauIsoTrack
@ DiTauIsoTrack
Definition: DiTauTrackFinder.h:41
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:794
Vertex.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DiTauToolBase
The base class for all tau tools.
Definition: DiTauToolBase.h:20
DiTauTrackFinder::DiTauSubjetTrack
@ DiTauSubjetTrack
Definition: DiTauTrackFinder.h:40
DiTauTrackFinder::diTauTrackType
DiTauTrackType diTauTrackType(const DiTauCandidateData *, const xAOD::TrackParticle *, const xAOD::Vertex *) const
Definition: DiTauTrackFinder.cxx:160
DiTauTrackFinder::DiTauTrackType
DiTauTrackType
Definition: DiTauTrackFinder.h:39
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
DiTauTrackFinder::m_TrackParticleContainerName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackParticleContainerName
Definition: DiTauTrackFinder.h:65
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DiTauTrackFinder::m_MaxDrSubjet
float m_MaxDrSubjet
Definition: DiTauTrackFinder.h:62
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:31
ITrackSelectorTool.h
TrackParticleContainer.h