ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
PixelToTPIDTool
PixelToTPIDTool
PixelToTPIDTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
10
11
#ifndef INDETPIXELTOTPIDTOOL_H
12
#define INDETPIXELTOTPIDTOOL_H
13
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
17
#include "
TrkToolInterfaces/IPixelToTPIDTool.h
"
18
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
19
20
#include "
PixelConditionsData/PixelChargeCalibCondData.h
"
21
#include "
PixelConditionsData/PixeldEdxData.h
"
22
#include "
StoreGate/ReadCondHandleKey.h
"
23
24
class
AtlasDetectorID
;
25
class
Identifier
;
26
class
PixelID
;
27
class
IIBLParameterSvc
;
28
29
namespace
Trk
{
30
class
Track
;
31
}
32
33
namespace
InDet
{
34
class
PixelToTPIDTool
:
virtual
public
Trk::IPixelToTPIDTool
,
public
AthAlgTool
{
35
public
:
36
PixelToTPIDTool
(
const
std::string&,
const
std::string&,
const
IInterface*);
37
38
virtual
~PixelToTPIDTool
();
39
virtual
StatusCode
initialize
()
override
;
40
virtual
StatusCode
finalize
()
override
;
41
42
virtual
float
dEdx
(
const
EventContext& ctx,
43
const
Trk::Track
& track,
44
int
& nUsedHits,
45
int
& nUsedIBLOverflowHits)
const
override
final
;
46
47
virtual
std::vector<float>
getLikelihoods
(
48
const
EventContext& ctx,
49
double
dedx,
50
double
p,
51
int
nGoodPixels)
const
override
final
;
52
53
virtual
float
getMass
(
const
EventContext& ctx,
54
double
dedx,
55
double
p,
56
int
nGoodPixels)
const
override
final
;
57
58
private
:
59
ServiceHandle<IIBLParameterSvc>
m_IBLParameterSvc
;
60
const
PixelID
*
m_pixelid
;
61
double
m_conversionfactor
;
62
63
SG::ReadCondHandleKey<PixelChargeCalibCondData>
m_moduleDataKey
64
{
this
,
"PixelChargeCalibCondData"
,
"PixelChargeCalibCondData"
,
"ChargeCalibration data, for ToT overflow setting"
};
65
66
SG::ReadCondHandleKey<PixeldEdxData>
m_dedxKey
67
{
this
,
"PixeldEdxData"
,
"PixeldEdxData"
,
"Output key of pixel dEdx"
};
68
};
69
}
// end of namespace
70
71
#endif
AthAlgTool.h
IPixelToTPIDTool.h
ParticleHypothesis.h
PixelChargeCalibCondData.h
PixeldEdxData.h
Store pixel dEdx data in PixeldEdxData.
ReadCondHandleKey.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
IIBLParameterSvc
Definition
IIBLParameterSvc.h:24
InDet::PixelToTPIDTool::dEdx
virtual float dEdx(const EventContext &ctx, const Trk::Track &track, int &nUsedHits, int &nUsedIBLOverflowHits) const override final
particle identification function returning a probability.
Definition
PixelToTPIDTool.cxx:84
InDet::PixelToTPIDTool::finalize
virtual StatusCode finalize() override
Definition
PixelToTPIDTool.cxx:74
InDet::PixelToTPIDTool::getMass
virtual float getMass(const EventContext &ctx, double dedx, double p, int nGoodPixels) const override final
Definition
PixelToTPIDTool.cxx:255
InDet::PixelToTPIDTool::initialize
virtual StatusCode initialize() override
Definition
PixelToTPIDTool.cxx:54
InDet::PixelToTPIDTool::m_pixelid
const PixelID * m_pixelid
Definition
PixelToTPIDTool.h:60
InDet::PixelToTPIDTool::PixelToTPIDTool
PixelToTPIDTool(const std::string &, const std::string &, const IInterface *)
Definition
PixelToTPIDTool.cxx:35
InDet::PixelToTPIDTool::m_IBLParameterSvc
ServiceHandle< IIBLParameterSvc > m_IBLParameterSvc
Definition
PixelToTPIDTool.h:59
InDet::PixelToTPIDTool::m_dedxKey
SG::ReadCondHandleKey< PixeldEdxData > m_dedxKey
Definition
PixelToTPIDTool.h:67
InDet::PixelToTPIDTool::~PixelToTPIDTool
virtual ~PixelToTPIDTool()
InDet::PixelToTPIDTool::m_moduleDataKey
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_moduleDataKey
Definition
PixelToTPIDTool.h:64
InDet::PixelToTPIDTool::getLikelihoods
virtual std::vector< float > getLikelihoods(const EventContext &ctx, double dedx, double p, int nGoodPixels) const override final
Definition
PixelToTPIDTool.cxx:245
InDet::PixelToTPIDTool::m_conversionfactor
double m_conversionfactor
Definition
PixelToTPIDTool.h:61
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
ServiceHandle
Definition
ClusterMakerTool.h:36
Trk::IPixelToTPIDTool
abstract interface for identification of particles based on
Definition
IPixelToTPIDTool.h:23
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Identifier
Definition
IdentifierFieldParser.cxx:14
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0