ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
simple truth vertex smearing algorithm More...
#include <coresoftware/blob/master/simulation/g4simulation/g4vertex/GlobalVertexReco.h>
Public Member Functions | |
GlobalVertexReco (const std::string &name="GlobalVertexReco") | |
~GlobalVertexReco () 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. | |
void | set_x_defaults (float xdefault, float xerr) |
void | set_y_defaults (float ydefault, float yerr) |
void | set_t_defaults (float tdefault, float terr) |
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 | |
int | CreateNodes (PHCompositeNode *topNode) |
Private Attributes | |
float | _xdefault |
float | _xerr |
float | _ydefault |
float | _yerr |
float | _tdefault |
float | _terr |
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") | |
simple truth vertex smearing algorithm
Definition at line 23 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 23 of file GlobalVertexReco.h
GlobalVertexReco::GlobalVertexReco | ( | const std::string & | name = "GlobalVertexReco" | ) |
Definition at line 34 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 34 of file GlobalVertexReco.cc
|
override |
Definition at line 45 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 45 of file GlobalVertexReco.cc
|
private |
Definition at line 253 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 253 of file GlobalVertexReco.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 248 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 248 of file GlobalVertexReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
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 47 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 47 of file GlobalVertexReco.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 52 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 52 of file GlobalVertexReco.cc
References CreateNodes(), and Fun4AllBase::Verbosity().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 63 of file GlobalVertexReco.cc.
View newest version in sPHENIX GitHub at line 63 of file GlobalVertexReco.cc
References _tdefault, _terr, _xdefault, _xerr, _ydefault, _yerr, GlobalVertex::BBC, SvtxVertexMap::begin(), SvtxVertexMap::end(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), FLT_MAX, SvtxVertex::get_chisq(), SvtxVertex::get_error(), BbcVertex::get_id(), SvtxVertex::get_id(), SvtxVertex::get_ndof(), SvtxVertex::get_position(), BbcVertex::get_t(), BbcVertex::get_t_err(), BbcVertex::get_z(), SvtxVertex::get_z(), BbcVertex::get_z_err(), GlobalVertex::identify(), GlobalVertexMap::insert(), GlobalVertex::insert_vtxids(), PHWHERE, GlobalVertex::set_chisq(), GlobalVertex::set_error(), GlobalVertex::set_ndof(), GlobalVertex::set_position(), GlobalVertex::set_t(), GlobalVertex::set_t_err(), GlobalVertex::set_x(), GlobalVertex::set_y(), GlobalVertex::set_z(), GlobalVertex::SVTX, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 44 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 44 of file GlobalVertexReco.h
|
inline |
Definition at line 34 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 34 of file GlobalVertexReco.h
|
inline |
Definition at line 39 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 39 of file GlobalVertexReco.h
|
private |
Definition at line 55 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 55 of file GlobalVertexReco.h
Referenced by process_event(), and set_t_defaults().
|
private |
Definition at line 55 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 55 of file GlobalVertexReco.h
Referenced by process_event(), and set_t_defaults().
|
private |
Definition at line 53 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 53 of file GlobalVertexReco.h
Referenced by process_event(), and set_x_defaults().
|
private |
Definition at line 53 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 53 of file GlobalVertexReco.h
Referenced by process_event(), and set_x_defaults().
|
private |
Definition at line 54 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 54 of file GlobalVertexReco.h
Referenced by process_event(), and set_y_defaults().
|
private |
Definition at line 54 of file GlobalVertexReco.h.
View newest version in sPHENIX GitHub at line 54 of file GlobalVertexReco.h
Referenced by process_event(), and set_y_defaults().