BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
L1AlgoEfficiencyPerformance< NHits > Class Template Reference

#include <L1AlgoEfficiencyPerformance.h>

Collaboration diagram for L1AlgoEfficiencyPerformance< NHits >:

Public Types

typedef L1RTracklet< NHits > L1RecoTracklet
typedef L1MTracklet< NHits > L1MCTracklet

Public Member Functions

 L1AlgoEfficiencyPerformance ()
void Init ()
bool AddOne (THitI *ih_)
void CalculateEff ()
void Print ()
void Print (TString title="Triplets performance statistic", bool station=0)

Private Member Functions

void FillMC ()
void MatchTracks ()

Private Attributes

CbmL1 * fL1
vector< L1RecoTracklet > recoTracklets
vector< L1MCTracklet > mcTracklets
TL1AlgoEfficiencies ntra
TL1AlgoEfficiencies NTRA
TL1AlgoEfficiencies ntra_sta [MaxNStations]
TL1AlgoEfficiencies NTRA_STA [MaxNStations]

Detailed Description

template<int NHits = 3>
class L1AlgoEfficiencyPerformance< NHits >

Definition at line 122 of file L1AlgoEfficiencyPerformance.h.

Member Typedef Documentation

◆ L1MCTracklet

template<int NHits = 3>
typedef L1MTracklet<NHits> L1AlgoEfficiencyPerformance< NHits >::L1MCTracklet

Definition at line 126 of file L1AlgoEfficiencyPerformance.h.

◆ L1RecoTracklet

template<int NHits = 3>
typedef L1RTracklet<NHits> L1AlgoEfficiencyPerformance< NHits >::L1RecoTracklet

Definition at line 125 of file L1AlgoEfficiencyPerformance.h.

Constructor & Destructor Documentation

◆ L1AlgoEfficiencyPerformance()

template<int NHits = 3>
L1AlgoEfficiencyPerformance< NHits >::L1AlgoEfficiencyPerformance ( )
inline

Definition at line 127 of file L1AlgoEfficiencyPerformance.h.

Member Function Documentation

◆ AddOne()

template<int NHits>
bool L1AlgoEfficiencyPerformance< NHits >::AddOne ( THitI * ih_)

◆ CalculateEff()

template<int NHits>
void L1AlgoEfficiencyPerformance< NHits >::CalculateEff ( )

Definition at line 313 of file L1AlgoEfficiencyPerformance.h.

References fL1, L1MTracklet< NHits >::GetNClones(), L1MTracklet< NHits >::IsPrimary(), L1MTracklet< NHits >::IsReconstructable(), L1MTracklet< NHits >::IsReconstructed(), L1Tracklet< NHits >::iStation, MatchTracks(), MaxNStations, mcTracklets, NTRA, ntra, NTRA_STA, ntra_sta, L1MTracklet< NHits >::p, reco(), and recoTracklets.

Here is the call graph for this function:

◆ FillMC()

template<int NHits>
void L1AlgoEfficiencyPerformance< NHits >::FillMC ( )
private

Definition at line 168 of file L1AlgoEfficiencyPerformance.h.

References fL1, CbmL1MCPoint::hitIds, L1MTracklet< NHits >::hitIds, CbmL1MCTrack::ID, CbmL1MCPoint::iStation, L1Tracklet< NHits >::iStation, L1MTracklet< NHits >::mcMotherTrackId, L1Tracklet< NHits >::mcTrackId, mcTracklets, CbmL1MCTrack::mother_ID, CbmL1MCTrack::p, L1MTracklet< NHits >::p, CbmL1MCTrack::Points, and L1MTracklet< NHits >::SetAsReconstructable().

Referenced by Init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

template<int NHits>
void L1AlgoEfficiencyPerformance< NHits >::Init ( )

Definition at line 154 of file L1AlgoEfficiencyPerformance.h.

References FillMC(), fL1, CbmL1::Instance(), MaxNStations, mcTracklets, ntra, ntra_sta, and recoTracklets.

Referenced by L1Algo::CATrackFinder().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MatchTracks()

template<int NHits>
void L1AlgoEfficiencyPerformance< NHits >::MatchTracks ( )
private

Definition at line 274 of file L1AlgoEfficiencyPerformance.h.

References L1MTracklet< NHits >::AddReconstructed(), L1Tracklet< NHits >::compare(), mcTracklets, L1MTracklet< NHits >::recoIds, and recoTracklets.

Referenced by CalculateEff().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Print() [1/2]

template<int NHits = 3>
void L1AlgoEfficiencyPerformance< NHits >::Print ( )

◆ Print() [2/2]

template<int NHits>
void L1AlgoEfficiencyPerformance< NHits >::Print ( TString title = "Triplets performance statistic",
bool station = 0 )
inline

Definition at line 385 of file L1AlgoEfficiencyPerformance.h.

References fL1, NTRA, and NTRA_STA.

Member Data Documentation

◆ fL1

template<int NHits = 3>
CbmL1* L1AlgoEfficiencyPerformance< NHits >::fL1
private

Definition at line 139 of file L1AlgoEfficiencyPerformance.h.

Referenced by AddOne(), CalculateEff(), FillMC(), Init(), and Print().

◆ mcTracklets

template<int NHits = 3>
vector<L1MCTracklet> L1AlgoEfficiencyPerformance< NHits >::mcTracklets
private

Definition at line 142 of file L1AlgoEfficiencyPerformance.h.

Referenced by CalculateEff(), FillMC(), Init(), and MatchTracks().

◆ NTRA

template<int NHits = 3>
TL1AlgoEfficiencies L1AlgoEfficiencyPerformance< NHits >::NTRA
private

Definition at line 145 of file L1AlgoEfficiencyPerformance.h.

Referenced by CalculateEff(), and Print().

◆ ntra

template<int NHits = 3>
TL1AlgoEfficiencies L1AlgoEfficiencyPerformance< NHits >::ntra
private

Definition at line 144 of file L1AlgoEfficiencyPerformance.h.

Referenced by CalculateEff(), and Init().

◆ NTRA_STA

template<int NHits = 3>
TL1AlgoEfficiencies L1AlgoEfficiencyPerformance< NHits >::NTRA_STA[MaxNStations]
private

Definition at line 148 of file L1AlgoEfficiencyPerformance.h.

Referenced by CalculateEff(), and Print().

◆ ntra_sta

template<int NHits = 3>
TL1AlgoEfficiencies L1AlgoEfficiencyPerformance< NHits >::ntra_sta[MaxNStations]
private

Definition at line 147 of file L1AlgoEfficiencyPerformance.h.

Referenced by CalculateEff(), and Init().

◆ recoTracklets

template<int NHits = 3>
vector<L1RecoTracklet> L1AlgoEfficiencyPerformance< NHits >::recoTracklets
private

Definition at line 141 of file L1AlgoEfficiencyPerformance.h.

Referenced by AddOne(), CalculateEff(), Init(), and MatchTracks().


The documentation for this class was generated from the following file: