Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/HF-Jet/HFMLTrigger/HFMLTriggerInterface.h>
Public Member Functions | |
HFMLTriggerInterface (std::string filename) | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
double | get_eta_max () const |
void | set_eta_max (double etaMax) |
double | get_eta_min () const |
void | set_eta_min (double etaMin) |
int | get_embedding_id () const |
void | set_embedding_id (int id) |
HFMLTriggerInterface (std::string filename) | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
double | get_eta_max () const |
void | set_eta_max (double etaMax) |
double | get_eta_min () const |
void | set_eta_min (double etaMin) |
int | get_embedding_id () const |
void | set_embedding_id (int id) |
int | load_nodes (PHCompositeNode *topNode) |
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 Attributes | |
int | _ievent |
TFile * | _f |
std::fstream | m_jsonOut |
std::string | _foutname |
double | _eta_min |
double | _eta_max |
int | _embedding_id |
unsigned int | _nlayers_maps |
SvtxEvalStack * | _svtxevalstack |
SvtxHitMap * | m_hitMap |
PHG4CylinderGeomContainer * | m_Geoms |
PHG4TruthInfoContainer * | m_truthInfo |
PdbParameterMap * | m_Flags |
TH2F * | m_hitStaveLayer |
TH2F * | m_hitModuleHalfStave |
TH2F * | m_hitChipModule |
TH3F * | m_hitLayerMap |
TH3F * | m_hitPixelPhiMap |
TH3F * | m_hitPixelPhiMapHL |
TH3F * | m_hitPixelZMap |
TrkrHitSetContainer * | m_hitsets |
PHHepMCGenEventMap * | m_GenEventMap |
PHG4HitContainer * | m_g4hits_mvtx |
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 30 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 30 of file HFMLTriggerInterface.h
HFMLTriggerInterface::HFMLTriggerInterface | ( | std::string | filename | ) |
Definition at line 68 of file HFMLTriggerInterface.C.
View newest version in sPHENIX GitHub at line 68 of file HFMLTriggerInterface.C
HFMLTriggerInterface::HFMLTriggerInterface | ( | std::string | filename | ) |
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 504 of file HFMLTriggerInterface.C.
View newest version in sPHENIX GitHub at line 504 of file HFMLTriggerInterface.C
References _f, _foutname, Fun4AllReturnCodes::EVENT_OK, and m_jsonOut.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
|
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 69 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 69 of file HFMLTriggerInterface.h
References _embedding_id.
|
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 74 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 74 of file HFMLTriggerInterface.h
References _embedding_id.
|
inline |
Definition at line 41 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 41 of file HFMLTriggerInterface.h
References _eta_max.
|
inline |
Definition at line 46 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 46 of file HFMLTriggerInterface.h
References _eta_max.
|
inline |
Definition at line 53 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 53 of file HFMLTriggerInterface.h
References _eta_min.
|
inline |
Definition at line 58 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 58 of file HFMLTriggerInterface.h
References _eta_min.
|
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 92 of file HFMLTriggerInterface.C.
View newest version in sPHENIX GitHub at line 92 of file HFMLTriggerInterface.C
References _f, _foutname, _ievent, Fun4AllReturnCodes::EVENT_OK, m_hitChipModule, m_hitLayerMap, m_hitModuleHalfStave, m_hitPixelPhiMap, m_hitPixelPhiMapHL, m_hitPixelZMap, m_hitStaveLayer, m_jsonOut, and out.
|
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.
|
virtual |
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 128 of file HFMLTriggerInterface.C.
View newest version in sPHENIX GitHub at line 128 of file HFMLTriggerInterface.C
References Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, m_Flags, m_Geoms, m_hitMap, m_truthInfo, and PHWHERE.
|
virtual |
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.
int HFMLTriggerInterface::load_nodes | ( | PHCompositeNode * | topNode | ) |
Definition at line 526 of file HFMLTriggerInterface.C.
View newest version in sPHENIX GitHub at line 526 of file HFMLTriggerInterface.C
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, m_g4hits_mvtx, m_GenEventMap, m_hitsets, and PHWHERE.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 160 of file HFMLTriggerInterface.C.
View newest version in sPHENIX GitHub at line 160 of file HFMLTriggerInterface.C
References _embedding_id, _ievent, _nlayers_maps, _svtxevalstack, Fun4AllReturnCodes::ABORTRUN, SvtxClusterEval::all_clusters_from(), assert, Fun4AllReturnCodes::EVENT_OK, material_mapping_optimisation::format, PHHepMCGenEventMap::get(), PHG4Cell::get_chip_index(), SvtxEvalStack::get_cluster_eval(), PHHepMCGenEvent::get_collision_vertex(), PHG4Cell::get_half_stave_index(), SvtxEvalStack::get_hit_eval(), PdbParameterMap::get_iparam_iters(), PHG4Cell::get_module_index(), PHG4Particle::get_pid(), PHG4Cell::get_pixel_index(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4Cell::get_stave_index(), PHG4Particle::get_track_id(), PHHepMCGenEvent::getEvent(), PHG4CylinderGeomContainer::GetLayerGeom(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), hitID, PHHepMCGenEventMap::identify(), gen_gtest_pred_impl::Iter(), layer, m_Flags, m_Geoms, m_hitChipModule, m_hitLayerMap, m_hitMap, m_hitModuleHalfStave, m_hitPixelPhiMap, m_hitPixelPhiMapHL, m_hitPixelZMap, m_hitStaveLayer, m_jsonOut, m_truthInfo, perf_headwind::name, SvtxEvalStack::next_event(), PHWHERE, SvtxEvalStack::set_strict(), SvtxEvalStack::set_verbosity(), str, testing::Value(), Fun4AllBase::Verbosity(), writer, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
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 76 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 76 of file HFMLTriggerInterface.h
References _embedding_id, and train_ambiguity_solver::id.
|
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 81 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 81 of file HFMLTriggerInterface.h
References _embedding_id, and train_ambiguity_solver::id.
|
inline |
Definition at line 47 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 47 of file HFMLTriggerInterface.h
References _eta_max.
|
inline |
Definition at line 52 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 52 of file HFMLTriggerInterface.h
References _eta_max.
|
inline |
Definition at line 59 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 59 of file HFMLTriggerInterface.h
References _eta_min.
|
inline |
Definition at line 64 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 64 of file HFMLTriggerInterface.h
References _eta_min.
|
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 93 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 93 of file HFMLTriggerInterface.h
Referenced by get_embedding_id(), process_event(), and set_embedding_id().
|
private |
Definition at line 87 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 87 of file HFMLTriggerInterface.h
Referenced by get_eta_max(), and set_eta_max().
|
private |
Definition at line 86 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 86 of file HFMLTriggerInterface.h
Referenced by get_eta_min(), and set_eta_min().
|
private |
Definition at line 81 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 81 of file HFMLTriggerInterface.h
|
private |
Definition at line 84 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 84 of file HFMLTriggerInterface.h
Referenced by End(), HFMLTriggerInterface(), and Init().
|
private |
Definition at line 79 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 79 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 95 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 95 of file HFMLTriggerInterface.h
Referenced by process_event().
|
private |
Definition at line 98 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 98 of file HFMLTriggerInterface.h
Referenced by process_event().
|
private |
Definition at line 102 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 102 of file HFMLTriggerInterface.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 111 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 111 of file HFMLTriggerInterface.h
Referenced by load_nodes().
|
private |
Definition at line 109 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 109 of file HFMLTriggerInterface.h
Referenced by load_nodes().
|
private |
Definition at line 100 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 100 of file HFMLTriggerInterface.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 106 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 106 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 108 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 108 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 99 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 99 of file HFMLTriggerInterface.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 105 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 105 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 109 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 109 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 110 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 110 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 111 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 111 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 107 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 107 of file HFMLTriggerInterface.h
Referenced by load_nodes().
|
private |
Definition at line 104 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 104 of file HFMLTriggerInterface.h
Referenced by Init(), and process_event().
|
private |
Definition at line 82 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 82 of file HFMLTriggerInterface.h
Referenced by End(), Init(), and process_event().
|
private |
Definition at line 101 of file HFMLTriggerInterface.h.
View newest version in sPHENIX GitHub at line 101 of file HFMLTriggerInterface.h
Referenced by InitRun(), and process_event().