Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParticleInfo Class Reference

Helper structure to clean particle spectra by competition of PDG hypothesis. More...

#include <acts/blob/sPHENIX/Examples/Scripts/TrackingPerformance/TreeReader.h>

Public Member Functions

 ParticleInfo ()
 
 ParticleInfo (int index, float massDistance)
 Constructor with all parameters initialised by user.
 

Static Public Member Functions

static bool compare (const ParticleInfo &a, const ParticleInfo &b)
 Sorting function, returns true if the mass difference of "a" is smaller then of "b". The array is sorted according to the smallest difference.
 

Public Attributes

ULong64_t particleId = 0
 
double eta = 0
 
double p = 0
 
double pt = 0
 
UShort_t nHits = 0
 
int fParticleIndex
 Index in the array of the particle candidates.
 
float fMassDistance
 difference between the mass of the candidate and the table mass normalised to the width of the peak.
 

Detailed Description

Helper structure to clean particle spectra by competition of PDG hypothesis.

Author
I.Kisel, M.Zyzak
Date
05.02.2019
Version
1.0

The structure contains index of the particle and difference in sigmas between the mass of the particle candidate and the table mass of the corresponding PDG hypothesis. Is used to sort the array with particle candidates according to the smallest difference. Then only the best candidate is stored.

Definition at line 27 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 27 of file TreeReader.h

Constructor & Destructor Documentation

ParticleInfo::ParticleInfo ( )
inline

Definition at line 627 of file KFParticleTopoReconstructor.cxx.

View newest version in sPHENIX GitHub at line 627 of file KFParticleTopoReconstructor.cxx

ParticleInfo::ParticleInfo ( int  index,
float  massDistance 
)
inline

Constructor with all parameters initialised by user.

Definition at line 629 of file KFParticleTopoReconstructor.cxx.

View newest version in sPHENIX GitHub at line 629 of file KFParticleTopoReconstructor.cxx

Member Function Documentation

static bool ParticleInfo::compare ( const ParticleInfo a,
const ParticleInfo b 
)
inlinestatic

Sorting function, returns true if the mass difference of "a" is smaller then of "b". The array is sorted according to the smallest difference.

Definition at line 632 of file KFParticleTopoReconstructor.cxx.

View newest version in sPHENIX GitHub at line 632 of file KFParticleTopoReconstructor.cxx

References fMassDistance.

Referenced by KFParticleTopoReconstructor::SelectParticleCandidates().

+ Here is the caller graph for this function:

Member Data Documentation

double ParticleInfo::eta = 0

Definition at line 29 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 29 of file TreeReader.h

float ParticleInfo::fMassDistance

difference between the mass of the candidate and the table mass normalised to the width of the peak.

Definition at line 635 of file KFParticleTopoReconstructor.cxx.

View newest version in sPHENIX GitHub at line 635 of file KFParticleTopoReconstructor.cxx

Referenced by compare().

int ParticleInfo::fParticleIndex

Index in the array of the particle candidates.

Definition at line 634 of file KFParticleTopoReconstructor.cxx.

View newest version in sPHENIX GitHub at line 634 of file KFParticleTopoReconstructor.cxx

UShort_t ParticleInfo::nHits = 0

Definition at line 32 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 32 of file TreeReader.h

double ParticleInfo::p = 0

Definition at line 30 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 30 of file TreeReader.h

ULong64_t ParticleInfo::particleId = 0

Definition at line 28 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 28 of file TreeReader.h

double ParticleInfo::pt = 0

Definition at line 31 of file TreeReader.h.

View newest version in sPHENIX GitHub at line 31 of file TreeReader.h


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