ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MCTruthPartClassifier::Info Class Reference

#include <IMCTruthClassifier.h>

Collaboration diagram for MCTruthPartClassifier::Info:

Public Member Functions

 Info ()
 
 Info (const EventContext &ctx)
 
 ~Info ()=default
 
const xAOD::TruthParticleMother () const
 
void setMotherProperties (const xAOD::TruthParticle *from)
 
void resetMotherProperties ()
 
const xAOD::TruthParticlePhotonMother () const
 

Public Attributes

const EventContext & eventContext
 
const xAOD::TruthParticlegenPart = nullptr
 
MCTruthPartClassifier::ParticleOutCome particleOutCome = MCTruthPartClassifier::UnknownOutCome
 
const xAOD::TruthParticlemother = nullptr
 
long motherStatus = 0
 
long motherBarcode = 0
 
int motherPDG = 0
 
long photonMotherBarcode = 0
 
long photonMotherStatus = 0
 
int photonMotherPDG = 0
 
const xAOD::TruthParticlephotonMother = nullptr
 
const xAOD::TruthParticlebkgElecMother = nullptr
 
float deltaRMatch = -999
 
float deltaPhi = -999
 
float probTrkToTruth = 0
 
uint8_t numOfSiHits = 0
 
std::vector< const xAOD::TruthParticle * > egPartPtr
 
std::vector< float > egPartdR
 
std::vector< std::pair< MCTruthPartClassifier::ParticleType, MCTruthPartClassifier::ParticleOrigin > > egPartClas
 
std::vector< const xAOD::TrackParticle * > cnvPhotTrkPtr
 
std::vector< const xAOD::TruthParticle * > cnvPhotTrkToTruthPart
 
std::vector< MCTruthPartClassifier::ParticleTypecnvPhotPartType
 
std::vector< MCTruthPartClassifier::ParticleOrigincnvPhotPartOrig
 

Detailed Description

Definition at line 48 of file IMCTruthClassifier.h.

Constructor & Destructor Documentation

◆ Info() [1/2]

MCTruthPartClassifier::Info::Info ( )
inline

Definition at line 51 of file IMCTruthClassifier.h.

51 : eventContext(Gaudi::Hive::currentContext()) {}

◆ Info() [2/2]

MCTruthPartClassifier::Info::Info ( const EventContext &  ctx)
inline

Definition at line 52 of file IMCTruthClassifier.h.

52 : eventContext(ctx) {}

◆ ~Info()

MCTruthPartClassifier::Info::~Info ( )
default

Member Function Documentation

◆ Mother()

const xAOD::TruthParticle* MCTruthPartClassifier::Info::Mother ( ) const
inline

Definition at line 65 of file IMCTruthClassifier.h.

65 { return mother;}

◆ PhotonMother()

const xAOD::TruthParticle* MCTruthPartClassifier::Info::PhotonMother ( ) const
inline

Definition at line 78 of file IMCTruthClassifier.h.

78 { return photonMother;}

◆ resetMotherProperties()

void MCTruthPartClassifier::Info::resetMotherProperties ( )
inline

Definition at line 73 of file IMCTruthClassifier.h.

73 { mother = nullptr; motherStatus = 0; motherBarcode = 0; motherPDG = 0; } // FIXME barcode-based

◆ setMotherProperties()

void MCTruthPartClassifier::Info::setMotherProperties ( const xAOD::TruthParticle from)
inline

Definition at line 66 of file IMCTruthClassifier.h.

66  {
67  mother = from;
68  if (!from) return;
70  motherBarcode = HepMC::barcode(from); // FIXME barcode-based
71  motherPDG = from->pdg_id();
72  }

Member Data Documentation

◆ bkgElecMother

const xAOD::TruthParticle* MCTruthPartClassifier::Info::bkgElecMother = nullptr

Definition at line 81 of file IMCTruthClassifier.h.

◆ cnvPhotPartOrig

std::vector<MCTruthPartClassifier::ParticleOrigin> MCTruthPartClassifier::Info::cnvPhotPartOrig

Definition at line 96 of file IMCTruthClassifier.h.

◆ cnvPhotPartType

std::vector<MCTruthPartClassifier::ParticleType> MCTruthPartClassifier::Info::cnvPhotPartType

Definition at line 95 of file IMCTruthClassifier.h.

◆ cnvPhotTrkPtr

std::vector<const xAOD::TrackParticle*> MCTruthPartClassifier::Info::cnvPhotTrkPtr

Definition at line 93 of file IMCTruthClassifier.h.

◆ cnvPhotTrkToTruthPart

std::vector<const xAOD::TruthParticle*> MCTruthPartClassifier::Info::cnvPhotTrkToTruthPart

Definition at line 94 of file IMCTruthClassifier.h.

◆ deltaPhi

float MCTruthPartClassifier::Info::deltaPhi = -999

Definition at line 85 of file IMCTruthClassifier.h.

◆ deltaRMatch

float MCTruthPartClassifier::Info::deltaRMatch = -999

Definition at line 84 of file IMCTruthClassifier.h.

◆ egPartClas

std::vector<std::pair<MCTruthPartClassifier::ParticleType, MCTruthPartClassifier::ParticleOrigin> > MCTruthPartClassifier::Info::egPartClas

Definition at line 91 of file IMCTruthClassifier.h.

◆ egPartdR

std::vector<float> MCTruthPartClassifier::Info::egPartdR

Definition at line 90 of file IMCTruthClassifier.h.

◆ egPartPtr

std::vector<const xAOD::TruthParticle*> MCTruthPartClassifier::Info::egPartPtr

Definition at line 89 of file IMCTruthClassifier.h.

◆ eventContext

const EventContext& MCTruthPartClassifier::Info::eventContext

Definition at line 56 of file IMCTruthClassifier.h.

◆ genPart

const xAOD::TruthParticle* MCTruthPartClassifier::Info::genPart = nullptr

Definition at line 57 of file IMCTruthClassifier.h.

◆ mother

const xAOD::TruthParticle* MCTruthPartClassifier::Info::mother = nullptr

Definition at line 61 of file IMCTruthClassifier.h.

◆ motherBarcode

long MCTruthPartClassifier::Info::motherBarcode = 0

Definition at line 63 of file IMCTruthClassifier.h.

◆ motherPDG

int MCTruthPartClassifier::Info::motherPDG = 0

Definition at line 64 of file IMCTruthClassifier.h.

◆ motherStatus

long MCTruthPartClassifier::Info::motherStatus = 0

Definition at line 62 of file IMCTruthClassifier.h.

◆ numOfSiHits

uint8_t MCTruthPartClassifier::Info::numOfSiHits = 0

Definition at line 87 of file IMCTruthClassifier.h.

◆ particleOutCome

MCTruthPartClassifier::ParticleOutCome MCTruthPartClassifier::Info::particleOutCome = MCTruthPartClassifier::UnknownOutCome

Definition at line 59 of file IMCTruthClassifier.h.

◆ photonMother

const xAOD::TruthParticle* MCTruthPartClassifier::Info::photonMother = nullptr

Definition at line 79 of file IMCTruthClassifier.h.

◆ photonMotherBarcode

long MCTruthPartClassifier::Info::photonMotherBarcode = 0

Definition at line 75 of file IMCTruthClassifier.h.

◆ photonMotherPDG

int MCTruthPartClassifier::Info::photonMotherPDG = 0

Definition at line 77 of file IMCTruthClassifier.h.

◆ photonMotherStatus

long MCTruthPartClassifier::Info::photonMotherStatus = 0

Definition at line 76 of file IMCTruthClassifier.h.

◆ probTrkToTruth

float MCTruthPartClassifier::Info::probTrkToTruth = 0

Definition at line 86 of file IMCTruthClassifier.h.


The documentation for this class was generated from the following file:
MCTruthPartClassifier::Info::motherStatus
long motherStatus
Definition: IMCTruthClassifier.h:62
MCTruthPartClassifier::Info::photonMother
const xAOD::TruthParticle * photonMother
Definition: IMCTruthClassifier.h:79
MCTruthPartClassifier::Info::motherPDG
int motherPDG
Definition: IMCTruthClassifier.h:64
MCTruthPartClassifier::Info::motherBarcode
long motherBarcode
Definition: IMCTruthClassifier.h:63
xAOD::TruthParticle_v1::pdg_id
int pdg_id() const
PDG ID code.
Definition: TruthParticle_v1.h:56
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
MCTruthPartClassifier::Info::eventContext
const EventContext & eventContext
Definition: IMCTruthClassifier.h:56
HepMC::status
int status(const T &p)
Definition: MagicNumbers.h:130
MCTruthPartClassifier::Info::mother
const xAOD::TruthParticle * mother
Definition: IMCTruthClassifier.h:61