Belle II Software development
TRGCDCRelation Class Reference

A class to represent a wire in CDC. More...

#include <Relation.h>

Public Member Functions

 TRGCDCRelation (const TRGCDCTrackBase &track, const std::map< unsigned, unsigned > &relation)
 Constructor.
 
virtual ~TRGCDCRelation ()
 Destructor.
 
const TRGCDCTrackBasetrack (void) const
 returns a track.
 
unsigned nContributors (void) const
 returns /# of contributors.
 
unsigned contributor (unsigned i=0) const
 returns i'th contributor of MCParticle.
 
const MCParticlemcParticle (unsigned i=0) const
 returns i'th contributor.
 
float purity (unsigned i=0) const
 returns i'th purity.
 
float purity3D (unsigned trkID) const
 returns purity for 3D for trkID particle which should be from 2D.
 
float efficiency3D (unsigned trkID, std::map< unsigned, unsigned > &numTSsParticle) const
 returns efficiency of TS for 3D
 
void dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
 Dumps debug information.
 

Private Attributes

const TRGCDCTrackBase_track
 Track.
 
const std::map< unsigned, unsigned > _relations
 Map.
 
const std::pair< unsigned, unsigned > ** _pairs
 Pairs.
 

Detailed Description

A class to represent a wire in CDC.

Definition at line 35 of file Relation.h.

Member Data Documentation

◆ _pairs

const std::pair<unsigned, unsigned>** _pairs
mutableprivate

Pairs.

Definition at line 83 of file Relation.h.

◆ _relations

const std::map<unsigned, unsigned> _relations
private

Map.

Definition at line 80 of file Relation.h.

◆ _track

const TRGCDCTrackBase& _track
private

Track.

Definition at line 77 of file Relation.h.


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