ATLAS Offline Software
VertexPlus1TrackCascade.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 VERTEXPLUS1TRACKCASCADE_H
6 #define VERTEXPLUS1TRACKCASCADE_H
7 //*********************
8 // VertexPlus1Cascade header file
9 //
10 // Adam Barton <abarton@cern.ch>
11 
13 #include "GaudiKernel/ToolHandle.h"
14 #include "xAODMuon/MuonContainer.h"
18 #include <vector>
20 
21 namespace Trk {
22  class IVertexFitter;
23  class ITrackSelectorTool;
24  class TrkVKalVrtFitter;
25  class IVertexCascadeFitter;
26  class VxCascadeInfo;
27 }
28 
29 namespace DerivationFramework {
30 
31  static const InterfaceID IID_VertexPlus1TrackCascade("VertexPlus1TrackCascade", 1, 0);
32 
33  class VertexPlus1TrackCascade : virtual public AthAlgTool
34  {
35 
36 
40 
41  std::vector<double> m_massHypothesis;
42 
43  std::vector<int> m_massConstraintTracksVtx1;
44  std::vector<int> m_massConstraintTracksVtx2;
47 
49  double m_trkMaxEta;
50 // double m_BThresholdPt;
51 // double m_BMassUpper;
52 // double m_BMassLower;
53 
56  ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
57  ToolHandle < Trk::ITrackSelectorTool > m_trkSelector;
58 
59  public:
60  static const InterfaceID& interfaceID() { return IID_VertexPlus1TrackCascade;}
61  VertexPlus1TrackCascade(const std::string& t, const std::string& n, const IInterface* p);
63  StatusCode initialize() override;
64  StatusCode finalize() override;
65  static double getInvariantMass(const std::vector<const xAOD::TrackParticle*> &Tracks, const std::vector<double> &massHypotheses);
66  static bool isContainedIn(const xAOD::TrackParticle* theTrack, const xAOD::MuonContainer* theColl);
67  StatusCode performSearch(std::vector<Trk::VxCascadeInfo*> *cascadeinfoContainer ) const;
68 
69  };
70 }
71 
72 
73 #endif
74 
InDetGNNHardScatterSelection::getter_utils::Tracks
std::vector< const xAOD::TrackParticle * > Tracks
Definition: InnerDetector/InDetRecTools/InDetGNNHardScatterSelection/InDetGNNHardScatterSelection/CustomGetterUtils.h:49
DerivationFramework::VertexPlus1TrackCascade::m_massConstraintTracksVtx2
std::vector< int > m_massConstraintTracksVtx2
Definition: VertexPlus1TrackCascade.h:44
DerivationFramework::VertexPlus1TrackCascade::finalize
StatusCode finalize() override
Definition: VertexPlus1TrackCascade.cxx:42
DerivationFramework::VertexPlus1TrackCascade::performSearch
StatusCode performSearch(std::vector< Trk::VxCascadeInfo * > *cascadeinfoContainer) const
Definition: VertexPlus1TrackCascade.cxx:108
DerivationFramework::VertexPlus1TrackCascade::m_roughMassLower
double m_roughMassLower
Definition: VertexPlus1TrackCascade.h:54
DerivationFramework::VertexPlus1TrackCascade::m_trkThresholdPt
double m_trkThresholdPt
Definition: VertexPlus1TrackCascade.h:48
DerivationFramework::VertexPlus1TrackCascade::m_Vtx2MassConstraint
double m_Vtx2MassConstraint
Definition: VertexPlus1TrackCascade.h:46
DerivationFramework::VertexPlus1TrackCascade::getInvariantMass
static double getInvariantMass(const std::vector< const xAOD::TrackParticle * > &Tracks, const std::vector< double > &massHypotheses)
Definition: VertexPlus1TrackCascade.cxx:87
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::VertexPlus1TrackCascade::m_roughMassUpper
double m_roughMassUpper
Definition: VertexPlus1TrackCascade.h:55
DerivationFramework::VertexPlus1TrackCascade::m_TrackPContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackPContainerKey
Definition: VertexPlus1TrackCascade.h:38
DerivationFramework::VertexPlus1TrackCascade::m_trkSelector
ToolHandle< Trk::ITrackSelectorTool > m_trkSelector
Definition: VertexPlus1TrackCascade.h:57
TrkVKalVrtFitter.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
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::VertexPlus1TrackCascade::m_vertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Definition: VertexPlus1TrackCascade.h:37
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
DerivationFramework::VertexPlus1TrackCascade::VertexPlus1TrackCascade
VertexPlus1TrackCascade(const std::string &t, const std::string &n, const IInterface *p)
Definition: VertexPlus1TrackCascade.cxx:48
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
DerivationFramework::VertexPlus1TrackCascade::m_Vtx1MassConstraint
double m_Vtx1MassConstraint
Definition: VertexPlus1TrackCascade.h:45
DerivationFramework::VertexPlus1TrackCascade::~VertexPlus1TrackCascade
~VertexPlus1TrackCascade()
Definition: VertexPlus1TrackCascade.cxx:85
DerivationFramework::VertexPlus1TrackCascade::interfaceID
static const InterfaceID & interfaceID()
Definition: VertexPlus1TrackCascade.h:60
MuonContainer.h
TrackParticle.h
DerivationFramework::VertexPlus1TrackCascade
Definition: VertexPlus1TrackCascade.h:34
VertexContainer.h
DerivationFramework::VertexPlus1TrackCascade::isContainedIn
static bool isContainedIn(const xAOD::TrackParticle *theTrack, const xAOD::MuonContainer *theColl)
Definition: VertexPlus1TrackCascade.cxx:99
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
DerivationFramework::VertexPlus1TrackCascade::m_iVertexFitter
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
Definition: VertexPlus1TrackCascade.h:56
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::VertexPlus1TrackCascade::m_trkMaxEta
double m_trkMaxEta
Definition: VertexPlus1TrackCascade.h:49
DerivationFramework::VertexPlus1TrackCascade::m_MuonsUsedInJpsiKey
SG::ReadHandleKey< xAOD::MuonContainer > m_MuonsUsedInJpsiKey
Definition: VertexPlus1TrackCascade.h:39
DerivationFramework::VertexPlus1TrackCascade::m_massConstraintTracksVtx1
std::vector< int > m_massConstraintTracksVtx1
Definition: VertexPlus1TrackCascade.h:43
TrackParticleContainer.h
DerivationFramework::VertexPlus1TrackCascade::initialize
StatusCode initialize() override
Definition: VertexPlus1TrackCascade.cxx:18
DerivationFramework::VertexPlus1TrackCascade::m_massHypothesis
std::vector< double > m_massHypothesis
Definition: VertexPlus1TrackCascade.h:41