ATLAS Offline Software
Loading...
Searching...
No Matches
DetailedTrackGradeFactory.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#ifndef JETTAGTOOLS_DetailedTrackGradeFactory_H
6#define JETTAGTOOLS_DetailedTrackGradeFactory_H
19
22#include <string>
23#include <vector>
24
25#include "GaudiKernel/ToolHandle.h"
27
29
30namespace Analysis
31{
32
33 class TrackGrade;
34
36{
37 public:
38
39 DetailedTrackGradeFactory(const std::string&,const std::string&,const IInterface*);
40 virtual ~DetailedTrackGradeFactory() = default;
41
43 virtual StatusCode initialize() override;
44
45 virtual TrackGrade* getGrade(const xAOD::TrackParticle & track,
46 const xAOD::IParticle::FourMom_t & jetMomentum) const override;
47
48 virtual const TrackGradesDefinition & getTrackGradesDefinition() const override;
49
50private:
51
53
54 bool m_hitBLayerGrade; // grade for tracks without hit in First Layers
56
57 bool m_useRun2TrackGrading; // enabling run2 grading
58 bool m_useITkTrackGrading; // enabling ITk grading
59 bool m_useInnerLayers0HitInfo; //grading categories with no hits in one of the first 2 innermost pixel layers
60 bool m_useDetailSharedHitInfo; //grading categories according to shared hit content
61 bool m_useDetailSplitHitInfo; //grading categories according to Split hit content
62
71
72 bool m_ptFracGrade; // grade for tracks with ptFrac < m_ptFracCut
73 double m_ptFracCut;
74
76 std::vector<double> m_ptLowerCuts;
77 std::vector<double> m_etaLowerCuts;
78
79 std::vector<std::vector<double>> m_gammaLowerCuts;
80
81};
82
83}
84#endif
85
virtual ~DetailedTrackGradeFactory()=default
int m_nSharedSct
max. number of shared hits in pixels
virtual StatusCode initialize() override
AlgTool initialize method.
int m_nOutlierPix
max. number of shared hits next-to-innermost pixel layer (Run1 B layer)
bool m_ptFracGrade
max. number of spoilt hits in pixel
int m_nSpoiltPix
max. number of pixel outliers in two first layers
virtual TrackGrade * getGrade(const xAOD::TrackParticle &track, const xAOD::IParticle::FourMom_t &jetMomentum) const override
int m_nSharedPix
max. number of shared hits in B layer
DetailedTrackGradeFactory(const std::string &, const std::string &, const IInterface *)
int m_nSharedNextToInnermostPixelLayer
max. number of shared hits in innermost pixel layer (IBL)
std::vector< std::vector< double > > m_gammaLowerCuts
bool m_useRun2TrackGrading
if false the following cuts are ignored
std::vector< double > m_ptLowerCuts
grades in pt and/or |eta| of tracks
virtual const TrackGradesDefinition & getTrackGradesDefinition() const override
int m_nSharedSi
max. number of shared hits in SCT
int m_nSharedInnermostPixelLayer
max. number of shared hits in pixels+SCT
Interface class for the CombinerTool AlgTool, it inherits from IAlgTool Detailed information about pr...
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
TLorentzVector FourMom_t
Definition of the 4-momentum type.
The namespace of all packages in PhysicsAnalysis/JetTagging.
TrackParticle_v1 TrackParticle
Reference the current persistent version: