ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTrackSetMerging Class Referenceabstract

Base class for track seeding. More...

#include <coresoftware/blob/master/offline/packages/trackreco/PHTrackSetMerging.h>

+ Inheritance diagram for PHTrackSetMerging:
+ Collaboration diagram for PHTrackSetMerging:

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
 
AssocInfoContainer_assoc_container = 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 = INT_MAX - 10
}
 

Detailed Description

Base class for track seeding.

Definition at line 29 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 29 of file PHTrackSetMerging.h

Constructor & Destructor Documentation

PHTrackSetMerging::PHTrackSetMerging ( const std::string &  name = "PHTrackSetMerging")

Definition at line 26 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 26 of file PHTrackSetMerging.cc

PHTrackSetMerging::~PHTrackSetMerging ( )
inlineoverride

Definition at line 33 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 33 of file PHTrackSetMerging.h

Member Function Documentation

int PHTrackSetMerging::CreateNodes ( PHCompositeNode topNode)
private

create new node output pointers

Definition at line 62 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 62 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHTrackSetMerging::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 46 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 46 of file PHTrackSetMerging.cc

References Fun4AllReturnCodes::EVENT_OK.

int PHTrackSetMerging::GetNodes ( PHCompositeNode topNode)
private

fetch node pointers

Definition at line 111 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 111 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().

+ Here is the caller graph for this function:

int PHTrackSetMerging::Init ( PHCompositeNode )
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 31 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 31 of file PHTrackSetMerging.cc

References Fun4AllReturnCodes::EVENT_OK.

int PHTrackSetMerging::InitRun ( PHCompositeNode )
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 36 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 36 of file PHTrackSetMerging.cc

References Setup().

+ Here is the call graph for this function:

virtual int PHTrackSetMerging::Process ( PHCompositeNode topNode)
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().

+ Here is the caller graph for this function:

int PHTrackSetMerging::process_event ( PHCompositeNode )
overridevirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 41 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 41 of file PHTrackSetMerging.cc

References Process().

+ Here is the call graph for this function:

void PHTrackSetMerging::set_track_map_name_in1 ( const std::string &  map_name)
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_in1.

void PHTrackSetMerging::set_track_map_name_in2 ( const std::string &  map_name)
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_in2.

void PHTrackSetMerging::set_track_map_name_out ( const std::string &  map_name)
inline

Definition at line 42 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 42 of file PHTrackSetMerging.h

References _track_map_name_out.

int PHTrackSetMerging::Setup ( PHCompositeNode topNode)

Definition at line 51 of file PHTrackSetMerging.cc.

View newest version in sPHENIX GitHub at line 51 of file PHTrackSetMerging.cc

References CreateNodes(), Fun4AllReturnCodes::EVENT_OK, and GetNodes().

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

AssocInfoContainer* PHTrackSetMerging::_assoc_container = nullptr
protected

Definition at line 62 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 62 of file PHTrackSetMerging.h

TrkrClusterContainer* PHTrackSetMerging::_cluster_map = nullptr
protected

Called in SubsysReco::End.

Definition at line 57 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 57 of file PHTrackSetMerging.h

Referenced by GetNodes().

SvtxTrackMap* PHTrackSetMerging::_track_map_in1 = nullptr
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().

SvtxTrackMap* PHTrackSetMerging::_track_map_in2 = nullptr
protected

Definition at line 60 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 60 of file PHTrackSetMerging.h

Referenced by GetNodes(), and PHTrackSetCopyMerging::Process().

std::string PHTrackSetMerging::_track_map_name_in1 = "SvtxTrackMap1"
protected

Definition at line 64 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 64 of file PHTrackSetMerging.h

Referenced by GetNodes(), PHTrackSetCopyMerging::Process(), and set_track_map_name_in1().

std::string PHTrackSetMerging::_track_map_name_in2 = "SvtxTrackMap2"
protected

Definition at line 65 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 65 of file PHTrackSetMerging.h

Referenced by GetNodes(), PHTrackSetCopyMerging::Process(), and set_track_map_name_in2().

std::string PHTrackSetMerging::_track_map_name_out = "SvtxTrackMapMerged"
protected

Definition at line 66 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 66 of file PHTrackSetMerging.h

Referenced by CreateNodes(), GetNodes(), and set_track_map_name_out().

SvtxTrackMap* PHTrackSetMerging::_track_map_out = nullptr
protected

Definition at line 61 of file PHTrackSetMerging.h.

View newest version in sPHENIX GitHub at line 61 of file PHTrackSetMerging.h

Referenced by CreateNodes(), and GetNodes().

SvtxVertexMap* PHTrackSetMerging::_vertex_map = nullptr
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().


The documentation for this class was generated from the following files: