ATLAS Offline Software
JetFitterVariablesFactory.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_JETFITTERVARIABLESFACTORY_C
8 #define BTAGTOOL_JETFITTERVARIABLESFACTORY_C
9 
10 /******************************************************
11  @class JetFitterVariableFactory
12  Package : JetTagTools
13  Created : March 2007
14  DESCRIPTION:
15  This class is a "variable factory". It generates, starting from the VxJetCandidate, all
16  the variables actually used by the JetFitterTag.
17  @author Giacinto Piacquadio (giacinto.piacquadio AT physik.uni-freiburg.de)
18  @author2 Christian Weiser (christian.weiser AT physik.uni-freiburg.de) (University of Freiburg)
19 ********************************************************/
20 
23 #include <utility>
24 
25 
26 namespace Analysis {
27 
28  class JetFitterVariablesFactory : public AthAlgTool , virtual public IJetFitterVariablesFactory {
29 
30  public:
31 
32 
33  JetFitterVariablesFactory(const std::string& name,
34  const std::string& n, const IInterface* p);
36 
38  virtual StatusCode finalize();
39 
40  virtual StatusCode fillJetFitterVariables(const xAOD::Jet &, xAOD::BTagging* BTag, const Trk::VxJetFitterVertexInfo* myJetFitterInfo, std::string basename) const;
41 
42  private:
43 
47 
48  void fill(xAOD::BTagging* BTag, const std::string& basename, float mass_uncorr,
49  int nVTX, int nSingleTracks, int nTracksAtVtx, float mass, float energyFraction,
50  float significance3d, float deltaeta, float deltaphi, float chi2, int ndof, float deltaRFlightDir) const;
51 
52  };
53 
54 }//end Analysis namespace
55 
56 #endif
IDTPM::ndof
float ndof(const U &p)
Definition: TrackParametersHelper.h:134
Analysis::JetFitterVariablesFactory::~JetFitterVariablesFactory
virtual ~JetFitterVariablesFactory()
Destructor - check up memory allocation delete any memory allocation on the heap.
Definition: JetFitterVariablesFactory.cxx:55
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
IJetFitterVariablesFactory.h
Analysis::JetFitterVariablesFactory::m_addNegativeTracksToPrimaryVertex
bool m_addNegativeTracksToPrimaryVertex
Definition: JetFitterVariablesFactory.h:62
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
Analysis::JetFitterVariablesFactory::initialize
virtual StatusCode initialize()
Definition: JetFitterVariablesFactory.cxx:57
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::JetFitterVariablesFactory::fillJetFitterVariables
virtual StatusCode fillJetFitterVariables(const xAOD::Jet &, xAOD::BTagging *BTag, const Trk::VxJetFitterVertexInfo *myJetFitterInfo, std::string basename) const
Definition: JetFitterVariablesFactory.cxx:67
AthAlgTool.h
Analysis::JetFitterVariablesFactory::finalize
virtual StatusCode finalize()
Definition: JetFitterVariablesFactory.cxx:62
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:523
Analysis::JetFitterVariablesFactory::JetFitterVariablesFactory
JetFitterVariablesFactory(const std::string &name, const std::string &n, const IInterface *p)
Definition: JetFitterVariablesFactory.cxx:38
xAOD::BTagging_v1
Definition: BTagging_v1.h:39
Trk::VxJetFitterVertexInfo
Definition: VxJetFitterVertexInfo.h:58
Analysis::JetFitterVariablesFactory::m_useSingleTracksAlsoForMass
bool m_useSingleTracksAlsoForMass
Definition: JetFitterVariablesFactory.h:64
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Analysis::JetFitterVariablesFactory::m_usePtCorrectedEnergy
bool m_usePtCorrectedEnergy
Definition: JetFitterVariablesFactory.h:63
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
xAODType::BTag
@ BTag
The object is a b-tagging object.
Definition: ObjectType.h:60
AthAlgTool
Definition: AthAlgTool.h:26
Analysis::JetFitterVariablesFactory::fill
void fill(xAOD::BTagging *BTag, const std::string &basename, float mass_uncorr, int nVTX, int nSingleTracks, int nTracksAtVtx, float mass, float energyFraction, float significance3d, float deltaeta, float deltaphi, float chi2, int ndof, float deltaRFlightDir) const
Definition: JetFitterVariablesFactory.cxx:373
beamspotman.basename
basename
Definition: beamspotman.py:640