ATLAS Offline Software
IMSVVariablesFactory.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // -*-c++-*- header for IJetFitterVariablesFactory
6 #ifndef BTAGTOOL_IMSVVARIABLESFACTORY_C
7 #define BTAGTOOL_IMSVVARIABLESFACTORY_C
8 
9 /******************************************************
10  @class MSVVariableFactory
11  Package : JetTagTools
12  Created : Sept 2014
13  DESCRIPTION:
14  This class is a "variable factory". It generates all
15  the variables per vertex in MSV.
16 ********************************************************/
17 
18 #include "GaudiKernel/IAlgTool.h"
19 #include "xAODJet/Jet.h"
20 #include "xAODBTagging/BTagging.h"
22 #include "xAODTracking/Vertex.h"
23 #include <string>
24 
25 namespace Trk {
26  class VxSecVKalVertexInfo;
27 }
28 
29 namespace Analysis {
30 
31  static const InterfaceID IID_IMSVVariablesFactory
32  ("Analysis::IMSVVariablesFactory", 1, 0);
33 
34 
35  class IMSVVariablesFactory : virtual public IAlgTool {
36 
37  public:
38 
39  virtual ~IMSVVariablesFactory(){};
40 
41  virtual StatusCode initialize() = 0;
42  virtual StatusCode finalize() = 0;
43  //virtual void setOrigin(const xAOD::Vertex* priVtx) = 0;
44 
45  virtual StatusCode fillMSVVariables(const xAOD::Jet &, xAOD::BTagging* BTag, const Trk::VxSecVKalVertexInfo* myInfoVKal, xAOD::VertexContainer* btagVertex, const xAOD::Vertex& PV, std::string basename)const = 0;
46  virtual StatusCode createMSVContainer(const xAOD::Jet &, const Trk::VxSecVKalVertexInfo* myInfoVKal, xAOD::VertexContainer* btagVertex, const xAOD::Vertex& PV)const = 0;
47 
48 
49  static const InterfaceID& interfaceID() { return IID_IMSVVariablesFactory; };
50 
51  };
52 
53 
54 
55 }//end Analysis namespace
56 
57 #endif
Jet.h
BTagging.h
Analysis::IMSVVariablesFactory::finalize
virtual StatusCode finalize()=0
Analysis::IMSVVariablesFactory
Definition: IMSVVariablesFactory.h:35
Analysis::IMSVVariablesFactory::interfaceID
static const InterfaceID & interfaceID()
Definition: IMSVVariablesFactory.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
Vertex.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Analysis::IMSVVariablesFactory::createMSVContainer
virtual StatusCode createMSVContainer(const xAOD::Jet &, const Trk::VxSecVKalVertexInfo *myInfoVKal, xAOD::VertexContainer *btagVertex, const xAOD::Vertex &PV) const =0
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Trk::VxSecVKalVertexInfo
Definition: VxSecVKalVertexInfo.h:70
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
VertexContainer.h
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
Analysis::IMSVVariablesFactory::~IMSVVariablesFactory
virtual ~IMSVVariablesFactory()
Definition: IMSVVariablesFactory.h:39
Analysis::IMSVVariablesFactory::initialize
virtual StatusCode initialize()=0
Analysis::IMSVVariablesFactory::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 =0
beamspotman.basename
basename
Definition: beamspotman.py:640