ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/tpc/TpcClusterizer.h>
Public Member Functions | |
TpcClusterizer (const std::string &name="TpcClusterizer") | |
~TpcClusterizer () override=default | |
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_sector_fiducial_cut (const double cut) |
void | set_do_hit_association (bool do_assoc) |
void | set_max_cluster_half_size_phi (unsigned short size) |
void | set_max_cluster_half_size_z (unsigned short size) |
void | set_drift_velocity_scale (double value) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
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 | is_in_sector_boundary (int phibin, int sector, PHG4CylinderCellGeom *layergeom) const |
Private Attributes | |
TrkrHitSetContainer * | m_hits = nullptr |
TrkrClusterContainer * | m_clusterlist = nullptr |
TrkrClusterHitAssoc * | m_clusterhitassoc = nullptr |
ActsSurfaceMaps * | m_surfMaps = nullptr |
ActsTrackingGeometry * | m_tGeometry = nullptr |
bool | do_hit_assoc = true |
double | pedestal = 74.4 |
double | SectorFiducialCut = 0.5 |
unsigned short | MaxClusterHalfSizePhi = 3 |
unsigned short | MaxClusterHalfSizeZ = 5 |
double | m_drift_velocity_scale = 1.0 |
drift velocity scale factor | |
double | par0_neg = 0.0503 |
double | par0_pos = -0.0503 |
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 = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 26 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 26 of file TpcClusterizer.h
TpcClusterizer::TpcClusterizer | ( | const std::string & | name = "TpcClusterizer" | ) |
Definition at line 565 of file TpcClusterizer.cc.
View newest version in sPHENIX GitHub at line 565 of file TpcClusterizer.cc
|
overridedefault |
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 820 of file TpcClusterizer.cc.
View newest version in sPHENIX GitHub at line 820 of file TpcClusterizer.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 601 of file TpcClusterizer.cc.
View newest version in sPHENIX GitHub at line 601 of file TpcClusterizer.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.
|
private |
Definition at line 569 of file TpcClusterizer.cc.
View newest version in sPHENIX GitHub at line 569 of file TpcClusterizer.cc
References PHG4CylinderCellGeom::get_phibins(), PHG4CylinderCellGeom::get_radius(), int(), M_PI, and SectorFiducialCut.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 652 of file TpcClusterizer.cc.
View newest version in sPHENIX GitHub at line 652 of file TpcClusterizer.cc
References Fun4AllReturnCodes::ABORTRUN, do_hit_assoc, Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), PHG4CylinderCellGeom::get_phibins(), PHG4CylinderCellGeom::get_zbins(), TrkrClusterHitAssoc::getClusterMap(), TrkrClusterContainer::getClusterMap(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getLayer(), PHG4CylinderCellGeomContainer::GetLayerCellGeom(), TpcDefs::getSectorId(), TpcDefs::getSide(), G4TTL::layer, m_clusterhitassoc, m_clusterlist, m_drift_velocity_scale, m_hits, m_surfMaps, m_tGeometry, MaxClusterHalfSizePhi, MaxClusterHalfSizeZ, par0_neg, par0_pos, pedestal, PHWHERE, printf(), TrkrClusterContainer::size(), TrkrDefs::tpcId, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 37 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 37 of file TpcClusterizer.h
References do_hit_assoc.
|
inline |
Definition at line 41 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 41 of file TpcClusterizer.h
References m_drift_velocity_scale.
|
inline |
Definition at line 38 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 38 of file TpcClusterizer.h
References MaxClusterHalfSizePhi.
|
inline |
Definition at line 39 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 39 of file TpcClusterizer.h
References MaxClusterHalfSizeZ.
|
inline |
Definition at line 36 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 36 of file TpcClusterizer.h
References SectorFiducialCut.
|
private |
Definition at line 52 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 52 of file TpcClusterizer.h
Referenced by process_event(), and set_do_hit_association().
|
private |
Definition at line 48 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 48 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 47 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 47 of file TpcClusterizer.h
Referenced by process_event().
|
private |
drift velocity scale factor
represents the ratio vdrift_measured/vdrift_true it is used to get cluster z from its timebin
Definition at line 63 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 63 of file TpcClusterizer.h
Referenced by process_event(), and set_drift_velocity_scale().
|
private |
Definition at line 46 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 46 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 49 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 49 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 50 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 50 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 55 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 55 of file TpcClusterizer.h
Referenced by process_event(), and set_max_cluster_half_size_phi().
|
private |
Definition at line 56 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 56 of file TpcClusterizer.h
Referenced by process_event(), and set_max_cluster_half_size_z().
|
private |
Definition at line 67 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 67 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 68 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 68 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 53 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 53 of file TpcClusterizer.h
Referenced by process_event().
|
private |
Definition at line 54 of file TpcClusterizer.h.
View newest version in sPHENIX GitHub at line 54 of file TpcClusterizer.h
Referenced by is_in_sector_boundary(), and set_sector_fiducial_cut().