ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
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
15
namespace
Trk
{
16
class
Track
;
17
22
23
class
IPixelToTPIDTool
:
virtual
public
IAlgTool {
24
public
:
25
DeclareInterfaceID
(
IPixelToTPIDTool
, 1, 0);
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
Trk::IPixelToTPIDTool
abstract interface for identification of particles based on
Definition
IPixelToTPIDTool.h:23
Trk::IPixelToTPIDTool::DeclareInterfaceID
DeclareInterfaceID(IPixelToTPIDTool, 1, 0)
Trk::IPixelToTPIDTool::getLikelihoods
virtual std::vector< float > getLikelihoods(const EventContext &ctx, double dedx, double p, int nGoodPixels) const =0
Trk::IPixelToTPIDTool::getMass
virtual float getMass(const EventContext &ctx, double dedx, double p, int nGoodPixels) const =0
Trk::IPixelToTPIDTool::dEdx
virtual float dEdx(const EventContext &ctx, const Trk::Track &track, int &nUsedHits, int &nUsedIBLOverflowHits) const =0
particle identification function returning a probability.
Trk::Track
The ATLAS Track class.
Definition
Tracking/TrkEvent/TrkTrack/TrkTrack/Track.h:73
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0