PandaRoot
PndCAPerformanceMCTrackData Class Reference

Information about reconstruction of MCTrack. More...

#include <PndCACounters.h>

Public Member Functions

 PndCAPerformanceMCTrackData ()
 
void SetSet (int set_)
 
void SetAsReconstructable ()
 
void AddReconstructed (int itr=0)
 
int GetSet ()
 
bool IsReconstructable ()
 
bool IsReconstructed ()
 
bool GetNClones ()
 
const std::vector< int > & RecoTrackIds () const
 
void Print ()
 

Detailed Description

Information about reconstruction of MCTrack.

Definition at line 133 of file PndCACounters.h.

Constructor & Destructor Documentation

◆ PndCAPerformanceMCTrackData()

PndCAPerformanceMCTrackData::PndCAPerformanceMCTrackData ( )
inline

Definition at line 135 of file PndCACounters.h.

136  {
137  set = 0;
138  isReconstructable = 0;
139  };

Member Function Documentation

◆ AddReconstructed()

void PndCAPerformanceMCTrackData::AddReconstructed ( int  itr = 0)
inline

Definition at line 143 of file PndCACounters.h.

143 { recoTrackIds.push_back(itr); }

◆ GetNClones()

bool PndCAPerformanceMCTrackData::GetNClones ( )
inline

Definition at line 148 of file PndCACounters.h.

148 { return (recoTrackIds.size() > 1) ? recoTrackIds.size() - 1 : 0; }

◆ GetSet()

int PndCAPerformanceMCTrackData::GetSet ( )
inline

Definition at line 145 of file PndCACounters.h.

145 { return set; }

◆ IsReconstructable()

bool PndCAPerformanceMCTrackData::IsReconstructable ( )
inline

Definition at line 146 of file PndCACounters.h.

146 { return isReconstructable; }

◆ IsReconstructed()

bool PndCAPerformanceMCTrackData::IsReconstructed ( )
inline

Definition at line 147 of file PndCACounters.h.

147 { return recoTrackIds.size() >= 1; }

◆ Print()

void PndCAPerformanceMCTrackData::Print ( )
inline

Definition at line 151 of file PndCACounters.h.

151 { cout << "Set: " << set << " RecoAble: " << isReconstructable << " NReco: " << recoTrackIds.size() << endl; }

◆ RecoTrackIds()

const std::vector<int>& PndCAPerformanceMCTrackData::RecoTrackIds ( ) const
inline

Definition at line 150 of file PndCACounters.h.

150 { return recoTrackIds; }

◆ SetAsReconstructable()

void PndCAPerformanceMCTrackData::SetAsReconstructable ( )
inline

Definition at line 142 of file PndCACounters.h.

142 { isReconstructable = true; }

◆ SetSet()

void PndCAPerformanceMCTrackData::SetSet ( int  set_)
inline

Definition at line 141 of file PndCACounters.h.

141 { set = set_; }

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