ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Clusterizer for the MVTX. More...
#include <coresoftware/blob/master/offline/packages/mvtx/MvtxClusterizer.h>
Public Types | |
typedef std::pair< unsigned int, unsigned int > | pixel |
Public Member Functions | |
MvtxClusterizer (const std::string &name="MvtxClusterizer") | |
~MvtxClusterizer () 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 | SetZClustering (const bool make_z_clustering) |
option to turn off z-dimension clustering | |
bool | GetZClustering () const |
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 | |
bool | are_adjacent (const std::pair< TrkrDefs::hitkey, TrkrHit * > &lhs, const std::pair< TrkrDefs::hitkey, TrkrHit * > &rhs) |
void | ClusterMvtx (PHCompositeNode *topNode) |
void | PrintClusters (PHCompositeNode *topNode) |
Private Attributes | |
TrkrHitSetContainer * | m_hits |
TrkrClusterContainer * | m_clusterlist |
TrkrClusterHitAssoc * | m_clusterhitassoc |
bool | m_makeZClustering |
Additional Inherited Members | |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Clusterizer for the MVTX.
Definition at line 25 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 25 of file MvtxClusterizer.h
typedef std::pair<unsigned int, unsigned int> MvtxClusterizer::pixel |
Definition at line 28 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 28 of file MvtxClusterizer.h
MvtxClusterizer::MvtxClusterizer | ( | const std::string & | name = "MvtxClusterizer" | ) |
Definition at line 88 of file MvtxClusterizer.cc.
View newest version in sPHENIX GitHub at line 88 of file MvtxClusterizer.cc
|
inlineoverride |
Definition at line 31 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 31 of file MvtxClusterizer.h
|
private |
Definition at line 61 of file MvtxClusterizer.cc.
View newest version in sPHENIX GitHub at line 61 of file MvtxClusterizer.cc
References MvtxDefs::getCol(), and MvtxDefs::getRow().
Referenced by ClusterMvtx().
|
private |
Take the rphi and z uncertainty of the cluster
All silicon surfaces have a 1-1 map to hitsetkey. So set subsurface key to 0
Definition at line 207 of file MvtxClusterizer.cc.
View newest version in sPHENIX GitHub at line 207 of file MvtxClusterizer.cc
References TrkrClusterHitAssoc::addAssoc(), TrkrClusterContainer::addCluster(), are_adjacent(), col, e, g4zmq::exit(), G, MvtxDefs::genClusKey(), MvtxDefs::getCol(), TrkrHitSet::getHits(), TrkrHitSet::getHitSetKey(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getLayer(), PHG4CylinderGeomContainer::GetLayerGeom(), MvtxDefs::getRow(), PHObject::identify(), TrkrHitSet::identify(), G4TTL::layer, BTOF::length, m_clusterhitassoc, m_clusterlist, m_hits, TrkrDefs::mvtxId, MATSCAN::phibins, square(), and Fun4AllBase::Verbosity().
Referenced by process_event().
|
inlineoverridevirtual |
end of process
Reimplemented from SubsysReco.
Definition at line 43 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 43 of file MvtxClusterizer.h
|
inline |
Definition at line 50 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 50 of file MvtxClusterizer.h
References m_makeZClustering.
|
inlineoverridevirtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 34 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 34 of file MvtxClusterizer.h
|
overridevirtual |
run initialization
Reimplemented from SubsysReco.
Definition at line 97 of file MvtxClusterizer.cc.
View newest version in sPHENIX GitHub at line 97 of file MvtxClusterizer.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), m_makeZClustering, PHWHERE, and Fun4AllBase::Verbosity().
|
private |
Definition at line 412 of file MvtxClusterizer.cc.
View newest version in sPHENIX GitHub at line 412 of file MvtxClusterizer.cc
References TrkrClusterContainer::identify(), TrkrClusterContainer::size(), and Fun4AllBase::Verbosity().
Referenced by process_event().
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 173 of file MvtxClusterizer.cc.
View newest version in sPHENIX GitHub at line 173 of file MvtxClusterizer.cc
References Fun4AllReturnCodes::ABORTRUN, ClusterMvtx(), Fun4AllReturnCodes::EVENT_OK, m_clusterhitassoc, m_clusterlist, m_hits, PHWHERE, and PrintClusters().
|
inline |
option to turn off z-dimension clustering
Definition at line 46 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 46 of file MvtxClusterizer.h
References m_makeZClustering.
|
private |
Definition at line 66 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 66 of file MvtxClusterizer.h
Referenced by ClusterMvtx(), and process_event().
|
private |
Definition at line 64 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 64 of file MvtxClusterizer.h
Referenced by ClusterMvtx(), and process_event().
|
private |
Definition at line 63 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 63 of file MvtxClusterizer.h
Referenced by ClusterMvtx(), and process_event().
|
private |
Definition at line 71 of file MvtxClusterizer.h.
View newest version in sPHENIX GitHub at line 71 of file MvtxClusterizer.h
Referenced by GetZClustering(), InitRun(), and SetZClustering().