ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::TruthEvent_v1::PdfInfo Struct Reference

Helper struct holding a full set of PDF info values. More...

#include <TruthEvent_v1.h>

Collaboration diagram for xAOD::TruthEvent_v1::PdfInfo:

Public Member Functions

 PdfInfo ()
 Constructor to set (invalid) defaults.
bool valid () const
 Check if all the variables in the object are valid.

Public Attributes

int pdgId1
int pdgId2
int pdfId1
int pdfId2
float x1
float x2
float Q
float xf1
float xf2

Detailed Description

Helper struct holding a full set of PDF info values.

Definition at line 100 of file TruthEvent_v1.h.

Constructor & Destructor Documentation

◆ PdfInfo()

xAOD::TruthEvent_v1::PdfInfo::PdfInfo ( )

Constructor to set (invalid) defaults.

Definition at line 99 of file TruthEvent_v1.cxx.

Member Function Documentation

◆ valid()

bool xAOD::TruthEvent_v1::PdfInfo::valid ( ) const

Check if all the variables in the object are valid.

Definition at line 105 of file TruthEvent_v1.cxx.

105 {
106
107 return ( ( pdgId1 != 0 ) && ( pdgId2 != 0 ) &&
108 ( pdfId1 >= 0 ) && ( pdfId2 >= 0 ) &&
109 ( ! std::isnan( x1 ) ) && ( ! std::isnan( x2 ) ) &&
110 ( ! std::isnan( Q ) ) &&
111 ( ! std::isnan( xf1 ) ) && ( ! std::isnan( xf2 ) ) );
112 }

Member Data Documentation

◆ pdfId1

int xAOD::TruthEvent_v1::PdfInfo::pdfId1

Definition at line 110 of file TruthEvent_v1.h.

◆ pdfId2

int xAOD::TruthEvent_v1::PdfInfo::pdfId2

Definition at line 111 of file TruthEvent_v1.h.

◆ pdgId1

int xAOD::TruthEvent_v1::PdfInfo::pdgId1

Definition at line 108 of file TruthEvent_v1.h.

◆ pdgId2

int xAOD::TruthEvent_v1::PdfInfo::pdgId2

Definition at line 109 of file TruthEvent_v1.h.

◆ Q

float xAOD::TruthEvent_v1::PdfInfo::Q

Definition at line 114 of file TruthEvent_v1.h.

◆ x1

float xAOD::TruthEvent_v1::PdfInfo::x1

Definition at line 112 of file TruthEvent_v1.h.

◆ x2

float xAOD::TruthEvent_v1::PdfInfo::x2

Definition at line 113 of file TruthEvent_v1.h.

◆ xf1

float xAOD::TruthEvent_v1::PdfInfo::xf1

Definition at line 115 of file TruthEvent_v1.h.

◆ xf2

float xAOD::TruthEvent_v1::PdfInfo::xf2

Definition at line 116 of file TruthEvent_v1.h.


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