HepMC3 event record library
include
HepMC3
Data
GenParticleData.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// This file is part of HepMC
4
// Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
5
//
6
#ifndef HEPMC3_DATA_GENPARTICLEDATA_H
7
#define HEPMC3_DATA_GENPARTICLEDATA_H
8
/**
9
* @file GenParticleData.h
10
* @brief Definition of \b class GenParticleData
11
*
12
* @struct HepMC3::GenParticleData
13
* @brief Stores serializable particle information
14
*
15
* @ingroup data
16
*
17
*/
18
#include "
HepMC3/FourVector.h
"
19
20
namespace
HepMC3
{
21
22
// NOTE: Keep in mind the data alignment
23
// Currently it's 8b alignment = 56b total
24
struct
GenParticleData
{
25
int
pid
;
///< PDG ID
26
int
status
;
///< Status
27
bool
is_mass_set
;
///< Check if generated mass is set
28
double
mass
;
///< Generated mass (if set)
29
FourVector
momentum
;
///< Momentum
30
};
31
32
}
// namespace HepMC
33
34
#endif
FourVector.h
Definition of class FourVector.
HepMC3::FourVector
Generic 4-vector.
Definition:
FourVector.h:36
HepMC3
HepMC3 main namespace.
Definition:
AnalysisExample.h:19
HepMC3::GenParticleData
Stores serializable particle information.
Definition:
GenParticleData.h:24
HepMC3::GenParticleData::mass
double mass
Generated mass (if set)
Definition:
GenParticleData.h:28
HepMC3::GenParticleData::momentum
FourVector momentum
Momentum.
Definition:
GenParticleData.h:29
HepMC3::GenParticleData::is_mass_set
bool is_mass_set
Check if generated mass is set.
Definition:
GenParticleData.h:27
HepMC3::GenParticleData::status
int status
Status.
Definition:
GenParticleData.h:26
HepMC3::GenParticleData::pid
int pid
PDG ID.
Definition:
GenParticleData.h:25
Generated on Wed Jan 18 2023 00:00:00 for HepMC3 event record library by
1.9.6