ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Trk::ITRT_ElectronPidTool Class Referenceabstract

abstract interface for identification of electrons based on information from the inner detector track (mainly TRT) More...

#include <ITRT_ElectronPidTool.h>

Inheritance diagram for Trk::ITRT_ElectronPidTool:
Collaboration diagram for Trk::ITRT_ElectronPidTool:

Public Member Functions

virtual std::vector< float > electronProbability (const EventContext &ctx, const Trk::Track &track) const =0
 particle identification function returning a vector of probabilities. More...
 
std::vector< float > electronProbability (const Trk::Track &track) const
 
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 More...
 
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
 
double probHTRun2 (float pTrk, Trk::ParticleHypothesis hypothesis, int TrtPart, int GasType, int StrawLayer, float ZR, float rTrkWire, float Occupancy) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

abstract interface for identification of electrons based on information from the inner detector track (mainly TRT)

This interface is part of the tracking realm tracking to allow it being called from e.g. the track summary tool. Its implementation is found in the inner detector.

Author
Troels Petersen <troels.petersen -at- cern.ch>

Definition at line 33 of file ITRT_ElectronPidTool.h.

Member Function Documentation

◆ electronProbability() [1/2]

virtual std::vector<float> Trk::ITRT_ElectronPidTool::electronProbability ( const EventContext &  ctx,
const Trk::Track track 
) const
pure virtual

particle identification function returning a vector of probabilities.

Parameters
[in]trackthe track to be identified
Returns
vector of probabilities

Implemented in InDet::TRT_ElectronPidToolRun2.

◆ electronProbability() [2/2]

std::vector<float> Trk::ITRT_ElectronPidTool::electronProbability ( const Trk::Track track) const
inline

Definition at line 46 of file ITRT_ElectronPidTool.h.

47  {
48  return electronProbability(Gaudi::Hive::currentContext(),track);
49  }

◆ interfaceID()

const InterfaceID & Trk::ITRT_ElectronPidTool::interfaceID ( )
inlinestatic

Definition at line 92 of file ITRT_ElectronPidTool.h.

93  {
94  return IID_ITRT_ElectronPidTool;
95  }

◆ probHT()

virtual double Trk::ITRT_ElectronPidTool::probHT ( const double  p,
const Trk::ParticleHypothesis  hypothesis,
const int  HitPart,
const int  Layer,
const int  Strawlayer 
) const
pure virtual

return high threshold probability

Returns
double of probability

Implemented in InDet::TRT_ElectronPidToolRun2.

◆ probHTRun2() [1/2]

virtual double Trk::ITRT_ElectronPidTool::probHTRun2 ( const EventContext &  ctx,
float  pTrk,
Trk::ParticleHypothesis  hypothesis,
int  TrtPart,
int  GasType,
int  StrawLayer,
float  ZR,
float  rTrkWire,
float  Occupancy 
) const
pure virtual

◆ probHTRun2() [2/2]

double Trk::ITRT_ElectronPidTool::probHTRun2 ( float  pTrk,
Trk::ParticleHypothesis  hypothesis,
int  TrtPart,
int  GasType,
int  StrawLayer,
float  ZR,
float  rTrkWire,
float  Occupancy 
) const
inline

Definition at line 71 of file ITRT_ElectronPidTool.h.

79  {
80  return probHTRun2(Gaudi::Hive::currentContext(),
81  pTrk,
82  hypothesis,
83  TrtPart,
84  GasType,
85  StrawLayer,
86  ZR,
87  rTrkWire,
88  Occupancy);
89  }

The documentation for this class was generated from the following file:
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.
xAOD::track
@ track
Definition: TrackingPrimitives.h:512