Analysis Software
Documentation for sPHENIX simulation software
|
#include <prototype/blob/master/offline/packages/MvtxPrototype1/MvtxStandaloneTracking.h>
Classes | |
struct | MvtxTrack |
Public Types | |
typedef std::vector< MvtxTrack > | MvtxTrackList |
typedef std::vector< MvtxTrack > | MvtxTrackList |
Public Member Functions | |
MvtxStandaloneTracking () | |
ctor | |
~MvtxStandaloneTracking () | |
dtor | |
void | RunTracking (PHCompositeNode *topNode, MvtxTrackList &trklst, std::vector< int > &lyrs) |
run tracking | |
void | RunGhostRejection (MvtxTrackList &trklst) |
reject ghosts | |
void | SetWindowX (float w) |
set association window | |
void | SetWindowZ (float w) |
void | SetGhostRejection (bool yn) |
set ghost rejection | |
void | Verbosity (int v) |
set verbosity | |
MvtxStandaloneTracking () | |
ctor | |
~MvtxStandaloneTracking () | |
dtor | |
void | RunTracking (PHCompositeNode *topNode, MvtxTrackList &trklst, std::vector< int > &lyrs) |
run tracking | |
void | RunGhostRejection (MvtxTrackList &trklst) |
reject ghosts | |
void | SetWindowX (float w) |
set association window | |
void | SetWindowZ (float w) |
void | SetGhostRejection (bool yn) |
set ghost rejection | |
void | Verbosity (int v) |
set verbosity | |
Private Member Functions | |
void | AssociateClusters (MvtxTrackList &trklst, std::vector< int > &lyrs) |
Associate clusters into track candidates. | |
void | TrackFitXY (MvtxTrack &trk) |
Fit track in x vs y. | |
void | TrackFitZY (MvtxTrack &trk) |
Fit track in z vs y. | |
TVectorD | SolveGLS (TMatrixD &X, TVectorD &y, TMatrixD &L) |
Generalized least squares fitter. | |
double | CalcSlope (double x0, double y0, double x1, double y1) |
double | CalcIntecept (double x0, double y0, double m) |
double | CalcProjection (double x, double m, double b) |
void | PrintTrackCandidates (MvtxTrackList &trklst) |
Print out track candidate information. | |
void | AssociateClusters (MvtxTrackList &trklst, std::vector< int > &lyrs) |
Associate clusters into track candidates. | |
void | TrackFitXY (MvtxTrack &trk) |
Fit track in x vs y. | |
void | TrackFitZY (MvtxTrack &trk) |
Fit track in z vs y. | |
TVectorD | SolveGLS (TMatrixD &X, TVectorD &y, TMatrixD &L) |
Generalized least squares fitter. | |
double | CalcSlope (double x0, double y0, double x1, double y1) |
double | CalcIntecept (double x0, double y0, double m) |
double | CalcProjection (double x, double m, double b) |
void | PrintTrackCandidates (MvtxTrackList &trklst) |
Print out track candidate information. | |
Private Attributes | |
TrkrClusterContainer * | clusters_ |
Cluster node. | |
float | window_x_ |
window size in x & z | |
float | window_z_ |
bool | ghostrejection_ |
ghost rejection | |
int | verbosity_ |
Static Private Attributes | |
static const int | NLYR = 4 |
Definition at line 14 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 14 of file MvtxStandaloneTracking.h
typedef std::vector<MvtxTrack> MvtxStandaloneTracking::MvtxTrackList |
Definition at line 30 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 30 of file MvtxStandaloneTracking.h
typedef std::vector<MvtxTrack> MvtxStandaloneTracking::MvtxTrackList |
Definition at line 32 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 32 of file MvtxStandaloneTracking.h
MvtxStandaloneTracking::MvtxStandaloneTracking | ( | ) |
ctor
Definition at line 20 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 20 of file MvtxStandaloneTracking.C
MvtxStandaloneTracking::~MvtxStandaloneTracking | ( | ) |
dtor
Definition at line 29 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 29 of file MvtxStandaloneTracking.C
MvtxStandaloneTracking::MvtxStandaloneTracking | ( | ) |
ctor
MvtxStandaloneTracking::~MvtxStandaloneTracking | ( | ) |
dtor
|
private |
Associate clusters into track candidates.
Definition at line 87 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 87 of file MvtxStandaloneTracking.C
References CalcIntecept(), CalcProjection(), CalcSlope(), MvtxStandaloneTracking::MvtxTrack::ClusterList, clusters_, window_x_, and window_z_.
Referenced by RunTracking().
|
private |
Associate clusters into track candidates.
Definition at line 461 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 461 of file MvtxStandaloneTracking.C
References Acts::UnitConstants::m.
Referenced by AssociateClusters().
Definition at line 467 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 467 of file MvtxStandaloneTracking.C
References KFPMath::b.
Referenced by AssociateClusters().
Definition at line 455 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 455 of file MvtxStandaloneTracking.C
References x0.
Referenced by AssociateClusters().
|
private |
Print out track candidate information.
Definition at line 420 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 420 of file MvtxStandaloneTracking.C
Referenced by RunTracking().
|
private |
Print out track candidate information.
void MvtxStandaloneTracking::RunGhostRejection | ( | MvtxTrackList & | trklst | ) |
reject ghosts
Definition at line 176 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 176 of file MvtxStandaloneTracking.C
References i, it, PHWHERE, and verbosity_.
Referenced by RunTracking().
void MvtxStandaloneTracking::RunGhostRejection | ( | MvtxTrackList & | trklst | ) |
reject ghosts
void MvtxStandaloneTracking::RunTracking | ( | PHCompositeNode * | topNode, |
MvtxTrackList & | trklst, | ||
std::vector< int > & | lyrs | ||
) |
run tracking
Definition at line 34 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 34 of file MvtxStandaloneTracking.C
References AssociateClusters(), clusters_, ghostrejection_, PHWHERE, PrintTrackCandidates(), RunGhostRejection(), TrackFitXY(), TrackFitZY(), and verbosity_.
Referenced by AnaMvtxPrototype1::process_event(), and AnaMvtxTestBeam2019::process_event().
void MvtxStandaloneTracking::RunTracking | ( | PHCompositeNode * | topNode, |
MvtxTrackList & | trklst, | ||
std::vector< int > & | lyrs | ||
) |
run tracking
|
inline |
set ghost rejection
Definition at line 49 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 49 of file MvtxStandaloneTracking.h
Referenced by Fun4All_TestBeam().
|
inline |
set ghost rejection
Definition at line 51 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 51 of file MvtxStandaloneTracking.h
References ghostrejection_, and yn.
|
inline |
set association window
Definition at line 45 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 45 of file MvtxStandaloneTracking.h
References window_x_.
Referenced by AnaMvtxPrototype1::AnaMvtxPrototype1(), and Fun4All_TestBeam().
|
inline |
set association window
Definition at line 47 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 47 of file MvtxStandaloneTracking.h
References window_x_.
|
inline |
Definition at line 46 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 46 of file MvtxStandaloneTracking.h
References window_z_.
Referenced by AnaMvtxPrototype1::AnaMvtxPrototype1(), and Fun4All_TestBeam().
|
inline |
Definition at line 48 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 48 of file MvtxStandaloneTracking.h
References window_z_.
|
private |
Generalized least squares fitter.
Definition at line 283 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 283 of file MvtxStandaloneTracking.C
References A, KFPMath::b, i, physmon_simulation::s, TauVsDIS_MachineLearning_Differentiation::X, and y.
Referenced by TrackFitXY(), and TrackFitZY().
|
private |
Generalized least squares fitter.
|
private |
Fit track in x vs y.
Definition at line 310 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 310 of file MvtxStandaloneTracking.C
References Acts::Test::at, MvtxStandaloneTracking::MvtxTrack::b_xy, Acts::PhysicalConstants::c, MvtxStandaloneTracking::MvtxTrack::chi2_xy, MvtxStandaloneTracking::MvtxTrack::ClusterList, double(), MvtxStandaloneTracking::MvtxTrack::dx, Acts::UnitConstants::m, MvtxStandaloneTracking::MvtxTrack::m_xy, n, size, SolveGLS(), TauVsDIS_MachineLearning_Differentiation::X, ambiguity_solver_full_chain::x, x0, and y.
Referenced by RunTracking().
|
private |
Fit track in x vs y.
|
private |
Fit track in z vs y.
Definition at line 365 of file MvtxStandaloneTracking.C.
View newest version in sPHENIX GitHub at line 365 of file MvtxStandaloneTracking.C
References Acts::Test::at, MvtxStandaloneTracking::MvtxTrack::b_zy, Acts::PhysicalConstants::c, MvtxStandaloneTracking::MvtxTrack::chi2_zy, MvtxStandaloneTracking::MvtxTrack::ClusterList, double(), MvtxStandaloneTracking::MvtxTrack::dz, dz, Acts::UnitConstants::m, MvtxStandaloneTracking::MvtxTrack::m_zy, n, size, SolveGLS(), TauVsDIS_MachineLearning_Differentiation::X, y, and physmon_track_finding_ttbar::z.
Referenced by RunTracking().
|
private |
Fit track in z vs y.
|
inline |
set verbosity
Definition at line 52 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 52 of file MvtxStandaloneTracking.h
References testSigmaEff::v, and verbosity_.
Referenced by AnaMvtxPrototype1::AnaMvtxPrototype1(), and Fun4All_TestBeam().
|
inline |
set verbosity
Definition at line 54 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 54 of file MvtxStandaloneTracking.h
References testSigmaEff::v, and verbosity_.
|
private |
Cluster node.
Definition at line 77 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 77 of file MvtxStandaloneTracking.h
Referenced by AssociateClusters(), and RunTracking().
|
private |
ghost rejection
Definition at line 84 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 84 of file MvtxStandaloneTracking.h
Referenced by RunTracking(), and SetGhostRejection().
|
staticprivate |
Definition at line 89 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 89 of file MvtxStandaloneTracking.h
|
private |
Definition at line 87 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 87 of file MvtxStandaloneTracking.h
Referenced by RunGhostRejection(), RunTracking(), and Verbosity().
|
private |
window size in x & z
Definition at line 80 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 80 of file MvtxStandaloneTracking.h
Referenced by AssociateClusters(), and SetWindowX().
|
private |
Definition at line 81 of file MvtxStandaloneTracking.h.
View newest version in sPHENIX GitHub at line 81 of file MvtxStandaloneTracking.h
Referenced by AssociateClusters(), and SetWindowZ().