ATLAS Offline Software
CombinerToolTag.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /******************************************************
6 
7  @class CombinerToolTag
8  General tool to combine likelihoods
9 
10  (uses Andi Wildauer's CombinerTool)
11 
12  Created - 23 April 2007
13 
14  @author Giacinto Piacquadio (giacinto.piacquadio AT physik.uni-freiburg.de)
15  @author2 Christian Weiser (christian.weiser AT physik.uni-freiburg.de)
16 
17  --- ( University of FREIBURG ) ---
18 
19  (c) 2007 - ATLAS Detector Software
20 
21 ********************************************************/
22 
23 #ifndef JETTAGTOOLS_COMBINERTOOLTAG_H
24 #define JETTAGTOOLS_COMBINERTOOLTAG_H
25 
27 #include "GaudiKernel/ToolHandle.h"
28 #include "JetTagTools/ITagTool.h"
29 #include <vector>
30 
31 namespace Tracking {
32  class VxCandidate;
33 }
34 
35 namespace Analysis {
36 
37  class ICombinerTool;
38 
39  class CombinerToolTag : public AthAlgTool , virtual public ITagTool
40  {
41  public:
42  CombinerToolTag(const std::string&,const std::string&,const IInterface*);
43 
47  virtual ~CombinerToolTag() = default;
48  virtual StatusCode initialize() override;
49  virtual void tagJet(xAOD::Jet& jetToTag);
50 
51  private:
52 
54  std::vector<std::string> m_listTaggers;
55  std::string m_combinedTagString;
56 
57  ToolHandle<ICombinerTool> m_combinerTool;
58 
59  }; // End class
60 } // End namespace
61 
62 #endif
Analysis::CombinerToolTag::CombinerToolTag
CombinerToolTag(const std::string &, const std::string &, const IInterface *)
Definition: CombinerToolTag.cxx:45
Analysis::ITagTool
Definition: ITagTool.h:33
Analysis::CombinerToolTag::tagJet
virtual void tagJet(xAOD::Jet &jetToTag)
Definition: CombinerToolTag.cxx:68
Analysis::CombinerToolTag::~CombinerToolTag
virtual ~CombinerToolTag()=default
Implementations of the methods defined in the abstract base class.
Tracking
Definition: CombinerToolTag.h:31
Analysis::CombinerToolTag::m_combinedTagString
std::string m_combinedTagString
Definition: CombinerToolTag.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITagTool.h
AthAlgTool.h
Analysis::CombinerToolTag
Definition: CombinerToolTag.h:40
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
Analysis::CombinerToolTag::m_listTaggers
std::vector< std::string > m_listTaggers
List of the variables to be used in the likelihood.
Definition: CombinerToolTag.h:54
Analysis::CombinerToolTag::initialize
virtual StatusCode initialize() override
Definition: CombinerToolTag.cxx:57
AthAlgTool
Definition: AthAlgTool.h:26
Analysis::CombinerToolTag::m_combinerTool
ToolHandle< ICombinerTool > m_combinerTool
Definition: CombinerToolTag.h:57