#include <MassSpectrum.hpp>
Definition at line 28 of file MassSpectrum.hpp.
◆ defaultFlags
| Enumerator |
|---|
| escapesDetector | |
| isJet | |
| isLightLepton | |
| sizeOfEnum | |
Definition at line 31 of file MassSpectrum.hpp.
◆ MassSpectrum()
| LHPC::MassSpectrum::MassSpectrum |
( |
bool const |
isVerbose = false, |
|
|
std::vector< bool > const * |
defaultFlags = NULL |
|
) |
| |
Definition at line 32 of file MassSpectrum.cpp.
33 :
41 {
43 {
45 }
47 }
MapAndVectorAndBools< PointerClass > & withBools(std::vector< bool > const *const boolVector)
std::vector< MassEigenstate * > unknownMassEigenstates
std::vector< MassEigenstate * > allMassEigenstates
MassEigenstateMapAndVectorAndBools mapAndVectorAndBools
MassEigenstateCodeToPointerMap pdgCodeMap
static std::vector< bool > const defaultBoolVector
◆ ~MassSpectrum()
| LHPC::MassSpectrum::~MassSpectrum |
( |
| ) |
|
|
virtual |
Definition at line 49 of file MassSpectrum.cpp.
50 {
52 0 <= deletionIndex;
53 --deletionIndex )
54 {
56 }
57 }
◆ clearMassesAndDecays()
Definition at line 130 of file MassSpectrum.hpp.
131 {
133 0 <= clearingIndex;
134 --clearingIndex )
135 {
137 }
138 return *this;
139 }
◆ ensureMassEigenstateExists()
| MassEigenstate & LHPC::MassSpectrum::ensureMassEigenstateExists |
( |
int const |
pdgCode | ) |
|
Definition at line 61 of file MassSpectrum.cpp.
68 {
69 MassEigenstate*
72 if( NULL == massEigenstatePointer )
73
74 {
76 1 ) );
77
78 massEigenstatePointer = new MassEigenstate( pdgCode,
80 false,
81 codeAsName,
82 codeAsName );
83
85
87 1 ) );
88
89
91 *massEigenstatePointer,
92 codeAsName,
93 codeAsName ) );
94 }
95 return *massEigenstatePointer;
96 }
static std::string intToString(int inputInt, int const minimumNumberOfDigits, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-", char const paddingChar='0')
static MassEigenstate * findPointerWithCode(int pdgCode, MassEigenstateCodeMap const &codeMap)
◆ findMassEigenstateReference()
Definition at line 161 of file MassSpectrum.hpp.
163 {
164 MassEigenstate*
166 codeMap ) );
167 if( NULL != massEigenstatePointer )
168 {
169 return *massEigenstatePointer;
170 }
171 else
172 {
173 std::string
174 errorMessage( "MassSpectrum::findMassEigenstateReference( " );
176 1 ) );
177 errorMessage.append( ") out of range." );
179 throw std::out_of_range( errorMessage );
180 }
181 }
static void warnThatMassEigenstateWasNotFound(int const pdgCode)
◆ getMassEigenstate() [1/2]
| MassEigenstate * LHPC::MassSpectrum::getMassEigenstate |
( |
int const |
pdgCode | ) |
|
|
inline |
◆ getMassEigenstate() [2/2]
| MassEigenstate const * LHPC::MassSpectrum::getMassEigenstate |
( |
int const |
pdgCode | ) |
const |
|
inline |
◆ getMassEigenstateSet() [1/2]
| std::vector< MassEigenstate * > & LHPC::MassSpectrum::getMassEigenstateSet |
( |
| ) |
|
|
inline |
◆ getMassEigenstateSet() [2/2]
| std::vector< MassEigenstate * > const & LHPC::MassSpectrum::getMassEigenstateSet |
( |
| ) |
const |
|
inline |
◆ getVerbosity()
| bool LHPC::MassSpectrum::getVerbosity |
( |
| ) |
const |
|
inline |
◆ operator[]() [1/2]
Definition at line 90 of file MassSpectrum.hpp.
91 {
94 }
static MassEigenstate & findMassEigenstateReference(int const pdgCode, MassEigenstateCodeToPointerMap const &codeMap)
◆ operator[]() [2/2]
| MassEigenstate const & LHPC::MassSpectrum::operator[] |
( |
int const |
pdgCode | ) |
const |
|
inline |
◆ respondToObservedSignal()
| void LHPC::MassSpectrum::respondToObservedSignal |
( |
| ) |
|
|
inlinevirtual |
◆ respondToPush()
| void LHPC::MassSpectrum::respondToPush |
( |
SpectrumUpdater const & |
pushedValue | ) |
|
|
inlinevirtual |
◆ warnThatMassEigenstateWasNotFound()
| void LHPC::MassSpectrum::warnThatMassEigenstateWasNotFound |
( |
int const |
pdgCode | ) |
|
|
inlinestaticprotected |
Definition at line 184 of file MassSpectrum.hpp.
185 {
186 std::cout
187 << std::endl
188 << "LhaParsing::error! MassEigenstate::findPointerWithCode could not"
189 << " find the MassEigenstate with particle code " << pdgCode
190 << ", so it is returning a NULL pointer. MassSpectrum is throwing an"
191 << " out-of-range exception because of this.";
192 std::cout << std::endl;
193 }
◆ allMassEigenstates
◆ defaultBoolVector
| std::vector< bool > const LHPC::MassSpectrum::defaultBoolVector |
|
staticprotected |
◆ defaultEscapesDetectorBoolVector
| std::vector< bool > const LHPC::MassSpectrum::defaultEscapesDetectorBoolVector |
|
staticprotected |
◆ defaultIsJetBoolVector
| std::vector< bool > const LHPC::MassSpectrum::defaultIsJetBoolVector |
|
staticprotected |
◆ defaultIsLightLeptonBoolVector
| std::vector< bool > const LHPC::MassSpectrum::defaultIsLightLeptonBoolVector |
|
staticprotected |
◆ isVerbose
| bool const LHPC::MassSpectrum::isVerbose |
|
protected |
◆ mapAndVectorAndBools
◆ pdgCodeMap
◆ unknownMassEigenstates
| std::vector< MassEigenstate* > LHPC::MassSpectrum::unknownMassEigenstates |
|
protected |
The documentation for this class was generated from the following files: