ATLAS Offline Software
MSVVariablesFactory.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef BTAGTOOL_MSVVARIABLESFACTORY_C
8 #define BTAGTOOL_MSVVARIABLESFACTORY_C
9 
10 /******************************************************
11  @class MSVVariableFactory
12 
13 ********************************************************/
14 
17 #include <utility>
18 
19 class StoreGateSvc;
20 
21 namespace Analysis {
22 
23  class MSVVariablesFactory : public AthAlgTool , virtual public IMSVVariablesFactory {
24 
25  public:
26 
27  MSVVariablesFactory(const std::string& name,
28  const std::string& n, const IInterface* p);
29  virtual ~MSVVariablesFactory() = default;
30 
31  virtual StatusCode initialize() override;
32  virtual StatusCode finalize() override;
33 
35  (const xAOD::Jet &, xAOD::BTagging* BTag,
36  const Trk::VxSecVKalVertexInfo* myInfoVKal,
37  xAOD::VertexContainer* btagVertex, const xAOD::Vertex& PV,
38  std::string basename) const override ;
40  (const xAOD::Jet &, const Trk::VxSecVKalVertexInfo* myInfoVKal,
41  xAOD::VertexContainer* btagVertex, const xAOD::Vertex& PV) const override;
42 
43  private:
44  double get3DSignificance(const xAOD::Vertex* priVertex,
45  std::vector<const xAOD::Vertex*>& secVertex,
46  const Amg::Vector3D jetDirection) const;
47 
48 
49  };
50 
51 }//end Analysis namespace
52 
53 #endif
Analysis::MSVVariablesFactory::finalize
virtual StatusCode finalize() override
Definition: MSVVariablesFactory.cxx:52
Analysis::MSVVariablesFactory::fillMSVVariables
virtual StatusCode fillMSVVariables(const xAOD::Jet &, xAOD::BTagging *BTag, const Trk::VxSecVKalVertexInfo *myInfoVKal, xAOD::VertexContainer *btagVertex, const xAOD::Vertex &PV, std::string basename) const override
Definition: MSVVariablesFactory.cxx:140
Analysis::IMSVVariablesFactory
Definition: IMSVVariablesFactory.h:35
Analysis::MSVVariablesFactory::MSVVariablesFactory
MSVVariablesFactory(const std::string &name, const std::string &n, const IInterface *p)
Definition: MSVVariablesFactory.cxx:39
Analysis::MSVVariablesFactory::~MSVVariablesFactory
virtual ~MSVVariablesFactory()=default
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
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
Analysis::MSVVariablesFactory
Definition: MSVVariablesFactory.h:23
AthAlgTool.h
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
IMSVVariablesFactory.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::VxSecVKalVertexInfo
Definition: VxSecVKalVertexInfo.h:70
Analysis::MSVVariablesFactory::initialize
virtual StatusCode initialize() override
Definition: MSVVariablesFactory.cxx:47
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
xAODType::BTag
@ BTag
The object is a b-tagging object.
Definition: ObjectType.h:60
AthAlgTool
Definition: AthAlgTool.h:26
Analysis::MSVVariablesFactory::get3DSignificance
double get3DSignificance(const xAOD::Vertex *priVertex, std::vector< const xAOD::Vertex * > &secVertex, const Amg::Vector3D jetDirection) const
Definition: MSVVariablesFactory.cxx:255
Analysis::MSVVariablesFactory::createMSVContainer
virtual StatusCode createMSVContainer(const xAOD::Jet &, const Trk::VxSecVKalVertexInfo *myInfoVKal, xAOD::VertexContainer *btagVertex, const xAOD::Vertex &PV) const override
Definition: MSVVariablesFactory.cxx:58
beamspotman.basename
basename
Definition: beamspotman.py:640