Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4eval/TrkrClusterIsMatcher.h>
Public Member Functions | |
TrkrClusterIsMatcher () | |
bool | operator() (TrkrDefs::cluskey key_T, TrkrDefs::cluskey key_R) |
int | init (PHCompositeNode *topNode, const std::string &name_truth_clusters="TRKR_TRUTHCLUSTERCONTAINER", const std::string &name_reco_clusters="TRKR_CLUSTER") |
void | set_tol_phi_MVTX (float _val) |
void | set_tol_phi_INTT (float _val) |
void | set_tol_phi_TPC (float _val) |
void | set_tol_z_MVTX (float _val) |
void | set_tol_t_TPC (float _val) |
Public Attributes | |
bool | single_pixel_phi_MVTX { false } |
bool | single_pixel_phi_INTT { false } |
bool | single_bin_phi_TPC { true } |
bool | single_pixel_z_MVTX { false } |
bool | single_pixel_z_INTT { false } |
bool | single_bin_t_TPC { true } |
TrkrCluster * | clus_T { nullptr } |
TrkrCluster * | clus_R { nullptr } |
int | layer {0} |
int | det_0123 {0} |
bool | is_match {false} |
float | dphi {0.} |
std::array< float, 56 > | pitch_phi {0.} |
float | pitch_z_MVTX {0.} |
float | step_t_TPC {0.} |
std::array< float, 56 > | tol_pitch_phi {0.} |
float | tol_pitch_z_MVTX {0.} |
float | tol_step_t_TPC {0.} |
TrkrClusterContainer * | m_TruthClusters {nullptr} |
TrkrClusterContainer * | m_RecoClusters {nullptr} |
ActsGeometry * | m_ActsGeometry {nullptr} |
float | tol_phi_MVTX {0.5} |
float | tol_phi_INTT {0.5} |
float | tol_phi_TPC {1.0} |
float | tol_z_MVTX {0.5} |
float | tol_t_TPC {1.0} |
Definition at line 21 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 21 of file TrkrClusterIsMatcher.h
|
inline |
Definition at line 23 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 23 of file TrkrClusterIsMatcher.h
int TrkrClusterIsMatcher::init | ( | PHCompositeNode * | topNode, |
const std::string & | name_truth_clusters = "TRKR_TRUTHCLUSTERCONTAINER" , |
||
const std::string & | name_reco_clusters = "TRKR_CLUSTER" |
||
) |
Definition at line 20 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 20 of file TrkrClusterIsMatcher.cc
References Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, PHG4TpcCylinderGeom::get_phistep(), PHG4TpcCylinderGeom::get_radius(), CylinderGeomIntt::get_strip_y_spacing(), PHG4TpcCylinderGeom::get_zstep(), PHG4CylinderGeomContainer::GetLayerGeom(), i, m_ActsGeometry, m_RecoClusters, m_TruthClusters, PHWHERE, pitch_phi, pitch_z_MVTX, set_tol_phi_INTT(), set_tol_phi_MVTX(), set_tol_phi_TPC(), set_tol_t_TPC(), set_tol_z_MVTX(), step_t_TPC, tol_phi_INTT, tol_phi_MVTX, tol_phi_TPC, tol_t_TPC, and tol_z_MVTX.
bool TrkrClusterIsMatcher::operator() | ( | TrkrDefs::cluskey | key_T, |
TrkrDefs::cluskey | key_R | ||
) |
Definition at line 134 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 134 of file TrkrClusterIsMatcher.cc
References g4evalfn::abs_dphi(), INTTVtxZ::dphi, TrkrDefs::getLayer(), g4evalfn::INTT, layer, g4evalfn::MVTX, g4evalfn::TPC, g4evalfn::TPOT, and g4evalfn::trklayer_det().
void TrkrClusterIsMatcher::set_tol_phi_INTT | ( | float | _val | ) |
Definition at line 114 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 114 of file TrkrClusterIsMatcher.cc
References i, pitch_phi, tol_phi_INTT, and tol_pitch_phi.
Referenced by init().
void TrkrClusterIsMatcher::set_tol_phi_MVTX | ( | float | _val | ) |
Definition at line 101 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 101 of file TrkrClusterIsMatcher.cc
References i, pitch_phi, tol_phi_MVTX, and tol_pitch_phi.
Referenced by init().
void TrkrClusterIsMatcher::set_tol_phi_TPC | ( | float | _val | ) |
Definition at line 121 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 121 of file TrkrClusterIsMatcher.cc
References i, pitch_phi, tol_phi_TPC, and tol_pitch_phi.
Referenced by init().
void TrkrClusterIsMatcher::set_tol_t_TPC | ( | float | _val | ) |
Definition at line 128 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 128 of file TrkrClusterIsMatcher.cc
References step_t_TPC, tol_step_t_TPC, and tol_t_TPC.
Referenced by init().
void TrkrClusterIsMatcher::set_tol_z_MVTX | ( | float | _val | ) |
Definition at line 108 of file TrkrClusterIsMatcher.cc.
View newest version in sPHENIX GitHub at line 108 of file TrkrClusterIsMatcher.cc
References pitch_z_MVTX, tol_pitch_z_MVTX, and tol_z_MVTX.
Referenced by init().
TrkrCluster* TrkrClusterIsMatcher::clus_R { nullptr } |
Definition at line 51 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 51 of file TrkrClusterIsMatcher.h
TrkrCluster* TrkrClusterIsMatcher::clus_T { nullptr } |
Definition at line 50 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 50 of file TrkrClusterIsMatcher.h
int TrkrClusterIsMatcher::det_0123 {0} |
Definition at line 53 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 53 of file TrkrClusterIsMatcher.h
float TrkrClusterIsMatcher::dphi {0.} |
Definition at line 55 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 55 of file TrkrClusterIsMatcher.h
bool TrkrClusterIsMatcher::is_match {false} |
Definition at line 54 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 54 of file TrkrClusterIsMatcher.h
int TrkrClusterIsMatcher::layer {0} |
Definition at line 52 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 52 of file TrkrClusterIsMatcher.h
ActsGeometry* TrkrClusterIsMatcher::m_ActsGeometry {nullptr} |
Definition at line 69 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 69 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::clusloc_PHG4(), g4evalfn::clusloc_SVTX(), and init().
TrkrClusterContainer* TrkrClusterIsMatcher::m_RecoClusters {nullptr} |
Definition at line 68 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 68 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic(), g4evalfn::clusloc_SVTX(), TrackClusEvaluator::get_SVTX_clusters(), and init().
TrkrClusterContainer* TrkrClusterIsMatcher::m_TruthClusters {nullptr} |
Definition at line 67 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 67 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic(), g4evalfn::clusloc_PHG4(), TrackClusEvaluator::get_PHG4_clusters(), and init().
std::array<float, 56> TrkrClusterIsMatcher::pitch_phi {0.} |
Definition at line 58 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 58 of file TrkrClusterIsMatcher.h
Referenced by init(), set_tol_phi_INTT(), set_tol_phi_MVTX(), and set_tol_phi_TPC().
float TrkrClusterIsMatcher::pitch_z_MVTX {0.} |
Definition at line 59 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 59 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_z_MVTX().
bool TrkrClusterIsMatcher::single_bin_phi_TPC { true } |
Definition at line 42 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 42 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic().
bool TrkrClusterIsMatcher::single_bin_t_TPC { true } |
Definition at line 46 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 46 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic().
bool TrkrClusterIsMatcher::single_pixel_phi_INTT { false } |
Definition at line 41 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 41 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic().
bool TrkrClusterIsMatcher::single_pixel_phi_MVTX { false } |
Definition at line 40 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 40 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic().
bool TrkrClusterIsMatcher::single_pixel_z_INTT { false } |
Definition at line 45 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 45 of file TrkrClusterIsMatcher.h
bool TrkrClusterIsMatcher::single_pixel_z_MVTX { false } |
Definition at line 44 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 44 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic().
float TrkrClusterIsMatcher::step_t_TPC {0.} |
Definition at line 60 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 60 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_t_TPC().
float TrkrClusterIsMatcher::tol_phi_INTT {0.5} |
Definition at line 79 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 79 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_phi_INTT().
float TrkrClusterIsMatcher::tol_phi_MVTX {0.5} |
Definition at line 78 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 78 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_phi_MVTX().
float TrkrClusterIsMatcher::tol_phi_TPC {1.0} |
Definition at line 80 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 80 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_phi_TPC().
std::array<float, 56> TrkrClusterIsMatcher::tol_pitch_phi {0.} |
Definition at line 62 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 62 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic(), set_tol_phi_INTT(), set_tol_phi_MVTX(), and set_tol_phi_TPC().
float TrkrClusterIsMatcher::tol_pitch_z_MVTX {0.} |
Definition at line 63 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 63 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic(), and set_tol_z_MVTX().
float TrkrClusterIsMatcher::tol_step_t_TPC {0.} |
Definition at line 64 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 64 of file TrkrClusterIsMatcher.h
Referenced by g4evalfn::calc_match_statistic(), and set_tol_t_TPC().
float TrkrClusterIsMatcher::tol_t_TPC {1.0} |
Definition at line 83 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 83 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_t_TPC().
float TrkrClusterIsMatcher::tol_z_MVTX {0.5} |
Definition at line 82 of file TrkrClusterIsMatcher.h.
View newest version in sPHENIX GitHub at line 82 of file TrkrClusterIsMatcher.h
Referenced by init(), and set_tol_z_MVTX().