Analysis Software
Documentation for sPHENIX simulation software
|
A class to store information about simulated Monte Carlo primary vertices. More...
#include <KFParticle/blob/master/KFParticlePerformance/KFMCVertex.h>
Public Member Functions | |
KFMCVertex () | |
float | Par (int i) const |
Returns parameter with index "i" from KFMCVertex::fPar. | |
float | X () const |
Returns X coordinate of the vertex. | |
float | Y () const |
Returns Y coordinate of the vertex. | |
float | Z () const |
Returns Z coordinate of the vertex. | |
const float * | GetPar () const |
Returns pointer to the parameters of the vertex KFMCVertex::fPar. | |
void | SetPar (int i, float v) |
Sets a value "v" to parameter "i". | |
void | SetX (float v) |
Sets value "v" to the X coordinate. | |
void | SetY (float v) |
Sets value "v" to the Y coordinate. | |
void | SetZ (float v) |
Sets value "v" to the Z coordinate. | |
int | NDaughterTracks () const |
Returns number of Monte Carlo tracks produced at the current vertex. | |
int | NReconstructedDaughterTracks () const |
Returns number of reconstructed tracks from this vertex. | |
void | AddDaughterTrack (int iTr) |
Adds unique id of the Monte Carlo track produced at the current vertex. | |
int | DaughterTrack (int iTr) const |
bool | IsMCReconstructable () const |
Returns flag showing if the vertex can be found (definition is based on the MC tracks) | |
bool | IsReconstructable () const |
Returns flag showing if the vertex can be found (definition is based on the reconstructed tracks) | |
bool | IsReconstructed () const |
Returns flag showing if the vertex was reconstructed. | |
void | SetReconstructable () |
Defines the current vertex as such that can be reconstructed (based on the reconstructed tracks) | |
void | SetUnReconstructable () |
Defines the current vertex as such that can not be reconstructed (based on the reconstructed tracks) | |
void | SetMCReconstructable () |
Defines the current vertex as such that can be reconstructed (based on the MC tracks) | |
void | SetMCUnReconstructable () |
Defines the current vertex as such that can not be reconstructed (based on the MC tracks) | |
void | SetReconstructed () |
Defines the current vertex as such that was reconstructed. | |
void | SetUnReconstructed () |
Defines the current vertex as such that was not reconstructed. | |
void | SetNReconstructedDaughters (int n) |
Defines number of the reconstructed tracks produced at the current vertex. | |
bool | IsTriggerPV () const |
Returns flag showing if the vertex is considerred as tigger. | |
void | SetTriggerPV () |
Defines the current vertex as the trigger primary vertex. | |
Protected Attributes | |
float | fPar [3] |
Cartesian coordinates of the vertex: { X, Y, Z }. | |
std::vector< int > | fDaughterTracks |
Vector with unique ids of the Monte Carlo tracks produced at this vertex. | |
bool | fIsReconstructable |
Flag showing if the vertex considered as reconstructable based on the reconstructed tracks. | |
bool | fIsMCReconstructable |
Flag showing if the vertex considered as reconstructable based on the Monte Carlo tracks. | |
bool | fIsReconstructed |
Flag showing if vertex was reconstructed. | |
int | fNReconstructedDaughters |
Number of found tracks, produced at the current vertex. | |
bool | fIsTriggerPV |
Flag showing if the vertex was a trigger primary vertex. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const KFMCVertex &a) |
std::istream & | operator>> (std::istream &in, KFMCVertex &a) |
A class to store information about simulated Monte Carlo primary vertices.
The class contains coordinates of the vertex, indices of the Monte Carlo tracks produced at this vertex, classification flags, number of the reconstructed Monte Carlo tracks.
Definition at line 38 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 38 of file KFMCVertex.h
KFMCVertex::KFMCVertex | ( | ) |
Definition at line 24 of file KFMCVertex.cxx.
View newest version in sPHENIX GitHub at line 24 of file KFMCVertex.cxx
|
inline |
Adds unique id of the Monte Carlo track produced at the current vertex.
Definition at line 59 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 59 of file KFMCVertex.h
References fDaughterTracks.
|
inline |
Returns unique id of the Monte Carlo track from this vertex with index "iTr".
[in] | iTr | - index of the track. |
Definition at line 60 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 60 of file KFMCVertex.h
References fDaughterTracks, and NDaughterTracks().
|
inline |
Returns pointer to the parameters of the vertex KFMCVertex::fPar.
Definition at line 49 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 49 of file KFMCVertex.h
References fPar.
|
inline |
Returns flag showing if the vertex can be found (definition is based on the MC tracks)
Definition at line 73 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 73 of file KFMCVertex.h
References fIsMCReconstructable.
|
inline |
Returns flag showing if the vertex can be found (definition is based on the reconstructed tracks)
Definition at line 74 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 74 of file KFMCVertex.h
References fIsReconstructable.
|
inline |
Returns flag showing if the vertex was reconstructed.
Definition at line 75 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 75 of file KFMCVertex.h
References fIsReconstructed.
|
inline |
Returns flag showing if the vertex is considerred as tigger.
Definition at line 88 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 88 of file KFMCVertex.h
References fIsTriggerPV.
|
inline |
Returns number of Monte Carlo tracks produced at the current vertex.
Definition at line 57 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 57 of file KFMCVertex.h
References fDaughterTracks.
Referenced by DaughterTrack().
|
inline |
Returns number of reconstructed tracks from this vertex.
Definition at line 58 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 58 of file KFMCVertex.h
References fNReconstructedDaughters.
|
inline |
Returns parameter with index "i" from KFMCVertex::fPar.
Definition at line 43 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 43 of file KFMCVertex.h
|
inline |
Defines the current vertex as such that can be reconstructed (based on the MC tracks)
Definition at line 80 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 80 of file KFMCVertex.h
References fIsMCReconstructable.
|
inline |
Defines the current vertex as such that can not be reconstructed (based on the MC tracks)
Definition at line 81 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 81 of file KFMCVertex.h
References fIsMCReconstructable.
|
inline |
Defines number of the reconstructed tracks produced at the current vertex.
Definition at line 86 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 86 of file KFMCVertex.h
References fNReconstructedDaughters, and n.
|
inline |
Sets a value "v" to parameter "i".
Definition at line 51 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 51 of file KFMCVertex.h
References fPar, i, and testSigmaEff::v.
|
inline |
Defines the current vertex as such that can be reconstructed (based on the reconstructed tracks)
Definition at line 77 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 77 of file KFMCVertex.h
References fIsReconstructable.
|
inline |
Defines the current vertex as such that was reconstructed.
Definition at line 83 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 83 of file KFMCVertex.h
References fIsReconstructed.
|
inline |
Defines the current vertex as the trigger primary vertex.
Definition at line 89 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 89 of file KFMCVertex.h
References fIsTriggerPV.
|
inline |
Defines the current vertex as such that can not be reconstructed (based on the reconstructed tracks)
Definition at line 78 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 78 of file KFMCVertex.h
References fIsReconstructable.
|
inline |
Defines the current vertex as such that was not reconstructed.
Definition at line 84 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 84 of file KFMCVertex.h
References fIsReconstructed.
|
inline |
Sets value "v" to the X coordinate.
Definition at line 53 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 53 of file KFMCVertex.h
References fPar, and testSigmaEff::v.
|
inline |
Sets value "v" to the Y coordinate.
Definition at line 54 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 54 of file KFMCVertex.h
References fPar, and testSigmaEff::v.
|
inline |
Sets value "v" to the Z coordinate.
Definition at line 55 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 55 of file KFMCVertex.h
References fPar, and testSigmaEff::v.
|
inline |
Returns X coordinate of the vertex.
Definition at line 45 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 45 of file KFMCVertex.h
References fPar.
|
inline |
Returns Y coordinate of the vertex.
Definition at line 46 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 46 of file KFMCVertex.h
References fPar.
|
inline |
Returns Z coordinate of the vertex.
Definition at line 47 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 47 of file KFMCVertex.h
References fPar.
|
friend |
Operator to print coordinates of the MC vertex "a".
[in] | out | - stream, where coordinates will be printed |
[in] | a | - vertex to be printed |
Definition at line 29 of file KFMCVertex.cxx.
View newest version in sPHENIX GitHub at line 29 of file KFMCVertex.cxx
|
friend |
Operator to read coordinates of the vertex from the input stream.
[in] | in | - input stream |
[in] | a | - vertex, where the coordinates will be read in |
Definition at line 39 of file KFMCVertex.cxx.
View newest version in sPHENIX GitHub at line 39 of file KFMCVertex.cxx
|
protected |
Vector with unique ids of the Monte Carlo tracks produced at this vertex.
Definition at line 97 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 97 of file KFMCVertex.h
Referenced by AddDaughterTrack(), DaughterTrack(), and NDaughterTracks().
|
protected |
Flag showing if the vertex considered as reconstructable based on the Monte Carlo tracks.
Definition at line 99 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 99 of file KFMCVertex.h
Referenced by IsMCReconstructable(), SetMCReconstructable(), and SetMCUnReconstructable().
|
protected |
Flag showing if the vertex considered as reconstructable based on the reconstructed tracks.
Definition at line 98 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 98 of file KFMCVertex.h
Referenced by IsReconstructable(), SetReconstructable(), and SetUnReconstructable().
|
protected |
Flag showing if vertex was reconstructed.
Definition at line 100 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 100 of file KFMCVertex.h
Referenced by IsReconstructed(), SetReconstructed(), and SetUnReconstructed().
|
protected |
Flag showing if the vertex was a trigger primary vertex.
Definition at line 102 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 102 of file KFMCVertex.h
Referenced by IsTriggerPV(), and SetTriggerPV().
|
protected |
Number of found tracks, produced at the current vertex.
Definition at line 101 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 101 of file KFMCVertex.h
Referenced by NReconstructedDaughterTracks(), and SetNReconstructedDaughters().
|
protected |
Cartesian coordinates of the vertex: { X, Y, Z }.
Definition at line 96 of file KFMCVertex.h.
View newest version in sPHENIX GitHub at line 96 of file KFMCVertex.h
Referenced by GetPar(), KFMCVertex(), operator<<(), operator>>(), Par(), SetPar(), SetX(), SetY(), SetZ(), X(), Y(), and Z().