ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
jet reco with user def inputs and algos More...
#include <coresoftware/blob/master/simulation/g4simulation/g4jets/JetReco.h>
Public Member Functions | |
JetReco (const std::string &name="JetReco") | |
~JetReco () 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 | add_input (JetInput *input) |
void | add_algo (JetAlgo *algo, std::string output) |
void | set_algo_node (const std::string &algonode) |
void | set_input_node (const std::string &inputnode) |
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) |
void | FillJetNode (PHCompositeNode *topNode, int ialgo, std::vector< Jet * > jets) |
Private Attributes | |
std::vector< JetInput * > | _inputs |
std::vector< JetAlgo * > | _algos |
std::string | _algonode |
std::string | _inputnode |
std::vector< std::string > | _outputs |
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") | |
jet reco with user def inputs and algos
This module can be used to reconstruct truth jets and will get me started on filling some jet nodes and getting source material for jet evaluation
Definition at line 31 of file JetReco.h.
View newest version in sPHENIX GitHub at line 31 of file JetReco.h
JetReco::JetReco | ( | const std::string & | name = "JetReco" | ) |
Definition at line 31 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 31 of file JetReco.cc
|
override |
Definition at line 41 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 41 of file JetReco.cc
Definition at line 43 of file JetReco.h.
View newest version in sPHENIX GitHub at line 43 of file JetReco.h
References _algos, and _outputs.
Referenced by Jet_FwdReco(), Jet_Reco(), and ParticleFlow().
Definition at line 42 of file JetReco.h.
View newest version in sPHENIX GitHub at line 42 of file JetReco.h
References _inputs.
Referenced by Jet_FwdReco(), Jet_Reco(), and ParticleFlow().
|
private |
Definition at line 114 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 114 of file JetReco.cc
References _algonode, _inputnode, _outputs, Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 109 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 109 of file JetReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 156 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 156 of file JetReco.cc
References _algos, _inputs, _outputs, g4zmq::exit(), PHTypedNodeIterator< T >::find(), PHDataNode< T >::getData(), JetMap::insert(), JetMap::insert_src(), PHWHERE, JetMap::set_algo(), and JetMap::set_par().
Referenced by process_event().
|
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 50 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 50 of file JetReco.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 55 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 55 of file JetReco.cc
References _algos, _inputs, CreateNodes(), and Fun4AllBase::Verbosity().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 70 of file JetReco.cc.
View newest version in sPHENIX GitHub at line 70 of file JetReco.cc
References _algos, _inputs, Fun4AllReturnCodes::EVENT_OK, FillJetNode(), ipart, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 49 of file JetReco.h.
View newest version in sPHENIX GitHub at line 49 of file JetReco.h
References _algonode.
Referenced by Jet_FwdReco(), Jet_Reco(), and ParticleFlow().
|
inline |
Definition at line 50 of file JetReco.h.
View newest version in sPHENIX GitHub at line 50 of file JetReco.h
References _inputnode.
Referenced by Jet_FwdReco(), Jet_Reco(), and ParticleFlow().
|
private |
Definition at line 58 of file JetReco.h.
View newest version in sPHENIX GitHub at line 58 of file JetReco.h
Referenced by CreateNodes(), and set_algo_node().
|
private |
Definition at line 57 of file JetReco.h.
View newest version in sPHENIX GitHub at line 57 of file JetReco.h
Referenced by add_algo(), FillJetNode(), InitRun(), process_event(), and ~JetReco().
|
private |
Definition at line 59 of file JetReco.h.
View newest version in sPHENIX GitHub at line 59 of file JetReco.h
Referenced by CreateNodes(), and set_input_node().
|
private |
Definition at line 56 of file JetReco.h.
View newest version in sPHENIX GitHub at line 56 of file JetReco.h
Referenced by add_input(), FillJetNode(), InitRun(), process_event(), and ~JetReco().
|
private |
Definition at line 60 of file JetReco.h.
View newest version in sPHENIX GitHub at line 60 of file JetReco.h
Referenced by add_algo(), CreateNodes(), FillJetNode(), and ~JetReco().