Belle II Software  release-05-02-19
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 NULL 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, 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

TVector3 posSeed
 carries the global coordinates of the position of the seed hit (typically the innermost hit)
 
TVector3 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 38 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 115 of file AnalizerTCInfo.h.

116  {
117  assignedTC = otherTC;
118  otherTC->assignedTC = this;
119  }

The documentation for this class was generated from the following file:
Belle2::AnalizerTCInfo::assignedTC
AnalizerTCInfo * assignedTC
for reference TC: best test TC found, for test TC, compatible reference TC found
Definition: AnalizerTCInfo.h:52