Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackreco/PHCosmicSiliconPropagator.h>
Public Member Functions | |
PHCosmicSiliconPropagator (const std::string &name="PHCosmicSiliconPropagator") | |
~PHCosmicSiliconPropagator () override | |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | set_track_map_name (const std::string &name) |
void | set_dca_z_cut (float z) |
void | set_dca_xy_cut (float xy) |
void | zero_field () |
void | resetSvtxSeedContainer () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Member Functions | |
int | createSeedContainer (TrackSeedContainer *&container, const std::string &container_name, PHCompositeNode *topNode) |
Private Attributes | |
ActsGeometry * | _tgeometry = nullptr |
TrackSeedContainer * | _si_seeds = nullptr |
TrackSeedContainer * | _tpc_seeds = nullptr |
TrackSeedContainer * | _svtx_seeds = nullptr |
TrkrClusterContainer * | _cluster_map = nullptr |
float | m_resetContainer = false |
float | _dca_z_cut = 5. |
float | _dca_xy_cut = 5. |
bool | m_zeroField = false |
std::string | _track_map_name = "SvtxTrackSeedContainer" |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 15 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 15 of file PHCosmicSiliconPropagator.h
PHCosmicSiliconPropagator::PHCosmicSiliconPropagator | ( | const std::string & | name = "PHCosmicSiliconPropagator" | ) |
Definition at line 32 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 32 of file PHCosmicSiliconPropagator.cc
|
override |
Definition at line 38 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 38 of file PHCosmicSiliconPropagator.cc
|
private |
Definition at line 297 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 297 of file PHCosmicSiliconPropagator.cc
References PHCompositeNode::addNode(), container, Fun4AllReturnCodes::EVENT_OK, and PHNodeIterator::findFirst().
Referenced by InitRun().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 292 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 292 of file PHCosmicSiliconPropagator.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 43 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 43 of file PHCosmicSiliconPropagator.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 49 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 49 of file PHCosmicSiliconPropagator.cc
References _cluster_map, _si_seeds, _svtx_seeds, _tgeometry, _tpc_seeds, _track_map_name, Fun4AllReturnCodes::ABORTEVENT, createSeedContainer(), Fun4AllReturnCodes::EVENT_OK, and PHWHERE.
|
overridevirtual |
Called for each event. This is where you do the real work.
Line fit both in x-y and r-z
There weren't enough clusters to fit
only keep long seeds
Reimplemented from SubsysReco.
Definition at line 95 of file PHCosmicSiliconPropagator.cc.
View newest version in sPHENIX GitHub at line 95 of file PHCosmicSiliconPropagator.cc
References _cluster_map, _dca_xy_cut, _dca_z_cut, _si_seeds, _svtx_seeds, _tgeometry, _tpc_seeds, TrackFitUtils::addClusters(), TrackFitUtils::addClustersOnLine(), TrackSeed_v1::circleFitByTaubin(), Fun4AllReturnCodes::EVENT_OK, TrackSeedContainer::find(), TrkrClusterContainer::findCluster(), TrackFitUtils::fitClusters(), TrackSeedContainer::get(), TrackFitUtils::get_helix_pca(), ActsGeometry::getGlobalPosition(), TrkrDefs::getLayer(), TrackFitUtils::getTrackletClusters(), TrkrDefs::getTrkrId(), i, TrackSeed_v1::identify(), identify, TrackSeedContainer::insert(), TrackSeed_v1::insert_cluster_key(), TrackFitUtils::line_fit(), TrackSeed_v1::lineFit(), m_resetContainer, m_zeroField, TrkrDefs::micromegasId, physmon_track_finding_ttbar::r, PHObject::Reset(), seed, SvtxTrackSeed_v1::set_silicon_seed_index(), SvtxTrackSeed_v1::set_tpc_seed_index(), TrackSeedContainer::size(), TrackSeed_v1::size_cluster_keys(), TrkrDefs::tpcId, Fun4AllBase::Verbosity(), and physmon_track_finding_ttbar::z.
|
inline |
Definition at line 30 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 30 of file PHCosmicSiliconPropagator.h
References m_resetContainer.
Referenced by Tracking_Reco_TrackSeed().
|
inline |
Definition at line 28 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 28 of file PHCosmicSiliconPropagator.h
References _dca_xy_cut, and Acts::Svg::View::xy().
Referenced by Tracking_Reco_TrackSeed().
|
inline |
Definition at line 27 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 27 of file PHCosmicSiliconPropagator.h
References _dca_z_cut, and physmon_track_finding_ttbar::z.
Referenced by Tracking_Reco_TrackSeed().
|
inline |
Definition at line 26 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 26 of file PHCosmicSiliconPropagator.h
References _track_map_name, and perf_headwind::name.
|
inline |
Definition at line 29 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 29 of file PHCosmicSiliconPropagator.h
References m_zeroField.
Referenced by Tracking_Reco_TrackSeed().
|
private |
Definition at line 39 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 39 of file PHCosmicSiliconPropagator.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 43 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 43 of file PHCosmicSiliconPropagator.h
Referenced by process_event(), and set_dca_xy_cut().
|
private |
Definition at line 42 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 42 of file PHCosmicSiliconPropagator.h
Referenced by process_event(), and set_dca_z_cut().
|
private |
Definition at line 36 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 36 of file PHCosmicSiliconPropagator.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 38 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 38 of file PHCosmicSiliconPropagator.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 35 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 35 of file PHCosmicSiliconPropagator.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 37 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 37 of file PHCosmicSiliconPropagator.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 45 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 45 of file PHCosmicSiliconPropagator.h
Referenced by InitRun(), and set_track_map_name().
|
private |
Definition at line 41 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 41 of file PHCosmicSiliconPropagator.h
Referenced by process_event(), and resetSvtxSeedContainer().
|
private |
Definition at line 44 of file PHCosmicSiliconPropagator.h.
View newest version in sPHENIX GitHub at line 44 of file PHCosmicSiliconPropagator.h
Referenced by process_event(), and zero_field().