ATLAS Offline Software
Loading...
Searching...
No Matches
IPixelToTPIDTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6// IPixelToTPIDTool.h, (c) ATLAS Detector software
8#ifndef TRK_IPIXELTOTPIDTOOL_H
9#define TRK_IPIXELTOTPIDTOOL_H
10
11#include "GaudiKernel/EventContext.h"
12#include "GaudiKernel/IAlgTool.h"
13#include <vector>
14
15namespace Trk {
16 class Track;
17
22
23 class IPixelToTPIDTool : virtual public IAlgTool {
24 public:
26
31 virtual float dEdx(const EventContext& ctx,
32 const Trk::Track& track,
33 int& nUsedHits,
34 int& nUsedIBLOverflowHits) const = 0;
35
36 virtual std::vector<float> getLikelihoods(const EventContext& ctx,
37 double dedx,
38 double p,
39 int nGoodPixels) const = 0;
40
41 virtual float getMass(const EventContext& ctx,
42 double dedx,
43 double p,
44 int nGoodPixels) const = 0;
45
46 };
47
48} // end of namespace
49
50#endif
abstract interface for identification of particles based on
DeclareInterfaceID(IPixelToTPIDTool, 1, 0)
virtual std::vector< float > getLikelihoods(const EventContext &ctx, double dedx, double p, int nGoodPixels) const =0
virtual float getMass(const EventContext &ctx, double dedx, double p, int nGoodPixels) const =0
virtual float dEdx(const EventContext &ctx, const Trk::Track &track, int &nUsedHits, int &nUsedIBLOverflowHits) const =0
particle identification function returning a probability.
Ensure that the ATLAS eigen extensions are properly loaded.