|
LDMX Software
|
Public Member Functions | |
| TruthTrack ()=default | |
| default constructor | |
| void | setTrackID (int trackid) |
| Use the scoring plane hit at the target to extract (x_, y_, z_, px, py, pz) and create a track seed. | |
| int | getTrackID () const |
| void | setPdgID (int pdgID) |
| int | getPdgID () const |
| void | setNhits (int nHits) |
| int | getNhits () const |
| int | q () const |
| void | setPerigeeParameters (const std::vector< double > &par) |
| std::vector< double > | getPerigeeParameters () const |
| void | setPerigeeLocation (const std::vector< double > &perigee) |
| void | setPerigeeLocation (const double &x_, const double &y_, const double &z_) |
| void | setMomentum (const double &px, const double &py, const double &pz) |
| void | setPosition (const double &x_, const double &y_, const double &z_) |
| std::vector< double > | getPerigeeLocation () const |
| double | getPerigeeX () const |
| double | getPerigeeY () const |
| double | getPerigeeZ () const |
| std::vector< double > | getMomentum () const |
| std::vector< double > | getPosition () const |
| double | getD0 () const |
| double | getZ0 () const |
| double | getPhi () const |
| double | getTheta () const |
| double | getQoP () const |
| double | getT () const |
Private Member Functions | |
| ClassDef (TruthTrack, 3) | |
| Class declaration needed by the ROOT dictionary. | |
Private Attributes | |
| std::vector< double > | perigee_pars_ {0., 0., 0., 0., 0., 0.} |
| std::vector< double > | perigee_ {0., 0., 0.} |
| std::vector< double > | momentum_ {0., 0., 0.} |
| std::vector< double > | position_ {0., 0., 0.} |
| int | n_hits_ {0} |
| int | track_id_ {-1} |
| int | pdg_id_ {0} |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const TruthTrack &d) |
| Use the vertex position of the SimParticle to extract (x_, y_, z_, px, py, pz, q) and create a track seed. | |
| std::ostream & | operator<< (std::ostream &output, const TruthTrack &trk) |
Definition at line 9 of file TruthTrack.h.
|
inline |
Definition at line 143 of file TruthTrack.h.
|
inline |
Definition at line 138 of file TruthTrack.h.
|
inline |
Definition at line 99 of file TruthTrack.h.
|
inline |
Definition at line 96 of file TruthTrack.h.
|
inline |
Definition at line 133 of file TruthTrack.h.
|
inline |
Definition at line 108 of file TruthTrack.h.
|
inline |
Definition at line 134 of file TruthTrack.h.
|
inline |
Definition at line 135 of file TruthTrack.h.
|
inline |
Definition at line 136 of file TruthTrack.h.
|
inline |
Definition at line 145 of file TruthTrack.h.
|
inline |
Definition at line 139 of file TruthTrack.h.
|
inline |
Definition at line 147 of file TruthTrack.h.
|
inline |
Definition at line 148 of file TruthTrack.h.
|
inline |
Definition at line 146 of file TruthTrack.h.
|
inline |
Definition at line 93 of file TruthTrack.h.
|
inline |
Definition at line 144 of file TruthTrack.h.
|
inline |
Definition at line 102 of file TruthTrack.h.
|
inline |
Definition at line 121 of file TruthTrack.h.
|
inline |
Definition at line 98 of file TruthTrack.h.
|
inline |
Definition at line 95 of file TruthTrack.h.
|
inline |
Definition at line 114 of file TruthTrack.h.
|
inline |
Definition at line 110 of file TruthTrack.h.
|
inline |
Definition at line 105 of file TruthTrack.h.
|
inline |
Definition at line 127 of file TruthTrack.h.
|
inline |
Use the scoring plane hit at the target to extract (x_, y_, z_, px, py, pz) and create a track seed.
In this case, the SimParticle is used to extract the charge of the particle.
| particle | The SimParticle to extract the charge from. |
| hit | The SimTrackerHit used to create the seed. Create a truth track from the given position, momentum and charge. |
| pos_ | The position at which the particle was created. |
| p | The momentum of the particle at the point of creation. |
| charge | The charge of the particle. |
Definition at line 92 of file TruthTrack.h.
|
friend |
Use the vertex position of the SimParticle to extract (x_, y_, z_, px, py, pz, q) and create a track seed.
| particle | The SimParticle to make a seed from. |
Definition at line 8 of file TruthTrack.cxx.
|
friend |
| particle | The SimParticle to make a seed from. |
Definition at line 8 of file TruthTrack.cxx.
|
private |
Definition at line 161 of file TruthTrack.h.
|
private |
Definition at line 167 of file TruthTrack.h.
|
private |
Definition at line 173 of file TruthTrack.h.
|
private |
Definition at line 158 of file TruthTrack.h.
|
private |
Definition at line 155 of file TruthTrack.h.
|
private |
Definition at line 164 of file TruthTrack.h.
|
private |
Definition at line 170 of file TruthTrack.h.