Belle II Software  release-08-01-10
AnalizerTCInfo Class Reference

simple class storing infos relevant for a TC for analizing it. More...

#include <AnalizerTCInfo.h>

Collaboration diagram for AnalizerTCInfo:

Public Member Functions

 AnalizerTCInfo ()
 constructor, makes sure that pointers are on nullptr until set
 
void discardTC ()
 function for discarding the old TC. More...
 
void assignTCs (AnalizerTCInfo *otherTC)
 function for assigning TCs to each other
 
void pairUp (AnalizerTCInfo *otherTC)
 links otherTC to this one
 
TCType::Type getType () const
 a type-identifier function
 

Static Public Member Functions

static AnalizerTCInfo createTC (bool isReference, const MCVXDPurityInfo &iD, SpacePointTrackCand &aTC)
 static function for correctly creating TrackCandidates
 
static void markUnused (std::vector< AnalizerTCInfo > &tcs, TCType::Type newType)
 find unpaired tcs and mark them with given type
 
static TCType::Type classifyTC (AnalizerTCInfo &referenceTC, AnalizerTCInfo &testTC, double purityThreshold, unsigned int ndfThreshold)
 for given pair of TCs their compatibility will be checked and the testTC classified, the given threshold will be used to draw the line between Contaminated and Ghost
 

Public Attributes

ROOT::Math::XYZVector posSeed
 carries the global coordinates of the position of the seed hit (typically the innermost hit)
 
ROOT::Math::XYZVector momSeed
 carries the momentum vector at the position of the seed hit (typically the innermost hit)
 
const SpacePointTrackCandtC
 a link to the TC itself
 
AnalizerTCInfoassignedTC
 for reference TC: best test TC found, for test TC, compatible reference TC found
 
MCVXDPurityInfo assignedID
 stores the iD of the particle and knows the purity for it
 
TCType::Type tcType
 classifies attached TC
 

Detailed Description

simple class storing infos relevant for a TC for analizing it.

Definition at line 28 of file AnalizerTCInfo.h.

Member Function Documentation

◆ discardTC()

void discardTC ( )
inline

function for discarding the old TC.

the old TC attached to this will be marked as Clone and discarded

Definition at line 105 of file AnalizerTCInfo.h.

106  {
107  assignedTC->tcType = TCType::Clone;
108  assignedTC = nullptr;
109  }
AnalizerTCInfo * assignedTC
for reference TC: best test TC found, for test TC, compatible reference TC found
TCType::Type tcType
classifies attached TC

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