Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/HF-Jet/HFMLTrigger/HFMLTriggerOccupancy.h>
Public Member Functions | |
HFMLTriggerOccupancy (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) |
HFMLTriggerOccupancy (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) |
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 Types | |
enum | { kNCHip = 9 } |
enum | { kNCHip = 9 } |
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 |
TH1F * | m_hNorm |
TH1F * | m_hNChEta |
TH1F * | m_hVertexZ |
TH2F * | m_hitStaveLayer |
TH2F * | m_hitModuleHalfStave |
TH2F * | m_hitChipModule |
TH3F * | m_hitLayerMap |
TH3F * | m_hitPixelPhiMap |
TH3F * | m_hitPixelPhiMapHL |
TH3F * | m_hitPixelZMap |
TH1F * | m_Multiplicity |
TH2F * | m_LayerMultiplicity |
TH3F * | m_LayerChipMultiplicity |
TrkrHitSetContainer * | m_hitsetcont |
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 HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 30 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 96 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 96 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 96 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 96 of file HFMLTriggerOccupancy.h
HFMLTriggerOccupancy::HFMLTriggerOccupancy | ( | std::string | filename | ) |
Definition at line 68 of file HFMLTriggerOccupancy.C.
View newest version in sPHENIX GitHub at line 68 of file HFMLTriggerOccupancy.C
HFMLTriggerOccupancy::HFMLTriggerOccupancy | ( | std::string | filename | ) |
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 429 of file HFMLTriggerOccupancy.C.
View newest version in sPHENIX GitHub at line 429 of file HFMLTriggerOccupancy.C
References _f, _foutname, and Fun4AllReturnCodes::EVENT_OK.
|
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 HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 69 of file HFMLTriggerOccupancy.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 69 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 69 of file HFMLTriggerOccupancy.h
References _embedding_id.
|
inline |
Definition at line 41 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 41 of file HFMLTriggerOccupancy.h
References _eta_max.
|
inline |
Definition at line 41 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 41 of file HFMLTriggerOccupancy.h
References _eta_max.
|
inline |
Definition at line 53 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 53 of file HFMLTriggerOccupancy.h
References _eta_min.
|
inline |
Definition at line 53 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 53 of file HFMLTriggerOccupancy.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 98 of file HFMLTriggerOccupancy.C.
View newest version in sPHENIX GitHub at line 98 of file HFMLTriggerOccupancy.C
References _f, _foutname, _ievent, Fun4AllReturnCodes::EVENT_OK, i, kNCHip, m_hitChipModule, m_hitLayerMap, m_hitModuleHalfStave, m_hitStaveLayer, m_hNChEta, m_hNorm, m_hVertexZ, m_LayerChipMultiplicity, m_LayerMultiplicity, and m_Multiplicity.
|
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 157 of file HFMLTriggerOccupancy.C.
View newest version in sPHENIX GitHub at line 157 of file HFMLTriggerOccupancy.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.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 189 of file HFMLTriggerOccupancy.C.
View newest version in sPHENIX GitHub at line 189 of file HFMLTriggerOccupancy.C
References _ievent, _nlayers_maps, _svtxevalstack, assert, Fun4AllReturnCodes::EVENT_OK, Fill(), PHG4Cell::get_chip_index(), PHG4Cell::get_half_stave_index(), SvtxEvalStack::get_hit_eval(), PHG4Cell::get_module_index(), PHG4Particle::get_pid(), PHG4Cell::get_pixel_index(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4Cell::get_stave_index(), PHG4VtxPoint::get_z(), PHG4CylinderGeomContainer::GetLayerGeom(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), PHG4TruthInfoContainer::GetPrimaryVertexIndex(), PHG4TruthInfoContainer::GetPrimaryVtx(), hitID, gen_gtest_pred_impl::Iter(), kNCHip, layer, m_Geoms, m_hitChipModule, m_hitLayerMap, m_hitMap, m_hitModuleHalfStave, m_hitStaveLayer, m_hNChEta, m_hNorm, m_hVertexZ, m_LayerChipMultiplicity, m_LayerMultiplicity, m_Multiplicity, m_truthInfo, SvtxEvalStack::next_event(), merge_hashes::p, SvtxEvalStack::set_strict(), SvtxEvalStack::set_verbosity(), and Fun4AllBase::Verbosity().
|
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 HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 76 of file HFMLTriggerOccupancy.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 76 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 76 of file HFMLTriggerOccupancy.h
References _embedding_id, and train_ambiguity_solver::id.
|
inline |
Definition at line 47 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 47 of file HFMLTriggerOccupancy.h
References _eta_max.
|
inline |
Definition at line 47 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 47 of file HFMLTriggerOccupancy.h
References _eta_max.
|
inline |
Definition at line 59 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 59 of file HFMLTriggerOccupancy.h
References _eta_min.
|
inline |
Definition at line 59 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 59 of file HFMLTriggerOccupancy.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 HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 93 of file HFMLTriggerOccupancy.h
Referenced by get_embedding_id(), and set_embedding_id().
|
private |
Definition at line 87 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 87 of file HFMLTriggerOccupancy.h
Referenced by get_eta_max(), and set_eta_max().
|
private |
Definition at line 86 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 86 of file HFMLTriggerOccupancy.h
Referenced by get_eta_min(), and set_eta_min().
|
private |
Definition at line 81 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 81 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 84 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 84 of file HFMLTriggerOccupancy.h
Referenced by End(), HFMLTriggerOccupancy(), and Init().
|
private |
Definition at line 79 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 79 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 95 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 95 of file HFMLTriggerOccupancy.h
Referenced by process_event().
|
private |
Definition at line 99 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 99 of file HFMLTriggerOccupancy.h
Referenced by process_event().
|
private |
Definition at line 103 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 103 of file HFMLTriggerOccupancy.h
Referenced by InitRun().
|
private |
Definition at line 101 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 101 of file HFMLTriggerOccupancy.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 111 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 111 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 113 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 113 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 100 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 100 of file HFMLTriggerOccupancy.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 110 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 110 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 114 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 114 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 115 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 115 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 116 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 116 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 100 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 100 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 109 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 109 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 106 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 106 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 105 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 105 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 107 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 107 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 82 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 82 of file HFMLTriggerOccupancy.h
|
private |
Definition at line 120 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 120 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 119 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 119 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 118 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 118 of file HFMLTriggerOccupancy.h
Referenced by Init(), and process_event().
|
private |
Definition at line 102 of file HFMLTriggerOccupancy.h.
View newest version in sPHENIX GitHub at line 102 of file HFMLTriggerOccupancy.h
Referenced by InitRun(), and process_event().