Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/intt/InttVertexFinder.h>
Public Member Functions | |
InttVertexFinder (const std::string &name="InttVertexFinder") | |
~InttVertexFinder () override | |
int | Init (PHCompositeNode *) override |
module initialization | |
int | InitRun (PHCompositeNode *topNode) override |
run initialization | |
int | process_event (PHCompositeNode *topNode) override |
event processing | |
int | End (PHCompositeNode *) override |
end of process | |
void | setBeamCenter (double x=0, double y=0) |
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 | createNodes (PHCompositeNode *topNode) |
double | calculateZvertex (double *zcenter=nullptr, double *zrms=nullptr, double *zmean=nullptr) |
Private Attributes | |
InttVertexMap * | m_inttvertexmap = nullptr |
ActsGeometry * | m_tGeometry = nullptr |
TrkrClusterContainer * | m_clusterlist = nullptr |
TH1 * | h_zvtxseed_ = nullptr |
double | xbeam_ = 0. |
double | ybeam_ = 0. |
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 14 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 14 of file InttVertexFinder.h
InttVertexFinder::InttVertexFinder | ( | const std::string & | name = "InttVertexFinder" | ) |
Definition at line 31 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 31 of file InttVertexFinder.cc
|
override |
Definition at line 36 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 36 of file InttVertexFinder.cc
References h_zvtxseed_.
|
private |
Definition at line 141 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 141 of file InttVertexFinder.cc
References parse_cmake_options::begin, c2, clusters, TrkrClusterContainer::getClusters(), ActsGeometry::getGlobalPosition(), TrkrClusterContainer::getHitSetKeys(), h_zvtxseed_, TrkrDefs::inttId, layer, m_clusterlist, m_tGeometry, ActsTests::PropagationDatasets::phi, Acts::Test::pos, physmon_ckf_tracking::u, Fun4AllBase::Verbosity(), vz, xbeam_, and ybeam_.
Referenced by process_event().
|
private |
Definition at line 70 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 70 of file InttVertexFinder.cc
References Fun4AllReturnCodes::ABORTEVENT, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), m_inttvertexmap, and PHWHERE.
Referenced by InitRun().
|
inlineoverridevirtual |
end of process
Reimplemented from SubsysReco.
Definition at line 30 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 30 of file InttVertexFinder.h
|
overridevirtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 41 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 41 of file InttVertexFinder.cc
References Fun4AllReturnCodes::EVENT_OK, and h_zvtxseed_.
|
overridevirtual |
run initialization
Reimplemented from SubsysReco.
Definition at line 49 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 49 of file InttVertexFinder.cc
References Fun4AllReturnCodes::ABORTEVENT, createNodes(), Fun4AllReturnCodes::EVENT_OK, Fun4AllBase::Verbosity(), xbeam_, and ybeam_.
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 99 of file InttVertexFinder.cc.
View newest version in sPHENIX GitHub at line 99 of file InttVertexFinder.cc
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::ABORTRUN, calculateZvertex(), Fun4AllReturnCodes::EVENT_OK, InttVertexMap::insert(), m_clusterlist, m_inttvertexmap, m_tGeometry, PHWHERE, and Fun4AllBase::Verbosity().
Definition at line 32 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 32 of file InttVertexFinder.h
References ambiguity_solver_full_chain::x, xbeam_, y, and ybeam_.
|
private |
Definition at line 48 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 48 of file InttVertexFinder.h
Referenced by calculateZvertex(), Init(), and ~InttVertexFinder().
|
private |
Definition at line 46 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 46 of file InttVertexFinder.h
Referenced by calculateZvertex(), and process_event().
|
private |
Definition at line 44 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 44 of file InttVertexFinder.h
Referenced by createNodes(), and process_event().
|
private |
Definition at line 45 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 45 of file InttVertexFinder.h
Referenced by calculateZvertex(), and process_event().
|
private |
Definition at line 52 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 52 of file InttVertexFinder.h
Referenced by calculateZvertex(), InitRun(), and setBeamCenter().
|
private |
Definition at line 53 of file InttVertexFinder.h.
View newest version in sPHENIX GitHub at line 53 of file InttVertexFinder.h
Referenced by calculateZvertex(), InitRun(), and setBeamCenter().