ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkTools
TrkToolInterfaces
TrkToolInterfaces
ITRT_ElectronPidTool.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
// ITRT_ElectronPidTool.h, (c) ATLAS Detector software
8
#ifndef TRK_ITRT_ELECTRONPIDTOOL_H
9
#define TRK_ITRT_ELECTRONPIDTOOL_H
10
11
#include "GaudiKernel/IAlgTool.h"
12
#include "GaudiKernel/EventContext.h"
13
#include "
TrkEventPrimitives/ParticleHypothesis.h
"
14
#include "
TrkTrackSummary/TrackSummary.h
"
15
#include <vector>
16
17
namespace
Trk
{
18
class
Track
;
19
29
30
class
ITRT_ElectronPidTool
:
virtual
public
IAlgTool {
31
public
:
32
DeclareInterfaceID
(
ITRT_ElectronPidTool
, 1, 0);
33
39
virtual
std::vector<float>
electronProbability
(
40
const
EventContext& ctx,
41
const
Trk::Track
& track)
const
= 0;
42
43
47
virtual
double
probHT
(
const
double
p,
48
const
Trk::ParticleHypothesis
hypothesis,
49
const
int
HitPart,
50
const
int
Layer
,
51
const
int
Strawlayer)
const
= 0;
52
53
virtual
double
probHTRun2
(
const
EventContext& ctx,
54
float
pTrk,
55
Trk::ParticleHypothesis
hypothesis,
56
int
TrtPart,
57
int
GasType,
58
int
StrawLayer,
59
float
ZR,
60
float
rTrkWire,
61
float
Occupancy)
const
= 0;
62
};
63
64
}
// end of namespace
65
66
#endif
ParticleHypothesis.h
TrackSummary.h
Trk::ITRT_ElectronPidTool
abstract interface for identification of electrons based on information from the inner detector track...
Definition
ITRT_ElectronPidTool.h:30
Trk::ITRT_ElectronPidTool::DeclareInterfaceID
DeclareInterfaceID(ITRT_ElectronPidTool, 1, 0)
Trk::ITRT_ElectronPidTool::probHTRun2
virtual double probHTRun2(const EventContext &ctx, float pTrk, Trk::ParticleHypothesis hypothesis, int TrtPart, int GasType, int StrawLayer, float ZR, float rTrkWire, float Occupancy) const =0
Trk::ITRT_ElectronPidTool::electronProbability
virtual std::vector< float > electronProbability(const EventContext &ctx, const Trk::Track &track) const =0
particle identification function returning a vector of probabilities.
Trk::ITRT_ElectronPidTool::probHT
virtual double probHT(const double p, const Trk::ParticleHypothesis hypothesis, const int HitPart, const int Layer, const int Strawlayer) const =0
return high threshold probability
Trk::Layer
Base Class for a Detector Layer in the Tracking realm.
Definition
Layer.h:72
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
Trk::ParticleHypothesis
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
Definition
ParticleHypothesis.h:28
Generated on
for ATLAS Offline Software by
1.17.0