#include <ITRT_ToT_dEdx.h>
|
virtual | ~ITRT_ToT_dEdx () |
| Virtual destructor. More...
|
|
virtual double | dEdx (const EventContext &ctx, const Trk::Track *track, bool useHitsHT, std::optional< float > localOccupancy=std::nullopt) const =0 |
| function to calculate sum ToT normalised to number of used hits More...
|
|
virtual double | dEdx (const Trk::Track *track, bool useHitsHT, std::optional< float > localOccupancy=std::nullopt) const |
|
virtual double | usedHits (const EventContext &ctx, const Trk::Track *track, bool useHitsHT=true) const =0 |
| function to calculate number of used hits More...
|
|
virtual double | usedHits (const Trk::Track *track, bool useHitsHT=true) const |
|
virtual double | getTest (const EventContext &ctx, const double dEdx_obs, const double pTrk, Trk::ParticleHypothesis hypothesis, Trk::ParticleHypothesis antihypothesis, int nUsedHits) const =0 |
| function to calculate likelihood ratio test More...
|
|
virtual double | getTest (const double dEdx_obs, const double pTrk, Trk::ParticleHypothesis hypothesis, Trk::ParticleHypothesis antihypothesis, int nUsedHits) const |
|
Definition at line 21 of file ITRT_ToT_dEdx.h.
◆ ~ITRT_ToT_dEdx()
virtual ITRT_ToT_dEdx::~ITRT_ToT_dEdx |
( |
| ) |
|
|
inlinevirtual |
◆ dEdx() [1/2]
virtual double ITRT_ToT_dEdx::dEdx |
( |
const EventContext & |
ctx, |
|
|
const Trk::Track * |
track, |
|
|
bool |
useHitsHT, |
|
|
std::optional< float > |
localOccupancy = std::nullopt |
|
) |
| const |
|
pure virtual |
function to calculate sum ToT normalised to number of used hits
- Parameters
-
Event | context ctx |
track | pointer to track |
useHitsHT | decide if HT hits should be used in the estimate |
- Returns
- dEdx value
Implemented in TRT_ToT_dEdx.
◆ dEdx() [2/2]
double ITRT_ToT_dEdx::dEdx |
( |
const Trk::Track * |
track, |
|
|
bool |
useHitsHT, |
|
|
std::optional< float > |
localOccupancy = std::nullopt |
|
) |
| const |
|
inlinevirtual |
◆ getTest() [1/2]
◆ getTest() [2/2]
function to calculate likelihood ratio test
- Parameters
-
Event | context ctx |
observed | dEdx |
track | parameter |
particle | hypothesis |
antihypothesis | |
number | of used hits |
- Returns
- test value between 0 and 1
Implemented in TRT_ToT_dEdx.
◆ interfaceID()
static const InterfaceID& ITRT_ToT_dEdx::interfaceID |
( |
| ) |
|
|
inlinestatic |
AlgTool interface methods.
Definition at line 30 of file ITRT_ToT_dEdx.h.
30 {
return IID_ITRT_ToT_dEdx; };
◆ usedHits() [1/2]
virtual double ITRT_ToT_dEdx::usedHits |
( |
const EventContext & |
ctx, |
|
|
const Trk::Track * |
track, |
|
|
bool |
useHitsHT = true |
|
) |
| const |
|
pure virtual |
function to calculate number of used hits
- Parameters
-
Event | context ctx |
track | pointer |
useHitsHT | decide if HT hits should be used in the estimate |
- Returns
- nHits
Implemented in TRT_ToT_dEdx.
◆ usedHits() [2/2]
double ITRT_ToT_dEdx::usedHits |
( |
const Trk::Track * |
track, |
|
|
bool |
useHitsHT = true |
|
) |
| const |
|
inlinevirtual |
The documentation for this class was generated from the following file:
virtual double usedHits(const EventContext &ctx, const Trk::Track *track, bool useHitsHT=true) const =0
function to calculate number of used hits
virtual double dEdx(const EventContext &ctx, const Trk::Track *track, bool useHitsHT, std::optional< float > localOccupancy=std::nullopt) const =0
function to calculate sum ToT normalised to number of used hits
virtual double getTest(const EventContext &ctx, const double dEdx_obs, const double pTrk, Trk::ParticleHypothesis hypothesis, Trk::ParticleHypothesis antihypothesis, int nUsedHits) const =0
function to calculate likelihood ratio test