Analysis Software
Documentation for sPHENIX simulation software
|
Base class for track seeding. More...
#include <coresoftware/blob/master/offline/packages/trackreco/PHTrackSetMerging.h>
Public Member Functions | |
PHTrackSetMerging (const std::string &name="PHTrackSetMerging") | |
~PHTrackSetMerging () 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. | |
int | Setup (PHCompositeNode *topNode) |
void | set_track_map_name_in1 (const std::string &map_name) |
void | set_track_map_name_in2 (const std::string &map_name) |
void | set_track_map_name_out (const std::string &map_name) |
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. | |
Protected Member Functions | |
virtual int | Process (PHCompositeNode *topNode)=0 |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
Protected Attributes | |
TrkrClusterContainer * | _cluster_map = nullptr |
Called in SubsysReco::End. | |
SvtxVertexMap * | _vertex_map = nullptr |
SvtxTrackMap * | _track_map_in1 = nullptr |
SvtxTrackMap * | _track_map_in2 = nullptr |
SvtxTrackMap * | _track_map_out = nullptr |
std::string | _track_map_name_in1 = "SvtxTrackMap1" |
std::string | _track_map_name_in2 = "SvtxTrackMap2" |
std::string | _track_map_name_out = "SvtxTrackMapMerged" |
Private Member Functions | |
int | CreateNodes (PHCompositeNode *topNode) |
create new node output pointers | |
int | GetNodes (PHCompositeNode *topNode) |
fetch node pointers | |
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 } |
Base class for track seeding.
Definition at line 28 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 28 of file PHTrackSetMerging.h
PHTrackSetMerging::PHTrackSetMerging | ( | const std::string & | name = "PHTrackSetMerging" | ) |
Definition at line 24 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 24 of file PHTrackSetMerging.cc
|
inlineoverride |
Definition at line 32 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 32 of file PHTrackSetMerging.h
|
private |
create new node output pointers
Definition at line 60 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 60 of file PHTrackSetMerging.cc
References _track_map_name_out, _track_map_out, Fun4AllReturnCodes::ABORTEVENT, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), PHWHERE, and Fun4AllBase::Verbosity().
Referenced by Setup().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 44 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 44 of file PHTrackSetMerging.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
fetch node pointers
Definition at line 102 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 102 of file PHTrackSetMerging.cc
References _cluster_map, _track_map_in1, _track_map_in2, _track_map_name_in1, _track_map_name_in2, _track_map_name_out, _track_map_out, _vertex_map, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.
Referenced by Setup().
|
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 29 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 29 of file PHTrackSetMerging.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 34 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 34 of file PHTrackSetMerging.cc
References Setup().
|
protectedpure virtual |
setup interface for trackers, called in InitRun, setup things like pointers to nodes. overrided in derived classes process event interface for trackers, called in process_event. implemented in derived classes
Implemented in PHTrackSetCopyMerging.
Referenced by process_event().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 39 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 39 of file PHTrackSetMerging.cc
References Process().
|
inline |
Definition at line 39 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 39 of file PHTrackSetMerging.h
References _track_map_name_in1.
|
inline |
Definition at line 40 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 40 of file PHTrackSetMerging.h
References _track_map_name_in2.
|
inline |
Definition at line 41 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 41 of file PHTrackSetMerging.h
References _track_map_name_out.
int PHTrackSetMerging::Setup | ( | PHCompositeNode * | topNode | ) |
Definition at line 49 of file PHTrackSetMerging.cc.
View newest version in sPHENIX GitHub at line 49 of file PHTrackSetMerging.cc
References CreateNodes(), Fun4AllReturnCodes::EVENT_OK, and GetNodes().
Referenced by InitRun().
|
protected |
Called in SubsysReco::End.
Definition at line 56 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 56 of file PHTrackSetMerging.h
Referenced by GetNodes().
|
protected |
Definition at line 58 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 58 of file PHTrackSetMerging.h
Referenced by GetNodes(), and PHTrackSetCopyMerging::Process().
|
protected |
Definition at line 59 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 59 of file PHTrackSetMerging.h
Referenced by GetNodes(), and PHTrackSetCopyMerging::Process().
|
protected |
Definition at line 62 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 62 of file PHTrackSetMerging.h
Referenced by GetNodes(), PHTrackSetCopyMerging::Process(), and set_track_map_name_in1().
|
protected |
Definition at line 63 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 63 of file PHTrackSetMerging.h
Referenced by GetNodes(), PHTrackSetCopyMerging::Process(), and set_track_map_name_in2().
|
protected |
Definition at line 64 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 64 of file PHTrackSetMerging.h
Referenced by CreateNodes(), GetNodes(), and set_track_map_name_out().
|
protected |
Definition at line 60 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 60 of file PHTrackSetMerging.h
Referenced by CreateNodes(), and GetNodes().
|
protected |
Definition at line 57 of file PHTrackSetMerging.h.
View newest version in sPHENIX GitHub at line 57 of file PHTrackSetMerging.h
Referenced by GetNodes().