![]() |
ATLAS Offline Software
|
#include <ISFParticle.h>
Public Member Functions | |
| ISFParticle ()=delete | |
| disallow default constructor More... | |
| ISFParticle (const Amg::Vector3D &pos, const Amg::Vector3D &mom, double mass, double charge, int pdgCode, int status, double time, const ISFParticle &parent, int id, int barcode=HepMC::UNDEFINED_ID, TruthBinding *truth=nullptr, const HepMcParticleLink *partLink=nullptr) | |
| use this constructor whenever possible More... | |
| ISFParticle (const HepGeom::Point3D< double > &pos, const HepGeom::Vector3D< double > &mom, double mass, double charge, int pdgCode, int status, double time, const ISFParticle &parent, int id, int barcode=HepMC::UNDEFINED_ID, TruthBinding *truth=nullptr, const HepMcParticleLink *partLink=nullptr) | |
| CLHEP-compatible constructor. More... | |
| ISFParticle (const Amg::Vector3D &pos, const Amg::Vector3D &mom, double mass, double charge, int pdgCode, int status, double time, const DetRegionSvcIDPair &origin, int id, int barcode=HepMC::UNDEFINED_ID, TruthBinding *truth=nullptr, const HepMcParticleLink *partLink=nullptr) | |
| this constructor should only be used for event read-in More... | |
| ISFParticle (const ISFParticle &isfp) | |
| Copy constructor. More... | |
| ISFParticle (ISFParticle &&isfp) | |
| Move copy constructor. More... | |
| ~ISFParticle () | |
| Destructor. More... | |
| ISFParticle & | operator= (const ISFParticle &rhs) |
| Assignment operator. More... | |
| ISFParticle & | operator= (ISFParticle &&rhs) |
| Move assignment operator. More... | |
| bool | operator== (const ISFParticle &rhs) const |
| Comparisons. More... | |
| bool | isEqual (const ISFParticle &rhs) const |
| bool | isIdent (const ISFParticle &rhs) const |
| const Amg::Vector3D & | momentum () const |
| The current momentum vector of the ISFParticle. More... | |
| const Amg::Vector3D & | position () const |
| The current position of the ISFParticle. More... | |
| void | updatePosition (const Amg::Vector3D &position) |
| Update the position of the ISFParticle. More... | |
| void | updateMomentum (const Amg::Vector3D &momentum) |
| Update the momentum of the ISFParticle. More... | |
| double | mass () const |
| mass of the particle More... | |
| double | charge () const |
| charge of the particle More... | |
| double | timeStamp () const |
| Timestamp of the ISFParticle. More... | |
| int | pdgCode () const |
| PDG value. More... | |
| double | ekin () const |
| Kinetic energy. More... | |
| const ParticleHistory & | history () const |
| the particle's full history More... | |
| AtlasDetDescr::AtlasRegion | originGeoID () const |
| the sub-detector ID the particle's originates from More... | |
| SimSvcID | originSimID () const |
| the simulation service the particle originates from More... | |
| AtlasDetDescr::AtlasRegion | prevGeoID () const |
| previous geoID that the particle was simulated in More... | |
| SimSvcID | prevSimID () const |
| the simulation service that previously treated this particle More... | |
| AtlasDetDescr::AtlasRegion | nextGeoID () const |
| next geoID the particle will be simulated in More... | |
| SimSvcID | nextSimID () const |
| the next simulation service the particle will be sent to More... | |
| void | setNextGeoID (AtlasDetDescr::AtlasRegion geoID) |
| register the next AtlasDetDescr::AtlasRegion More... | |
| void | setNextSimID (SimSvcID simID) |
| register the next SimSvcID More... | |
| int | barcode () const |
| the barcode More... | |
| void | setBarcode (int bc) |
| set a new barcode More... | |
| int | id () const |
| unique ID More... | |
| void | setId (int id) |
| set a new unique ID More... | |
| const TruthBinding * | getTruthBinding () const |
| pointer to the simulation truth - optional, can be 0 More... | |
| TruthBinding * | getTruthBinding () |
| void | setTruthBinding (TruthBinding *truth) |
| const HepMcParticleLink * | getParticleLink () const |
| HepMcParticleLink accessors. More... | |
| void | setParticleLink (const HepMcParticleLink *partLink) |
| ParticleOrder | getOrder () const |
| return the particle order (eg used to assure ID->Calo->MS simulation order) More... | |
| void | setOrder (ParticleOrder order) |
| const ParticleUserInformation * | getUserInformation () const |
| get/set ParticleUserInformation More... | |
| ParticleUserInformation * | getUserInformation () |
| void | setUserInformation (ParticleUserInformation *userInfo) |
| MsgStream & | dump (MsgStream &out) const |
| Dump methods to be used by the overloaded stream operator (inheritance!) More... | |
| std::ostream & | dump (std::ostream &out) const |
| void | setStatus (int a) |
| int | status () const |
Private Attributes | |
| Amg::Vector3D | m_position |
| Amg::Vector3D | m_momentum |
| double | m_mass |
| double | m_charge |
| int | m_pdgCode |
| int | m_status |
| double | m_tstamp |
| ParticleHistory | m_history |
| int | m_barcode |
| barcode TODO remove in favour of m_status + m_uid More... | |
| int | m_uid |
| TruthBinding * | m_truth |
| < unique ID More... | |
| ParticleOrder | m_order |
| particle simulation order More... | |
| ParticleUserInformation * | m_userInfo |
| user information stored with the ISFParticle More... | |
| const HepMcParticleLink * | m_partLink |
The generic ISF particle definition,
Definition at line 42 of file ISFParticle.h.
|
delete |
disallow default constructor
| ISF::ISFParticle::ISFParticle | ( | const Amg::Vector3D & | pos, |
| const Amg::Vector3D & | mom, | ||
| double | mass, | ||
| double | charge, | ||
| int | pdgCode, | ||
| int | status, | ||
| double | time, | ||
| const ISFParticle & | parent, | ||
| int | id, | ||
| int | barcode = HepMC::UNDEFINED_ID, |
||
| TruthBinding * | truth = nullptr, |
||
| const HepMcParticleLink * | partLink = nullptr |
||
| ) |
| ISF::ISFParticle::ISFParticle | ( | const HepGeom::Point3D< double > & | pos, |
| const HepGeom::Vector3D< double > & | mom, | ||
| double | mass, | ||
| double | charge, | ||
| int | pdgCode, | ||
| int | status, | ||
| double | time, | ||
| const ISFParticle & | parent, | ||
| int | id, | ||
| int | barcode = HepMC::UNDEFINED_ID, |
||
| TruthBinding * | truth = nullptr, |
||
| const HepMcParticleLink * | partLink = nullptr |
||
| ) |
| ISF::ISFParticle::ISFParticle | ( | const Amg::Vector3D & | pos, |
| const Amg::Vector3D & | mom, | ||
| double | mass, | ||
| double | charge, | ||
| int | pdgCode, | ||
| int | status, | ||
| double | time, | ||
| const DetRegionSvcIDPair & | origin, | ||
| int | id, | ||
| int | barcode = HepMC::UNDEFINED_ID, |
||
| TruthBinding * | truth = nullptr, |
||
| const HepMcParticleLink * | partLink = nullptr |
||
| ) |
this constructor should only be used for event read-in
Definition at line 71 of file ISFParticle.cxx.
| ISF::ISFParticle::ISFParticle | ( | const ISFParticle & | isfp | ) |
Copy constructor.
Definition at line 102 of file ISFParticle.cxx.
| ISF::ISFParticle::ISFParticle | ( | ISFParticle && | isfp | ) |
| ISF::ISFParticle::~ISFParticle | ( | ) |
Destructor.
Definition at line 142 of file ISFParticle.cxx.
| int ISF::ISFParticle::barcode | ( | ) | const |
the barcode
| double ISF::ISFParticle::charge | ( | ) | const |
charge of the particle
| MsgStream& ISF::ISFParticle::dump | ( | MsgStream & | out | ) | const |
Dump methods to be used by the overloaded stream operator (inheritance!)
| std::ostream& ISF::ISFParticle::dump | ( | std::ostream & | out | ) | const |
| double ISF::ISFParticle::ekin | ( | ) | const |
Kinetic energy.
| ParticleOrder ISF::ISFParticle::getOrder | ( | ) | const |
return the particle order (eg used to assure ID->Calo->MS simulation order)
|
inline |
| TruthBinding* ISF::ISFParticle::getTruthBinding | ( | ) |
| const TruthBinding* ISF::ISFParticle::getTruthBinding | ( | ) | const |
pointer to the simulation truth - optional, can be 0
| ParticleUserInformation* ISF::ISFParticle::getUserInformation | ( | ) |
| const ParticleUserInformation* ISF::ISFParticle::getUserInformation | ( | ) | const |
get/set ParticleUserInformation
| const ParticleHistory& ISF::ISFParticle::history | ( | ) | const |
the particle's full history
| int ISF::ISFParticle::id | ( | ) | const |
unique ID
| bool ISF::ISFParticle::isEqual | ( | const ISFParticle & | rhs | ) | const |
Definition at line 208 of file ISFParticle.cxx.
| bool ISF::ISFParticle::isIdent | ( | const ISFParticle & | rhs | ) | const |
Definition at line 252 of file ISFParticle.cxx.
| double ISF::ISFParticle::mass | ( | ) | const |
mass of the particle
| const Amg::Vector3D& ISF::ISFParticle::momentum | ( | ) | const |
The current momentum vector of the ISFParticle.
| AtlasDetDescr::AtlasRegion ISF::ISFParticle::nextGeoID | ( | ) | const |
next geoID the particle will be simulated in
| SimSvcID ISF::ISFParticle::nextSimID | ( | ) | const |
the next simulation service the particle will be sent to
| ISF::ISFParticle & ISF::ISFParticle::operator= | ( | const ISFParticle & | rhs | ) |
Assignment operator.
Definition at line 149 of file ISFParticle.cxx.
| ISF::ISFParticle & ISF::ISFParticle::operator= | ( | ISF::ISFParticle && | rhs | ) |
| bool ISF::ISFParticle::operator== | ( | const ISFParticle & | rhs | ) | const |
| AtlasDetDescr::AtlasRegion ISF::ISFParticle::originGeoID | ( | ) | const |
the sub-detector ID the particle's originates from
| SimSvcID ISF::ISFParticle::originSimID | ( | ) | const |
the simulation service the particle originates from
| int ISF::ISFParticle::pdgCode | ( | ) | const |
PDG value.
| const Amg::Vector3D& ISF::ISFParticle::position | ( | ) | const |
The current position of the ISFParticle.
| AtlasDetDescr::AtlasRegion ISF::ISFParticle::prevGeoID | ( | ) | const |
previous geoID that the particle was simulated in
| SimSvcID ISF::ISFParticle::prevSimID | ( | ) | const |
the simulation service that previously treated this particle
| void ISF::ISFParticle::setBarcode | ( | int | bc | ) |
set a new barcode
| void ISF::ISFParticle::setId | ( | int | id | ) |
set a new unique ID
| void ISF::ISFParticle::setNextGeoID | ( | AtlasDetDescr::AtlasRegion | geoID | ) |
register the next AtlasDetDescr::AtlasRegion
| void ISF::ISFParticle::setNextSimID | ( | SimSvcID | simID | ) |
register the next SimSvcID
| void ISF::ISFParticle::setOrder | ( | ParticleOrder | order | ) |
|
inline |
Definition at line 173 of file ISFParticle.h.
|
inline |
Definition at line 188 of file ISFParticle.h.
| void ISF::ISFParticle::setTruthBinding | ( | TruthBinding * | truth | ) |
| void ISF::ISFParticle::setUserInformation | ( | ParticleUserInformation * | userInfo | ) |
|
inline |
Definition at line 189 of file ISFParticle.h.
| double ISF::ISFParticle::timeStamp | ( | ) | const |
Timestamp of the ISFParticle.
| void ISF::ISFParticle::updateMomentum | ( | const Amg::Vector3D & | momentum | ) |
Update the momentum of the ISFParticle.
| void ISF::ISFParticle::updatePosition | ( | const Amg::Vector3D & | position | ) |
Update the position of the ISFParticle.
|
private |
barcode TODO remove in favour of m_status + m_uid
Definition at line 200 of file ISFParticle.h.
|
private |
Definition at line 195 of file ISFParticle.h.
|
private |
Definition at line 199 of file ISFParticle.h.
|
private |
Definition at line 194 of file ISFParticle.h.
|
private |
Definition at line 193 of file ISFParticle.h.
|
private |
particle simulation order
Definition at line 203 of file ISFParticle.h.
|
private |
Definition at line 205 of file ISFParticle.h.
|
private |
Definition at line 196 of file ISFParticle.h.
|
private |
Definition at line 192 of file ISFParticle.h.
|
private |
Definition at line 197 of file ISFParticle.h.
|
private |
< unique ID
Definition at line 202 of file ISFParticle.h.
|
private |
Definition at line 198 of file ISFParticle.h.
|
private |
Definition at line 201 of file ISFParticle.h.
|
private |
user information stored with the ISFParticle
Definition at line 204 of file ISFParticle.h.
1.8.18