ATLAS Offline Software
Loading...
Searching...
No Matches
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"
16
19
23
24class AtlasDetectorID;
25class Identifier;
26class PixelID;
28
29namespace Trk {
30 class Track;
31}
32
33namespace 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:
62
64 {this, "PixelChargeCalibCondData", "PixelChargeCalibCondData", "ChargeCalibration data, for ToT overflow setting"};
65
67 {this, "PixeldEdxData", "PixeldEdxData", "Output key of pixel dEdx"};
68 };
69} // end of namespace
70
71#endif
Store pixel dEdx data in PixeldEdxData.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
virtual float dEdx(const EventContext &ctx, const Trk::Track &track, int &nUsedHits, int &nUsedIBLOverflowHits) const override final
particle identification function returning a probability.
virtual StatusCode finalize() override
virtual float getMass(const EventContext &ctx, double dedx, double p, int nGoodPixels) const override final
virtual StatusCode initialize() override
const PixelID * m_pixelid
PixelToTPIDTool(const std::string &, const std::string &, const IInterface *)
ServiceHandle< IIBLParameterSvc > m_IBLParameterSvc
SG::ReadCondHandleKey< PixeldEdxData > m_dedxKey
SG::ReadCondHandleKey< PixelChargeCalibCondData > m_moduleDataKey
virtual std::vector< float > getLikelihoods(const EventContext &ctx, double dedx, double p, int nGoodPixels) const override final
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
abstract interface for identification of particles based on
Primary Vertex Finder.
Ensure that the ATLAS eigen extensions are properly loaded.