|
BOSS 8.0.0
BESIII Offline Software System
|
#include <McParticle.h>
Public Types | |
| enum | StatusBits { DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 , DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 , DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 } |
| status bits modeled More... | |
| enum | StatusBits { DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 , DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 , DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 } |
| status bits modeled More... | |
| enum | StatusBits { DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 , DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 , DECAYED = 1 , DECAYFLT = 1 << 1 , PRIMARY = 1 << 2 , LEAF = 1 << 3 , ERROR = 1 << 4 } |
| status bits modeled More... | |
| typedef int | StdHepId |
| typedef int | StdHepId |
| typedef int | StdHepId |
Public Member Functions | |
| virtual const CLID & | clID () const |
| McParticle () | |
| Constructors. | |
| virtual | ~McParticle () |
| Destructor. | |
| void | init (McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &finalMomentum, const HepLorentzVector &initialPosition, const HepLorentzVector &finalPosition, const std::string process="") |
| void | initialize (StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="") |
| Set the initial attributes of the McParticle. | |
| void | initialize (McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="") |
| void | finalize (const HepLorentzVector &finalPosition) |
| Set the final attributes of the McParticle. | |
| StdHepId | particleProperty () const |
| Retrieve particle property. | |
| unsigned int | statusFlags () const |
| retrieve all of status flags for const object | |
| void | addStatusFlag (unsigned int flag) |
| add a new flag to the status flags | |
| bool | primaryParticle () const |
| Retrieve whether this is a primary particle. | |
| bool | leafParticle () const |
| Retrieve whether this is a leaf particle. | |
| bool | decayFromGenerator () const |
| Decayed from generator. | |
| bool | decayInFlight () const |
| Decayed in flight. | |
| void | setVertexIndex0 (int index0) |
| methods for setting and getting vertex indexes | |
| int | vertexIndex0 () const |
| void | setVertexIndex1 (int index1) |
| int | vertexIndex1 () const |
| void | setTrackIndex (int trackIndex) |
| int | trackIndex () const |
| const HepLorentzVector & | initialPosition () const |
| Retrieve pointer to the start, end vertex positions. | |
| const HepLorentzVector & | finalPosition () const |
| const HepLorentzVector & | initialFourMomentum () const |
| const McParticle & | mother () const |
| access to the mother particle | |
| void | setMother (const SmartRef< McParticle > m) |
| set the mother particle | |
| void | addDaughter (const SmartRef< McParticle > d) |
| add a daugther particle to this particle | |
| void | removeDaughter (const SmartRef< McParticle > mcPart) |
| Used for pruning. | |
| const SmartRefVector< McParticle > & | daughterList () const |
| access the process name | |
| virtual const CLID & | clID () const |
| McParticle () | |
| Constructors. | |
| virtual | ~McParticle () |
| Destructor. | |
| void | init (McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &finalMomentum, const HepLorentzVector &initialPosition, const HepLorentzVector &finalPosition, const std::string process="") |
| void | initialize (StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="") |
| Set the initial attributes of the McParticle. | |
| void | initialize (McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="") |
| void | finalize (const HepLorentzVector &finalPosition) |
| Set the final attributes of the McParticle. | |
| StdHepId | particleProperty () const |
| Retrieve particle property. | |
| unsigned int | statusFlags () const |
| retrieve all of status flags for const object | |
| void | addStatusFlag (unsigned int flag) |
| add a new flag to the status flags | |
| bool | primaryParticle () const |
| bool | leafParticle () const |
| Retrieve whether this is a leaf particle. | |
| bool | decayFromGenerator () const |
| Decayed from generator. | |
| bool | decayInFlight () const |
| Decayed in flight. | |
| void | setVertexIndex0 (int index0) |
| methods for setting and getting vertex indexes | |
| int | vertexIndex0 () const |
| void | setVertexIndex1 (int index1) |
| int | vertexIndex1 () const |
| void | setTrackIndex (int trackIndex) |
| int | trackIndex () const |
| const HepLorentzVector & | initialPosition () const |
| Retrieve pointer to the start, end vertex positions. | |
| const HepLorentzVector & | finalPosition () const |
| const HepLorentzVector & | initialFourMomentum () const |
| const McParticle & | mother () const |
| access to the mother particle | |
| void | setMother (const SmartRef< McParticle > m) |
| set the mother particle | |
| void | addDaughter (const SmartRef< McParticle > d) |
| add a daugther particle to this particle | |
| void | removeDaughter (const SmartRef< McParticle > mcPart) |
| Used for pruning. | |
| const SmartRefVector< McParticle > & | daughterList () const |
| access the process name | |
| virtual const CLID & | clID () const |
| McParticle () | |
| Constructors. | |
| virtual | ~McParticle () |
| Destructor. | |
| void | init (McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &finalMomentum, const HepLorentzVector &initialPosition, const HepLorentzVector &finalPosition, const std::string process="") |
| void | initialize (StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="") |
| Set the initial attributes of the McParticle. | |
| void | initialize (McParticle *mother, StdHepId id, unsigned int statusBits, const HepLorentzVector &initialMomentum, const HepLorentzVector &initialPosition, const std::string process="") |
| void | finalize (const HepLorentzVector &finalPosition) |
| Set the final attributes of the McParticle. | |
| StdHepId | particleProperty () const |
| Retrieve particle property. | |
| unsigned int | statusFlags () const |
| retrieve all of status flags for const object | |
| void | addStatusFlag (unsigned int flag) |
| add a new flag to the status flags | |
| bool | primaryParticle () const |
| bool | leafParticle () const |
| Retrieve whether this is a leaf particle. | |
| bool | decayFromGenerator () const |
| Decayed from generator. | |
| bool | decayInFlight () const |
| Decayed in flight. | |
| void | setVertexIndex0 (int index0) |
| methods for setting and getting vertex indexes | |
| int | vertexIndex0 () const |
| void | setVertexIndex1 (int index1) |
| int | vertexIndex1 () const |
| void | setTrackIndex (int trackIndex) |
| int | trackIndex () const |
| const HepLorentzVector & | initialPosition () const |
| Retrieve pointer to the start, end vertex positions. | |
| const HepLorentzVector & | finalPosition () const |
| const HepLorentzVector & | initialFourMomentum () const |
| const McParticle & | mother () const |
| access to the mother particle | |
| void | setMother (const SmartRef< McParticle > m) |
| set the mother particle | |
| void | addDaughter (const SmartRef< McParticle > d) |
| add a daugther particle to this particle | |
| void | removeDaughter (const SmartRef< McParticle > mcPart) |
| Used for pruning. | |
| const SmartRefVector< McParticle > & | daughterList () const |
| access the process name | |
Static Public Member Functions | |
| static const CLID & | classID () |
| static const CLID & | classID () |
| static const CLID & | classID () |
Definition at line 27 of file Event/McTruth/include/McTruth/McParticle.h.
| typedef int Event::McParticle::StdHepId |
Definition at line 29 of file Event/McTruth/include/McTruth/McParticle.h.
| typedef int Event::McParticle::StdHepId |
Definition at line 29 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
| typedef int Event::McParticle::StdHepId |
Definition at line 29 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
status bits modeled
Definition at line 33 of file Event/McTruth/include/McTruth/McParticle.h.
status bits modeled
Definition at line 33 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
status bits modeled
Definition at line 33 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
Constructors.
Definition at line 55 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by init(), initialize(), and mother().
|
inlinevirtual |
|
inline |
Constructors.
Definition at line 55 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inlinevirtual |
Destructor.
Definition at line 57 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
Constructors.
Definition at line 55 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inlinevirtual |
Destructor.
Definition at line 57 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
add a daugther particle to this particle
Definition at line 132 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by BesMcTruthWriter::AddMother().
|
inline |
add a daugther particle to this particle
Definition at line 132 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
add a daugther particle to this particle
Definition at line 132 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
add a new flag to the status flags
Definition at line 88 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by BesMcTruthWriter::SaveMcParticle().
|
inline |
add a new flag to the status flags
Definition at line 88 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
add a new flag to the status flags
Definition at line 88 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 53 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inlinestatic |
Definition at line 53 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inlinevirtual |
Definition at line 52 of file Event/McTruth/include/McTruth/McParticle.h.
|
inlinevirtual |
Definition at line 52 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inlinevirtual |
Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
access the process name
set the initial and final volume identifiers get the initial and final volume identifier access to the list of daughters
Definition at line 149 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by PrintMcInfo::printPartInf(), and PrintMcInfo::printTree().
|
inline |
access the process name
set the initial and final volume identifiers get the initial and final volume identifier access to the list of daughters
Definition at line 149 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
access the process name
set the initial and final volume identifiers get the initial and final volume identifier access to the list of daughters
Definition at line 149 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
| bool McParticle::decayFromGenerator | ( | ) | const |
Decayed from generator.
Retrieve whether decayed from generator.
Definition at line 16 of file McParticle.cxx.
| bool Event::McParticle::decayFromGenerator | ( | ) | const |
Decayed from generator.
| bool Event::McParticle::decayFromGenerator | ( | ) | const |
Decayed from generator.
| bool McParticle::decayInFlight | ( | ) | const |
| bool Event::McParticle::decayInFlight | ( | ) | const |
Decayed in flight.
| bool Event::McParticle::decayInFlight | ( | ) | const |
Decayed in flight.
| void McParticle::finalize | ( | const HepLorentzVector & | finalPosition | ) |
Set the final attributes of the McParticle.
Definition at line 64 of file McParticle.cxx.
Referenced by init(), BesMcTruthWriter::SaveMcParticle(), and McParticleBuilder::unPack().
| void Event::McParticle::finalize | ( | const HepLorentzVector & | finalPosition | ) |
Set the final attributes of the McParticle.
| void Event::McParticle::finalize | ( | const HepLorentzVector & | finalPosition | ) |
Set the final attributes of the McParticle.
| const HepLorentzVector & McParticle::finalPosition | ( | ) | const |
Definition at line 71 of file McParticle.cxx.
Referenced by finalize(), and init().
| const HepLorentzVector & Event::McParticle::finalPosition | ( | ) | const |
| const HepLorentzVector & Event::McParticle::finalPosition | ( | ) | const |
| void McParticle::init | ( | McParticle * | mother, |
| StdHepId | id, | ||
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | finalMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const HepLorentzVector & | finalPosition, | ||
| const std::string | process = "" ) |
completely initialize a newed object. No other way to set most attributes. it will be replaced by the following methods (left here just in the transition)
Definition at line 23 of file McParticle.cxx.
| void Event::McParticle::init | ( | McParticle * | mother, |
| StdHepId | id, | ||
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | finalMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const HepLorentzVector & | finalPosition, | ||
| const std::string | process = "" ) |
completely initialize a newed object. No other way to set most attributes. it will be replaced by the following methods (left here just in the transition)
| void Event::McParticle::init | ( | McParticle * | mother, |
| StdHepId | id, | ||
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | finalMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const HepLorentzVector & | finalPosition, | ||
| const std::string | process = "" ) |
completely initialize a newed object. No other way to set most attributes. it will be replaced by the following methods (left here just in the transition)
| const HepLorentzVector & McParticle::initialFourMomentum | ( | ) | const |
Definition at line 72 of file McParticle.cxx.
Referenced by MdcUtilitySvc::getHelixOfMcParticle(), and MdcUtilitySvc::getMomPosOfMcParticle().
| const HepLorentzVector & Event::McParticle::initialFourMomentum | ( | ) | const |
| const HepLorentzVector & Event::McParticle::initialFourMomentum | ( | ) | const |
| void McParticle::initialize | ( | McParticle * | mother, |
| StdHepId | id, | ||
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const std::string | process = "" ) |
Definition at line 44 of file McParticle.cxx.
| void Event::McParticle::initialize | ( | McParticle * | mother, |
| StdHepId | id, | ||
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const std::string | process = "" ) |
| void Event::McParticle::initialize | ( | McParticle * | mother, |
| StdHepId | id, | ||
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const std::string | process = "" ) |
| void McParticle::initialize | ( | StdHepId | id, |
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const std::string | process = "" ) |
Set the initial attributes of the McParticle.
Definition at line 33 of file McParticle.cxx.
Referenced by init(), BesMcTruthWriter::SaveMcParticle(), and McParticleBuilder::unPack().
| void Event::McParticle::initialize | ( | StdHepId | id, |
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const std::string | process = "" ) |
Set the initial attributes of the McParticle.
| void Event::McParticle::initialize | ( | StdHepId | id, |
| unsigned int | statusBits, | ||
| const HepLorentzVector & | initialMomentum, | ||
| const HepLorentzVector & | initialPosition, | ||
| const std::string | process = "" ) |
Set the initial attributes of the McParticle.
| const HepLorentzVector & McParticle::initialPosition | ( | ) | const |
Retrieve pointer to the start, end vertex positions.
Definition at line 70 of file McParticle.cxx.
Referenced by MdcUtilitySvc::getHelixOfMcParticle(), MdcUtilitySvc::getMomPosOfMcParticle(), init(), initialize(), initialize(), and PrintMcInfo::printPartInf().
| const HepLorentzVector & Event::McParticle::initialPosition | ( | ) | const |
Retrieve pointer to the start, end vertex positions.
| const HepLorentzVector & Event::McParticle::initialPosition | ( | ) | const |
Retrieve pointer to the start, end vertex positions.
| bool McParticle::leafParticle | ( | ) | const |
Retrieve whether this is a leaf particle.
Retrieve whether this is a leave particle.
Definition at line 13 of file McParticle.cxx.
Referenced by BesMcTruthWriter::AddMother().
| bool Event::McParticle::leafParticle | ( | ) | const |
Retrieve whether this is a leaf particle.
| bool Event::McParticle::leafParticle | ( | ) | const |
Retrieve whether this is a leaf particle.
| const McParticle & McParticle::mother | ( | ) | const |
access to the mother particle
Definition at line 83 of file McParticle.cxx.
Referenced by QCMCFilter::execute(), QCMCFilter::findD0Decay(), init(), and initialize().
| const McParticle & Event::McParticle::mother | ( | ) | const |
access to the mother particle
| const McParticle & Event::McParticle::mother | ( | ) | const |
access to the mother particle
| McParticle::StdHepId McParticle::particleProperty | ( | ) | const |
Retrieve particle property.
Definition at line 7 of file McParticle.cxx.
Referenced by QCMCFilter::execute(), QCMCFilter::findD0Decay(), MdcUtilitySvc::getChargeOfMcParticle(), and PrintMcInfo::printPartInf().
| StdHepId Event::McParticle::particleProperty | ( | ) | const |
Retrieve particle property.
| StdHepId Event::McParticle::particleProperty | ( | ) | const |
Retrieve particle property.
| bool McParticle::primaryParticle | ( | ) | const |
Retrieve whether this is a primary particle.
Retrieve whether this is a primary particle: there's no mother for a primary particle
Definition at line 10 of file McParticle.cxx.
Referenced by PrintMcInfo::printPartInf(), and PrintMcInfo::printTree().
| bool Event::McParticle::primaryParticle | ( | ) | const |
Retrieve whether this is a primary particle: there's no mother for a primary particle
| bool Event::McParticle::primaryParticle | ( | ) | const |
Retrieve whether this is a primary particle: there's no mother for a primary particle
| void McParticle::removeDaughter | ( | const SmartRef< McParticle > | mcPart | ) |
Used for pruning.
Remove daughters when in prune mode.
Definition at line 86 of file McParticle.cxx.
| void Event::McParticle::removeDaughter | ( | const SmartRef< McParticle > | mcPart | ) |
Used for pruning.
| void Event::McParticle::removeDaughter | ( | const SmartRef< McParticle > | mcPart | ) |
Used for pruning.
| void McParticle::setMother | ( | const SmartRef< McParticle > | m | ) |
| void Event::McParticle::setMother | ( | const SmartRef< McParticle > | m | ) |
set the mother particle
| void Event::McParticle::setMother | ( | const SmartRef< McParticle > | m | ) |
set the mother particle
|
inline |
Definition at line 113 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by BesMcTruthWriter::SaveMcParticle(), and McParticleBuilder::unPack().
|
inline |
Definition at line 113 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
Definition at line 113 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
methods for setting and getting vertex indexes
Definition at line 104 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by BesMcTruthWriter::SaveMcParticle(), and McParticleBuilder::unPack().
|
inline |
methods for setting and getting vertex indexes
Definition at line 104 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
methods for setting and getting vertex indexes
Definition at line 104 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
Definition at line 108 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by BesMcTruthWriter::SaveMcParticle(), and McParticleBuilder::unPack().
|
inline |
Definition at line 108 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
Definition at line 108 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
| unsigned int McParticle::statusFlags | ( | ) | const |
retrieve all of status flags for const object
Definition at line 80 of file McParticle.cxx.
| unsigned int Event::McParticle::statusFlags | ( | ) | const |
retrieve all of status flags for const object
| unsigned int Event::McParticle::statusFlags | ( | ) | const |
retrieve all of status flags for const object
|
inline |
Definition at line 116 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by PrintMcInfo::execute(), PrintMcInfo::printPartInf(), and setTrackIndex().
|
inline |
Definition at line 116 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
Definition at line 116 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
Definition at line 106 of file Event/McTruth/include/McTruth/McParticle.h.
|
inline |
Definition at line 106 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
Definition at line 106 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.
|
inline |
Definition at line 110 of file Event/McTruth/include/McTruth/McParticle.h.
Referenced by BesMcTruthWriter::AddMother().
|
inline |
Definition at line 110 of file InstallArea/x86_64-el9-gcc13-dbg/include/McTruth/McParticle.h.
|
inline |
Definition at line 110 of file InstallArea/x86_64-el9-gcc13-opt/include/McTruth/McParticle.h.