Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EMCal-analysis/DirectPhoton/DirectPhotonPythia.h>
Public Member Functions | |
DirectPhotonPythia (std::string filename) | |
int | Init (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
float | deltaR (float eta1, float eta2, float phi1, float phi2) |
double | get_eta_max () const |
void | set_eta_max (double etaMax) |
double | get_eta_min () const |
void | set_eta_min (double etaMin) |
double | get_pt_max () const |
void | set_pt_max (double ptMax) |
double | get_pt_min () const |
void | set_pt_min (double ptMin) |
void | set_rejection_action (int action) |
int | get_embedding_id () const |
void | set_embedding_id (int id) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | InitRun (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 Member Functions | |
int | parton_tagging (Jet *jet, HepMC::GenEvent *, const double match_radius) |
tag jet flavor by parton matching, like PRL 113, 132301 (2014) | |
int | hadron_tagging (Jet *jet, HepMC::GenEvent *, const double match_radius) |
tag jet flavor by hadron matching, like MIE proposal | |
Private Attributes | |
bool | _verbose |
int | _ievent |
int | _total_pass |
TFile * | _f |
TH1D * | _h1 |
TH2D * | _h2 |
TH2D * | _h2all |
TH2D * | _h2_b |
TH2D * | _h2_c |
TNtuple * | _ntp_gamma |
std::string | _foutname |
int | _flavor |
int | _maxevent |
double | _pt_min |
double | _pt_max |
double | _eta_min |
double | _eta_max |
std::string | _jet_name |
int | _rejection_action |
action to take if no jet fitting _flavor requirement found. Action defined in <fun4all/Fun4AllReturnCodes.h> | |
int | _embedding_id |
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 25 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 25 of file DirectPhotonPythia.h
DirectPhotonPythia::DirectPhotonPythia | ( | std::string | filename | ) |
Definition at line 32 of file DirectPhotonPythia.C.
View newest version in sPHENIX GitHub at line 32 of file DirectPhotonPythia.C
References _eta_max, _eta_min, _foutname, _pt_max, _pt_min, _rejection_action, Fun4AllReturnCodes::DISCARDEVENT, and filename.
|
inline |
Definition at line 40 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 40 of file DirectPhotonPythia.h
References INTTVtxZ::dphi.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 128 of file DirectPhotonPythia.C.
View newest version in sPHENIX GitHub at line 128 of file DirectPhotonPythia.C
References _f, _total_pass, verbosity, and Fun4AllBase::VERBOSITY_SOME.
|
inline |
The embedding ID for the HepMC subevent to be analyzed. embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 115 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 115 of file DirectPhotonPythia.h
References _embedding_id.
|
inline |
Definition at line 55 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 55 of file DirectPhotonPythia.h
References _eta_max.
|
inline |
Definition at line 67 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 67 of file DirectPhotonPythia.h
References _eta_min.
|
inline |
Definition at line 79 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 79 of file DirectPhotonPythia.h
References _pt_max.
|
inline |
Definition at line 91 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 91 of file DirectPhotonPythia.h
References _pt_min.
|
private |
tag jet flavor by hadron matching, like MIE proposal
|
virtual |
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 48 of file DirectPhotonPythia.C.
View newest version in sPHENIX GitHub at line 48 of file DirectPhotonPythia.C
References _f, _foutname, _h1, _h2, _h2_b, _h2_c, _h2all, _ievent, _ntp_gamma, _total_pass, and _verbose.
|
private |
tag jet flavor by parton matching, like PRL 113, 132301 (2014)
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 72 of file DirectPhotonPythia.C.
View newest version in sPHENIX GitHub at line 72 of file DirectPhotonPythia.C
References _embedding_id, _h1, _h2, _ievent, _ntp_gamma, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::ABORTRUN, eta, Fill(), PHHepMCGenEventMap::get(), PHHepMCGenEvent::getEvent(), PHHepMCGenEventMap::identify(), merge_hashes::p, ActsTests::PropagationDatasets::phi, PHWHERE, and physmon_track_finding_ttbar::pt.
|
inline |
The embedding ID for the HepMC subevent to be analyzed. embedding ID for the event positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 122 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 122 of file DirectPhotonPythia.h
References _embedding_id, and train_ambiguity_solver::id.
|
inline |
Definition at line 61 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 61 of file DirectPhotonPythia.h
References _eta_max.
|
inline |
Definition at line 73 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 73 of file DirectPhotonPythia.h
References _eta_min.
|
inline |
Definition at line 85 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 85 of file DirectPhotonPythia.h
References _pt_max.
|
inline |
Definition at line 97 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 97 of file DirectPhotonPythia.h
References _pt_min.
|
inline |
action to take if no jet fitting _flavor requirement found. Action defined in <fun4all/Fun4AllReturnCodes.h> Default action is DISCARDEVENT for DST level filtering, one can further choose ABORTEVENT to use it as processing level filtering
Definition at line 105 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 105 of file DirectPhotonPythia.h
References _rejection_action, and parse_cmake_options::action.
|
private |
The embedding ID for the HepMC subevent to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 166 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 166 of file DirectPhotonPythia.h
Referenced by get_embedding_id(), process_event(), and set_embedding_id().
|
private |
Definition at line 156 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 156 of file DirectPhotonPythia.h
Referenced by DirectPhotonPythia(), get_eta_max(), and set_eta_max().
|
private |
Definition at line 155 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 155 of file DirectPhotonPythia.h
Referenced by DirectPhotonPythia(), get_eta_min(), and set_eta_min().
|
private |
Definition at line 138 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 138 of file DirectPhotonPythia.h
|
private |
Definition at line 149 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 149 of file DirectPhotonPythia.h
|
private |
Definition at line 147 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 147 of file DirectPhotonPythia.h
Referenced by DirectPhotonPythia(), and Init().
|
private |
Definition at line 140 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 140 of file DirectPhotonPythia.h
Referenced by Init(), and process_event().
|
private |
Definition at line 141 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 141 of file DirectPhotonPythia.h
Referenced by Init(), and process_event().
|
private |
Definition at line 143 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 143 of file DirectPhotonPythia.h
Referenced by Init().
|
private |
Definition at line 144 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 144 of file DirectPhotonPythia.h
Referenced by Init().
|
private |
Definition at line 142 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 142 of file DirectPhotonPythia.h
Referenced by Init().
|
private |
Definition at line 135 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 135 of file DirectPhotonPythia.h
Referenced by Init(), and process_event().
|
private |
Definition at line 158 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 158 of file DirectPhotonPythia.h
|
private |
Definition at line 150 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 150 of file DirectPhotonPythia.h
|
private |
Definition at line 145 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 145 of file DirectPhotonPythia.h
Referenced by Init(), and process_event().
|
private |
Definition at line 153 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 153 of file DirectPhotonPythia.h
Referenced by DirectPhotonPythia(), get_pt_max(), and set_pt_max().
|
private |
Definition at line 152 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 152 of file DirectPhotonPythia.h
Referenced by DirectPhotonPythia(), get_pt_min(), and set_pt_min().
|
private |
action to take if no jet fitting _flavor requirement found. Action defined in <fun4all/Fun4AllReturnCodes.h>
Definition at line 161 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 161 of file DirectPhotonPythia.h
Referenced by DirectPhotonPythia(), and set_rejection_action().
|
private |
Definition at line 136 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 136 of file DirectPhotonPythia.h
|
private |
Definition at line 133 of file DirectPhotonPythia.h.
View newest version in sPHENIX GitHub at line 133 of file DirectPhotonPythia.h
Referenced by Init().