Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EICAnalysis/Leptoquarks.h>
Public Member Functions | |
Leptoquarks (std::string filename) | |
int | Init (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
void | set_beam_energies (float beam_electron, float beam_proton) |
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 | |
void | UpdateFinalStateParticle (HepMC::GenParticle *&) |
Private Attributes | |
bool | _verbose |
int | _ievent |
int | _total_pass |
std::string | _foutname |
TFile * | _fout_root |
TNtuple * | _tree_event |
float | _ebeam_E |
float | _pbeam_E |
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 18 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 18 of file Leptoquarks.h
Leptoquarks::Leptoquarks | ( | std::string | filename | ) |
Definition at line 24 of file Leptoquarks.C.
View newest version in sPHENIX GitHub at line 24 of file Leptoquarks.C
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 189 of file Leptoquarks.C.
View newest version in sPHENIX GitHub at line 189 of file Leptoquarks.C
References _fout_root, and _tree_event.
|
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 44 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 44 of file Leptoquarks.h
References _embedding_id.
|
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 37 of file Leptoquarks.C.
View newest version in sPHENIX GitHub at line 37 of file Leptoquarks.C
References _fout_root, _foutname, _ievent, and _tree_event.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 51 of file Leptoquarks.C.
View newest version in sPHENIX GitHub at line 51 of file Leptoquarks.C
References _ievent, _tree_event, Fun4AllReturnCodes::ABORTRUN, TruthTrackerHepMC::FindDaughterParticle(), TruthTrackerHepMC::FindDecayParticles(), TruthTrackerHepMC::FindMissingPt(), TruthTrackerHepMC::FindParticle(), PHWHERE, and TruthTrackerHepMC::set_hepmc_geneventmap().
|
inline |
Definition at line 33 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 33 of file Leptoquarks.h
References _ebeam_E, and _pbeam_E.
Referenced by Fun4All_EICAnalysis_Leptoquarks().
|
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 51 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 51 of file Leptoquarks.h
References _embedding_id, and train_ambiguity_solver::id.
|
private |
Check if this is the final state particle or not- update pointer if needed
Definition at line 200 of file Leptoquarks.C.
View newest version in sPHENIX GitHub at line 200 of file Leptoquarks.C
References gtest_filter_unittest::child.
|
private |
Definition at line 66 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 66 of file Leptoquarks.h
Referenced by set_beam_energies().
|
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 72 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 72 of file Leptoquarks.h
Referenced by get_embedding_id(), and set_embedding_id().
|
private |
Definition at line 60 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 60 of file Leptoquarks.h
|
private |
Definition at line 59 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 59 of file Leptoquarks.h
Referenced by Init().
|
private |
Definition at line 56 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 56 of file Leptoquarks.h
Referenced by Init(), and process_event().
|
private |
Definition at line 67 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 67 of file Leptoquarks.h
Referenced by set_beam_energies().
|
private |
Definition at line 57 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 57 of file Leptoquarks.h
|
private |
Definition at line 63 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 63 of file Leptoquarks.h
Referenced by End(), Init(), and process_event().
|
private |
Definition at line 54 of file Leptoquarks.h.
View newest version in sPHENIX GitHub at line 54 of file Leptoquarks.h