AnaDataObjects

From Charm-Tau Detector
Revision as of 09:48, 22 November 2019 by V.S.Vorobev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Package AnaDataObjects is part of the SCT Event selection framework. It contains main objects needed for events analysis.

class Particle

Class Particle describes all particles, including final-state-particles and unstable intermediate particles. It has the following private members:

  • int m_pdgCode; /**< PDG code */
  • float m_mass; /**< particle (invariant) mass */
  • ThreeVector m_p; /**< momentum components */
  • ThreeVector m_r; /**< position components */
  • ErrMatrix m_errMatrix; /**< error matrix. The order is [px, py, pz, E, x, y, z] */
  • std::vector<ParticlePtr> m_daughters; /**< daughter particle pointers */
  • EFlavorType m_flavorType; /**< flavor type. */
  • EParticleType m_particleType; /**< particle type */
  • size_t m_mdstIndex; /**< 0-based index of MDST store array object */
  • ExtraInfoMap m_extraInfo; /**< map for user defined info */

It can be constructed with the following constructors:

  • Particle(); /** All private members are set to 0. Particle type is set to c_Undefined. */
  • Particle(ThreeVector momentum, float mass, int pdgCode, EParticleType particleType=c_Undefined); /** All other private members are set to their default values (0). */
  • Particle(const FourVector& momentum, int pdgCode, EParticleType particleType=c_Undefined); /** All other private members are set to their default values (0). */
  • Particle(std::vector<ParticlePtr> daughters, int pdgCode); /** Constructor for composite particles. */
  • Particle(const sct::MCParticle &mcparticle); /** Constructor from MC Particle of podio tree */
  • Particle(const sct::Particle &particle, int pdg, size_t partIndex); /** Constructor from MC Particle of podio tree */

class ParticleList

All Particle class instances are exist inside ParticleList objects

Personal tools