ATLAS Offline Software
TauPVTrkSelectionTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // TauPVTrkSelectionTool.h
7 // author: e.bouhova@cern.ch
9 
10 #ifndef DERIVATIONFRAMEWORK_TAUPVTRKSELECTIONTOOL_H
11 #define DERIVATIONFRAMEWORK_TAUPVTRKSELECTIONTOOL_H
12 
13 #include <string>
14 
19 #include "GaudiKernel/ToolHandle.h"
21 
28 namespace DerivationFramework {
29 
31  public:
32  TauPVTrkSelectionTool(const std::string& t, const std::string& n, const IInterface* p);
33 
36  virtual StatusCode addBranches() const;
37 
38  private:
39 
41  std::string m_tauContainerName;
42 
43  bool m_useTruth;
44  double m_maxDeltaR;
45  double m_minPt;
46 
47  ToolHandle < TauAnalysisTools::ITauTruthTrackMatchingTool > m_T3MT;
48 
49  StatusCode select(const xAOD::TrackParticleContainer*& tauPVTracks) const;
50 
51  };
52 }
53 
54 #endif // DERIVATIONFRAMEWORK_TAUPVTRKSELECTIONTOOL_H
DerivationFramework::TauPVTrkSelectionTool::initialize
StatusCode initialize()
Definition: TauPVTrkSelectionTool.cxx:38
DerivationFramework::TauPVTrkSelectionTool::m_T3MT
ToolHandle< TauAnalysisTools::ITauTruthTrackMatchingTool > m_T3MT
Definition: TauPVTrkSelectionTool.h:47
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
ITauTruthTrackMatchingTool.h
DerivationFramework::TauPVTrkSelectionTool::select
StatusCode select(const xAOD::TrackParticleContainer *&tauPVTracks) const
Definition: TauPVTrkSelectionTool.cxx:72
IAugmentationTool.h
DerivationFramework::TauPVTrkSelectionTool::m_tauPVTracksContainerName
std::string m_tauPVTracksContainerName
Definition: TauPVTrkSelectionTool.h:40
DerivationFramework::TauPVTrkSelectionTool::TauPVTrkSelectionTool
TauPVTrkSelectionTool(const std::string &t, const std::string &n, const IInterface *p)
Definition: TauPVTrkSelectionTool.cxx:20
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DataVector< xAOD::TrackParticle_v1 >
DerivationFramework::TauPVTrkSelectionTool::m_maxDeltaR
double m_maxDeltaR
Definition: TauPVTrkSelectionTool.h:44
DerivationFramework::TauPVTrkSelectionTool::finalize
StatusCode finalize()
Definition: TauPVTrkSelectionTool.cxx:48
DerivationFramework::TauPVTrkSelectionTool::m_tauContainerName
std::string m_tauContainerName
Definition: TauPVTrkSelectionTool.h:41
TrackParticle.h
DerivationFramework::TauPVTrkSelectionTool::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: TauPVTrkSelectionTool.cxx:53
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::TauPVTrkSelectionTool
Definition: TauPVTrkSelectionTool.h:30
TrackParticleContainer.h
DerivationFramework::TauPVTrkSelectionTool::m_useTruth
bool m_useTruth
Definition: TauPVTrkSelectionTool.h:43
DerivationFramework::TauPVTrkSelectionTool::m_minPt
double m_minPt
Definition: TauPVTrkSelectionTool.h:45