Belle II Software development
|
Struct to hold variables from a track which contains a vector of data type like TrackCluster. More...
#include <PXDPerformanceStructs.h>
Public Member Functions | |
TrackBase_t () | |
Default constructor. | |
void | setTrackVariables (const TrackFitResult *tfrPtr, const ROOT::Math::XYZVector &ip) |
update track level variables from TrackFitResult | |
void | setValues (const RecoTrack &recoTrack, const ROOT::Math::XYZVector &ip=ROOT::Math::XYZVector(0, 0, 0), const std::string &recoTracksName="", const std::string &pxdInterceptsName="", const std::string &pxdTrackClustersName="PXDClustersFromTracks") |
Update values from a RecoTrack. | |
Public Attributes | |
float | d0 |
Impact parameter in r-phi. | |
float | z0 |
Impact parameter in z. | |
float | phi0 |
Track direction in r-phi. | |
float | pt |
Transverse momentum. | |
float | tanLambda |
Tangent of the dip angle. | |
float | d0p |
Corrected impact parameter in r-phi. | |
float | z0p |
Corrected impact parameter in z. | |
unsigned short | nPXDHits |
Number of PXD Hits. | |
unsigned short | nSVDHits |
Number of SVD Hits. | |
unsigned short | nCDCHits |
Number of CDC Hits. | |
std::vector< TTrackCluster > | trackClusters |
Vector of track cluster structs. | |
Struct to hold variables from a track which contains a vector of data type like TrackCluster.
Definition at line 112 of file PXDPerformanceStructs.h.
|
inline |
Default constructor.
Definition at line 114 of file PXDPerformanceStructs.h.
void setTrackVariables | ( | const TrackFitResult * | tfrPtr, |
const ROOT::Math::XYZVector & | ip | ||
) |
update track level variables from TrackFitResult
Template implementation.
tfrPtr | a pointer of TrackFitResult |
ip | The interaction point for correcting d0 and z0 |
Definition at line 157 of file PXDPerformanceStructs.h.
void setValues | ( | const RecoTrack & | recoTrack, |
const ROOT::Math::XYZVector & | ip = ROOT::Math::XYZVector(0, 0, 0) , |
||
const std::string & | recoTracksName = "" , |
||
const std::string & | pxdInterceptsName = "" , |
||
const std::string & | pxdTrackClustersName = "PXDClustersFromTracks" |
||
) |
Update values from a RecoTrack.
recoTrack | A RecoTrack object. |
ip | The interaction point for correcting d0 and z0 |
recoTracksName | Name of RecoTrack collection |
pxdInterceptsName | Name of PXDIntercept collection |
pxdTrackClustersName | Name of track matched PXDClusters |
Definition at line 184 of file PXDPerformanceStructs.h.
float d0 |
Impact parameter in r-phi.
Definition at line 136 of file PXDPerformanceStructs.h.
float d0p |
Corrected impact parameter in r-phi.
Definition at line 141 of file PXDPerformanceStructs.h.
unsigned short nCDCHits |
Number of CDC Hits.
Definition at line 145 of file PXDPerformanceStructs.h.
unsigned short nPXDHits |
Number of PXD Hits.
Definition at line 143 of file PXDPerformanceStructs.h.
unsigned short nSVDHits |
Number of SVD Hits.
Definition at line 144 of file PXDPerformanceStructs.h.
float phi0 |
Track direction in r-phi.
Definition at line 138 of file PXDPerformanceStructs.h.
float pt |
Transverse momentum.
Definition at line 139 of file PXDPerformanceStructs.h.
float tanLambda |
Tangent of the dip angle.
Definition at line 140 of file PXDPerformanceStructs.h.
std::vector<TTrackCluster> trackClusters |
Vector of track cluster structs.
Definition at line 146 of file PXDPerformanceStructs.h.
float z0 |
Impact parameter in z.
Definition at line 137 of file PXDPerformanceStructs.h.
float z0p |
Corrected impact parameter in z.
Definition at line 142 of file PXDPerformanceStructs.h.