ATLAS Offline Software
BPhysConversionFinder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
5 // BPhysConversionFinder.h, (c) ATLAS Detector software
7 // Author: A. Chisholm <andrew.chisholm@cern.ch>
8 #ifndef DERIVATIONFRAMEWORK_BPHYSCONVERSIONFINDER_H
9 #define DERIVATIONFRAMEWORK_BPHYSCONVERSIONFINDER_H
10 
11 #include <string>
12 
14 #include "GaudiKernel/ToolHandle.h"
16 
20 
21 class TLorentzVector;
22 
23 namespace Trk
24 {
25  class V0Tools;
26  class IVertexFitter;
27  class TrkVKalVrtFitter;
28 }
29 
30 
31 namespace DerivationFramework {
32 
34 
35  public:
36 
37  BPhysConversionFinder(const std::string& t, const std::string& n, const IInterface* p);
38 
39  StatusCode initialize() override;
40  StatusCode finalize() override;
41 
42  virtual StatusCode addBranches() const override;
43 
44  private:
45 
46  StatusCode doCascadeFit(const xAOD::Vertex * diMuonVertex, const xAOD::Vertex * convVertex, const double diMuonMassConstraint, TLorentzVector & fitMom, float & chiSq) const;
47 
49  std::vector<std::string> m_passFlagsToCheck;
50 
51  ToolHandle <Trk::V0Tools> m_v0Tools;
52  ToolHandle <Trk::IVertexFitter> m_vertexFitter;
53  ToolHandle <InDet::VertexPointEstimator> m_vertexEstimator;
54  ToolHandle <Trk::ITrkDistanceFinder> m_distanceTool;
55  ToolHandle <InDet::ConversionPostSelector> m_postSelector;
56  ToolHandle <Trk::TrkVKalVrtFitter > m_cascadeFitter;
57 
60 
63 
65  float m_maxDeltaM;
66 
67  };
68 }
69 
70 #endif // DERIVATIONFRAMEWORK_BPhysConversionFinder_H
DerivationFramework::BPhysConversionFinder::m_v0Tools
ToolHandle< Trk::V0Tools > m_v0Tools
Definition: BPhysConversionFinder.h:51
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
ITrkDistanceFinder.h
VertexPointEstimator.h
DerivationFramework::BPhysConversionFinder::m_conversionContainerName
std::string m_conversionContainerName
Definition: BPhysConversionFinder.h:59
DerivationFramework::BPhysConversionFinder::m_maxDistBetweenTracks
float m_maxDistBetweenTracks
Definition: BPhysConversionFinder.h:61
IAugmentationTool.h
DerivationFramework::BPhysConversionFinder
Definition: BPhysConversionFinder.h:33
DerivationFramework::BPhysConversionFinder::m_diMuonCollectionToCheck
std::string m_diMuonCollectionToCheck
Definition: BPhysConversionFinder.h:48
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::BPhysConversionFinder::doCascadeFit
StatusCode doCascadeFit(const xAOD::Vertex *diMuonVertex, const xAOD::Vertex *convVertex, const double diMuonMassConstraint, TLorentzVector &fitMom, float &chiSq) const
Definition: BPhysConversionFinder.cxx:561
DerivationFramework::BPhysConversionFinder::m_distanceTool
ToolHandle< Trk::ITrkDistanceFinder > m_distanceTool
Definition: BPhysConversionFinder.h:54
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::BPhysConversionFinder::m_cascadeFitter
ToolHandle< Trk::TrkVKalVrtFitter > m_cascadeFitter
Definition: BPhysConversionFinder.h:56
DerivationFramework::BPhysConversionFinder::m_vertexFitter
ToolHandle< Trk::IVertexFitter > m_vertexFitter
Definition: BPhysConversionFinder.h:52
DerivationFramework::BPhysConversionFinder::m_passFlagsToCheck
std::vector< std::string > m_passFlagsToCheck
Definition: BPhysConversionFinder.h:49
DerivationFramework::BPhysConversionFinder::initialize
StatusCode initialize() override
Definition: BPhysConversionFinder.cxx:61
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::BPhysConversionFinder::BPhysConversionFinder
BPhysConversionFinder(const std::string &t, const std::string &n, const IInterface *p)
Definition: BPhysConversionFinder.cxx:22
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
DerivationFramework::BPhysConversionFinder::m_requireDeltaM
bool m_requireDeltaM
Definition: BPhysConversionFinder.h:64
DerivationFramework::BPhysConversionFinder::m_vertexEstimator
ToolHandle< InDet::VertexPointEstimator > m_vertexEstimator
Definition: BPhysConversionFinder.h:53
V0Tools
DerivationFramework::BPhysConversionFinder::m_postSelector
ToolHandle< InDet::ConversionPostSelector > m_postSelector
Definition: BPhysConversionFinder.h:55
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
DerivationFramework::BPhysConversionFinder::addBranches
virtual StatusCode addBranches() const override
Pass the thinning service
Definition: BPhysConversionFinder.cxx:87
DerivationFramework::BPhysConversionFinder::m_inputTrackParticleContainerName
std::string m_inputTrackParticleContainerName
Definition: BPhysConversionFinder.h:58
DerivationFramework::BPhysConversionFinder::m_maxDeltaCotTheta
float m_maxDeltaCotTheta
Definition: BPhysConversionFinder.h:62
DerivationFramework::BPhysConversionFinder::m_maxDeltaM
float m_maxDeltaM
Definition: BPhysConversionFinder.h:65
DerivationFramework::BPhysConversionFinder::finalize
StatusCode finalize() override
Definition: BPhysConversionFinder.cxx:79
AthAlgTool
Definition: AthAlgTool.h:26
ConversionPostSelector.h