Analysis Software
Documentation for sPHENIX simulation software
|
Subtracts reco jets using multiplicity method. More...
#include <analysis/blob/master/JS-Jet/JetMultSub/src/JetMultSub.h>
Public Member Functions | |
JetMultSub (const std::string &name="JetMultSub") | |
~JetMultSub () override | |
void | setEtaRange (double low, double high) |
void | setPtRange (double low, double high) |
void | add_reco_input (const std::string &recoinput) |
void | add_kt_input (const std::string &ktinput) |
void | set_output_name (const std::string &outputname) |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | ResetEvent (PHCompositeNode *topNode) override |
Clean up after each event. | |
int | EndRun (const int runnumber) override |
Called at the end of each run. | |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
int | Reset (PHCompositeNode *) override |
Reset. | |
void | Print (const std::string &what="ALL") const override |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
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 | CreateNode (PHCompositeNode *topNode) |
private methods | |
float | EstimateRho (PHCompositeNode *topNode) |
float | GetMultiplicityCorrection (float pt) |
Private Attributes | |
std::string | m_reco_input |
std::string | m_kt_input |
std::string | m_subtracted_output |
std::pair< double, double > | m_etaRange |
std::pair< double, double > | m_ptRange |
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") | |
Subtracts reco jets using multiplicity method.
Definition at line 16 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 16 of file JetMultSub.h
JetMultSub::JetMultSub | ( | const std::string & | name = "JetMultSub" | ) |
Definition at line 53 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 53 of file JetMultSub.cc
|
override |
Definition at line 66 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 66 of file JetMultSub.cc
|
inline |
Definition at line 39 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 39 of file JetMultSub.h
References m_kt_input.
Referenced by Fun4All_JetSub().
|
inline |
Definition at line 38 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 38 of file JetMultSub.h
References m_reco_input.
Referenced by Fun4All_JetSub().
|
private |
private methods
Definition at line 199 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 199 of file JetMultSub.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), m_subtracted_output, PHWHERE, and Fun4AllBase::Verbosity().
Referenced by InitRun().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 169 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 169 of file JetMultSub.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
Definition at line 162 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 162 of file JetMultSub.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 246 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 246 of file JetMultSub.cc
References JetMap::begin(), JetMap::end(), eta, Jet::get_eta(), Jet::get_id(), Jet::get_pt(), m_etaRange, m_kt_input, physmon_track_finding_ttbar::pt, JetMap::size(), Jet::size_comp(), Acts::Experimental::detail::BlueprintHelper::sort(), and Fun4AllBase::Verbosity().
Referenced by process_event().
|
private |
Definition at line 342 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 342 of file JetMultSub.cc
References i, and Fun4AllBase::Verbosity().
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 73 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 73 of file JetMultSub.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 81 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 81 of file JetMultSub.cc
References CreateNode(), and Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Definition at line 188 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 188 of file JetMultSub.cc
References Fun4AllBase::Verbosity().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 89 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 89 of file JetMultSub.cc
References Fun4AllReturnCodes::ABORTRUN, JetMap::begin(), JetMap::end(), EstimateRho(), Fun4AllReturnCodes::EVENT_OK, Jet::get_e(), Jet::get_eta(), Jet::get_phi(), Jet::get_pt(), Jet::get_px(), Jet::get_py(), Jet::get_pz(), GetMultiplicityCorrection(), m_reco_input, m_subtracted_output, rho, Jet::set_e(), Jet::set_px(), Jet::set_py(), Jet::set_pz(), Jet::size_comp(), and Fun4AllBase::Verbosity().
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
Definition at line 177 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 177 of file JetMultSub.cc
References Fun4AllReturnCodes::EVENT_OK, and Fun4AllBase::Verbosity().
|
overridevirtual |
Clean up after each event.
Reimplemented from SubsysReco.
Definition at line 155 of file JetMultSub.cc.
View newest version in sPHENIX GitHub at line 155 of file JetMultSub.cc
References Fun4AllReturnCodes::EVENT_OK.
|
inline |
Definition at line 41 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 41 of file JetMultSub.h
References m_subtracted_output.
Referenced by Fun4All_JetSub().
Definition at line 26 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 26 of file JetMultSub.h
References m_etaRange.
Referenced by Fun4All_JetSub().
Definition at line 31 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 31 of file JetMultSub.h
References m_ptRange.
Referenced by Fun4All_JetSub().
Definition at line 61 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 61 of file JetMultSub.h
Referenced by EstimateRho(), and setEtaRange().
|
private |
Definition at line 59 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 59 of file JetMultSub.h
Referenced by add_kt_input(), and EstimateRho().
Definition at line 62 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 62 of file JetMultSub.h
Referenced by setPtRange().
|
private |
Definition at line 58 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 58 of file JetMultSub.h
Referenced by add_reco_input(), and process_event().
|
private |
Definition at line 60 of file JetMultSub.h.
View newest version in sPHENIX GitHub at line 60 of file JetMultSub.h
Referenced by CreateNode(), process_event(), and set_output_name().