ATLAS Offline Software
IBTagTool.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 /* **************************************************************************
6  IBTagTool.h - Description
7  -------------------
8  begin : 21.01.05
9  authors : Andreas Wildauer (CERN PH-ATC), Fredrik Akesson (CERN PH-ATC)
10  email : andreas.wildauer@cern.ch, fredrik.akesson@cern.ch
11 
12  ***************************************************************************/
13 
14 #ifndef BTAGGING_IBTAGTOOL_H
15 #define BTAGGING_IBTAGTOOL_H
16 
17 #include "GaudiKernel/IAlgTool.h"
18 #include "xAODJet/Jet.h"
19 #include "xAODBTagging/BTagging.h"
20 #include "xAODTracking/VertexFwd.h"
21 #include "xAODJet/JetContainer.h"
24 
25 namespace Analysis
26 {
27 
35 class IBTagTool : virtual public IAlgTool
36 {
37  public:
39 
41  virtual ~IBTagTool() = default;
42 
43  virtual StatusCode tagJet(const xAOD::Jet*, xAOD::BTagging*, const std::string &jetName, const xAOD::Vertex* vtx = 0) const = 0;
44  virtual StatusCode tagJet(const xAOD::JetContainer * jetContainer, xAOD::BTaggingContainer * btaggingContainer, const std::string &jetName) const = 0;
45  virtual void finalizeHistos() = 0;
46 
47 };
48 
49 } // End namespace
50 #endif
Jet.h
BTagging.h
Analysis::IBTagTool::DeclareInterfaceID
DeclareInterfaceID(IBTagTool, 1, 0)
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
Analysis::IBTagTool::tagJet
virtual StatusCode tagJet(const xAOD::JetContainer *jetContainer, xAOD::BTaggingContainer *btaggingContainer, const std::string &jetName) const =0
JetAnalysisAlgorithmsTest_EMTopo_eljob.jetContainer
string jetContainer
Definition: JetAnalysisAlgorithmsTest_EMTopo_eljob.py:36
BTaggingContainer.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::IBTagTool
Definition: IBTagTool.h:36
Analysis::IBTagTool::finalizeHistos
virtual void finalizeHistos()=0
VertexFwd.h
Analysis::IBTagTool::tagJet
virtual StatusCode tagJet(const xAOD::Jet *, xAOD::BTagging *, const std::string &jetName, const xAOD::Vertex *vtx=0) const =0
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
JetContainer.h
Analysis::IBTagTool::~IBTagTool
virtual ~IBTagTool()=default
Virtual destructor.