Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PH3DVertexing Class Referenceabstract

Base class for track seeding. More...

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

+ Inheritance diagram for PH3DVertexing:
+ Collaboration diagram for PH3DVertexing:

Public Member Functions

 PH3DVertexing (const std::string &name="PH3DVertexing")
 
 ~PH3DVertexing () override
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
virtual const std::set
< unsigned int > & 
get_seeding_layers () const =0
 
virtual void set_seeding_layers (const unsigned int a[], const unsigned int n)=0
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int End (PHCompositeNode *)
 Called at the end of all processing.
 
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.
 

Protected Member Functions

virtual int Setup (PHCompositeNode *topNode)
 
virtual int Process ()=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

SvtxVertexMap_vertex_map
 
SvtxTrackMap_track_map
 

Private Member Functions

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
}
 

Detailed Description

Base class for track seeding.

Definition at line 30 of file PH3DVertexing.h.

View newest version in sPHENIX GitHub at line 30 of file PH3DVertexing.h

Constructor & Destructor Documentation

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

Definition at line 18 of file PH3DVertexing.cc.

View newest version in sPHENIX GitHub at line 18 of file PH3DVertexing.cc

PH3DVertexing::~PH3DVertexing ( )
inlineoverride

Definition at line 34 of file PH3DVertexing.h.

View newest version in sPHENIX GitHub at line 34 of file PH3DVertexing.h

Member Function Documentation

virtual const std::set<unsigned int>& PH3DVertexing::get_seeding_layers ( ) const
pure virtual
int PH3DVertexing::GetNodes ( PHCompositeNode topNode)
private

fetch node pointers

Definition at line 44 of file PH3DVertexing.cc.

View newest version in sPHENIX GitHub at line 44 of file PH3DVertexing.cc

References _track_map, _vertex_map, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.

Referenced by Setup().

+ Here is the caller graph for this function:

int PH3DVertexing::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 26 of file PH3DVertexing.cc.

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

References Setup().

+ Here is the call graph for this function:

virtual int PH3DVertexing::Process ( )
protectedpure virtual

process event interface for trackers, called in process_event. implemented in derived classes

Referenced by process_event().

+ Here is the caller graph for this function:

int PH3DVertexing::process_event ( PHCompositeNode )
overridevirtual

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

Reimplemented from SubsysReco.

Definition at line 31 of file PH3DVertexing.cc.

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

References Process().

+ Here is the call graph for this function:

virtual void PH3DVertexing::set_seeding_layers ( const unsigned int  a[],
const unsigned int  n 
)
pure virtual
int PH3DVertexing::Setup ( PHCompositeNode topNode)
protectedvirtual

setup interface for trackers, called in InitRun, setup things like pointers to nodes. overrided in derived classes

Definition at line 36 of file PH3DVertexing.cc.

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

References 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

SvtxTrackMap* PH3DVertexing::_track_map
protected

Definition at line 56 of file PH3DVertexing.h.

View newest version in sPHENIX GitHub at line 56 of file PH3DVertexing.h

Referenced by GetNodes().

SvtxVertexMap* PH3DVertexing::_vertex_map
protected

Definition at line 55 of file PH3DVertexing.h.

View newest version in sPHENIX GitHub at line 55 of file PH3DVertexing.h

Referenced by GetNodes().


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