Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/jetbase/JetProbeMaker.h>
Classes | |
class | Deleter |
Public Member Functions | |
JetProbeMaker (const std::string &name="JetProbeMaker") | |
~JetProbeMaker () override | |
int | process_event (PHCompositeNode *) override |
int | InitRun (PHCompositeNode *topNode) override |
void | set_abs_eta (float val) |
void | set_eta_min (float val) |
void | set_eta_max (float val) |
void | set_phi_min (float val) |
void | set_phi_max (float val) |
void | set_pt (float val) |
void | set_pt_min (float val) |
void | set_pt_max (float val) |
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. | |
Private Attributes | |
std::unique_ptr< gsl_rng, Deleter > | m_rng |
float | _eta_min = -0.7 |
float | _eta_max = 0.7 |
float | _eta_range = 1.4 |
float | _phi_min = -M_PI |
float | _phi_max = M_PI |
float | _pt_min = 30. |
float | _pt_max = 30. |
float | _pt_range = 0. |
JetContainer * | _jets = nullptr |
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 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 16 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 16 of file JetProbeMaker.h
JetProbeMaker::JetProbeMaker | ( | const std::string & | name = "JetProbeMaker" | ) |
Definition at line 42 of file JetProbeMaker.cc.
View newest version in sPHENIX GitHub at line 42 of file JetProbeMaker.cc
References gsl_rng_set(), m_rng, and seed.
|
inlineoverride |
Definition at line 19 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 19 of file JetProbeMaker.h
|
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 51 of file JetProbeMaker.cc.
View newest version in sPHENIX GitHub at line 51 of file JetProbeMaker.cc
References _jets, Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 20 of file JetProbeMaker.cc.
View newest version in sPHENIX GitHub at line 20 of file JetProbeMaker.cc
References _eta_min, _eta_range, _jets, _pt_min, _pt_range, JetContainer::add_jet(), eta, Fun4AllReturnCodes::EVENT_OK, fjet(), Jetv2::insert_comp(), m_rng, ActsTests::PropagationDatasets::phi, physmon_track_finding_ttbar::pt, Jetv2::set_e(), Jetv2::set_px(), Jetv2::set_py(), and Jetv2::set_pz().
|
inline |
Definition at line 24 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 24 of file JetProbeMaker.h
References _eta_max, _eta_min, and _eta_range.
|
inline |
Definition at line 26 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 26 of file JetProbeMaker.h
References _eta_max, _eta_min, and _eta_range.
|
inline |
Definition at line 25 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 25 of file JetProbeMaker.h
References _eta_max, _eta_min, and _eta_range.
|
inline |
Definition at line 29 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 29 of file JetProbeMaker.h
References _phi_max.
|
inline |
Definition at line 28 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 28 of file JetProbeMaker.h
References _phi_min.
|
inline |
Definition at line 31 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 31 of file JetProbeMaker.h
|
inline |
Definition at line 33 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 33 of file JetProbeMaker.h
|
inline |
Definition at line 32 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 32 of file JetProbeMaker.h
|
private |
Definition at line 46 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 46 of file JetProbeMaker.h
Referenced by set_abs_eta(), set_eta_max(), and set_eta_min().
|
private |
Definition at line 45 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 45 of file JetProbeMaker.h
Referenced by process_event(), set_abs_eta(), set_eta_max(), and set_eta_min().
|
private |
Definition at line 47 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 47 of file JetProbeMaker.h
Referenced by process_event(), set_abs_eta(), set_eta_max(), and set_eta_min().
|
private |
Definition at line 53 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 53 of file JetProbeMaker.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 49 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 49 of file JetProbeMaker.h
Referenced by set_phi_max().
|
private |
Definition at line 48 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 48 of file JetProbeMaker.h
Referenced by set_phi_min().
|
private |
Definition at line 51 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 51 of file JetProbeMaker.h
Referenced by set_pt(), set_pt_max(), and set_pt_min().
|
private |
Definition at line 50 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 50 of file JetProbeMaker.h
Referenced by process_event(), set_pt(), set_pt_max(), and set_pt_min().
|
private |
Definition at line 52 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 52 of file JetProbeMaker.h
Referenced by process_event(), set_pt(), set_pt_max(), and set_pt_min().
|
private |
Definition at line 43 of file JetProbeMaker.h.
View newest version in sPHENIX GitHub at line 43 of file JetProbeMaker.h
Referenced by JetProbeMaker(), and process_event().