Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/JS-Jet/HCalJetPhiShift/src/HCalJetPhiShift.h>
Public Member Functions | |
HCalJetPhiShift (const std::string &name="HCalJetPhiShift", const std::string &outputFile="HCalJetPhiShift_test.root") | |
~HCalJetPhiShift () override | |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | ResetEvent (PHCompositeNode *topNode) override |
Clean up internals 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 |
void | SetEventNumber (int event_number) |
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 | FillTTree (PHCompositeNode *topNode) |
Private Attributes | |
std::string | m_outputFileName |
TTree * | m_T |
Output Tree variables. | |
int | m_event |
eventwise quantities | |
int | m_nTow_in |
int | m_nTow_out |
int | m_nTow_emc |
float | m_eta |
float | m_phi |
float | m_e |
float | m_pt |
float | m_vx |
float | m_vy |
float | m_vz |
std::vector< int > | m_id |
towers | |
std::vector< float > | m_eta_in |
std::vector< float > | m_phi_in |
std::vector< float > | m_e_in |
std::vector< int > | m_ieta_in |
std::vector< int > | m_iphi_in |
std::vector< float > | m_eta_out |
std::vector< float > | m_phi_out |
std::vector< float > | m_e_out |
std::vector< int > | m_ieta_out |
std::vector< int > | m_iphi_out |
std::vector< float > | m_eta_emc |
std::vector< float > | m_phi_emc |
std::vector< float > | m_e_emc |
std::vector< int > | m_ieta_emc |
std::vector< int > | m_iphi_emc |
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 15 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 15 of file HCalJetPhiShift.h
HCalJetPhiShift::HCalJetPhiShift | ( | const std::string & | name = "HCalJetPhiShift" , |
const std::string & | outputFile = "HCalJetPhiShift_test.root" |
||
) |
Definition at line 41 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 41 of file HCalJetPhiShift.cc
|
override |
Definition at line 78 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 78 of file HCalJetPhiShift.cc
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 180 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 180 of file HCalJetPhiShift.cc
References PHTFileServer::cd(), Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), m_outputFileName, and m_T.
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
Definition at line 173 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 173 of file HCalJetPhiShift.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 204 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 204 of file HCalJetPhiShift.cc
References Enable::CEMC, TowerInfoContainer::encode_key(), RawTowerDefs::encode_towerid(), Fun4AllReturnCodes::EVENT_OK, PHG4Particle::get_e(), TowerInfo::get_energy(), RawTowerGeom::get_eta(), RawTowerGeom::get_phi(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), TowerInfoContainer::get_tower_at_channel(), PHG4VtxPoint::get_x(), PHG4VtxPoint::get_y(), PHG4VtxPoint::get_z(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), PHG4TruthInfoContainer::GetPrimaryVertexIndex(), PHG4TruthInfoContainer::GetPrimaryVtx(), TowerInfoContainer::getTowerEtaBin(), TowerInfoContainer::getTowerPhiBin(), gpx, gpy, gpz, RawTowerDefs::HCALIN, RawTowerDefs::HCALOUT, m_e, m_e_emc, m_e_in, m_e_out, m_eta, m_eta_emc, m_eta_in, m_eta_out, m_ieta_emc, m_ieta_in, m_ieta_out, m_iphi_emc, m_iphi_in, m_iphi_out, m_nTow_emc, m_nTow_in, m_nTow_out, m_phi, m_phi_emc, m_phi_in, m_phi_out, m_pt, m_T, m_vx, m_vy, m_vz, PHWHERE, and TowerInfoContainer::size().
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 84 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 84 of file HCalJetPhiShift.cc
References Fun4AllReturnCodes::EVENT_OK, PHTFileServer::get(), m_e, m_e_emc, m_e_in, m_e_out, m_eta, m_eta_emc, m_eta_in, m_eta_out, m_event, m_id, m_ieta_emc, m_ieta_in, m_ieta_out, m_iphi_emc, m_iphi_in, m_iphi_out, m_nTow_emc, m_nTow_in, m_nTow_out, m_outputFileName, m_phi, m_phi_emc, m_phi_in, m_phi_out, m_pt, m_T, m_vx, m_vy, m_vz, and PHTFileServer::open().
|
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. A place to book histograms which have to know the run number.
Reimplemented from SubsysReco.
Definition at line 125 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 125 of file HCalJetPhiShift.cc
References 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 198 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 198 of file HCalJetPhiShift.cc
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 132 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 132 of file HCalJetPhiShift.cc
References Fun4AllReturnCodes::EVENT_OK, FillTTree(), and m_event.
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
Definition at line 191 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 191 of file HCalJetPhiShift.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Clean up internals after each event.
Reimplemented from SubsysReco.
Definition at line 144 of file HCalJetPhiShift.cc.
View newest version in sPHENIX GitHub at line 144 of file HCalJetPhiShift.cc
References Fun4AllReturnCodes::EVENT_OK, m_e_emc, m_e_in, m_e_out, m_eta_emc, m_eta_in, m_eta_out, m_id, m_ieta_emc, m_ieta_in, m_ieta_out, m_iphi_emc, m_iphi_in, m_iphi_out, m_nTow_emc, m_nTow_in, m_nTow_out, m_phi_emc, m_phi_in, and m_phi_out.
|
inline |
Definition at line 56 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 56 of file HCalJetPhiShift.h
References m_event.
Referenced by Fun4All_HCalJetPhiShift().
|
private |
Definition at line 74 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 74 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().
|
private |
Definition at line 96 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 96 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 84 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 84 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 90 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 90 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 72 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 72 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().
|
private |
Definition at line 94 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 94 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 82 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 82 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 88 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 88 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
eventwise quantities
Definition at line 68 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 68 of file HCalJetPhiShift.h
Referenced by Init(), process_event(), and SetEventNumber().
|
private |
towers
Definition at line 81 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 81 of file HCalJetPhiShift.h
Referenced by Init(), and ResetEvent().
|
private |
Definition at line 97 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 97 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 85 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 85 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 91 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 91 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 98 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 98 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 86 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 86 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 92 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 92 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 71 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 71 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 69 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 69 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 70 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 70 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 59 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 59 of file HCalJetPhiShift.h
|
private |
Definition at line 73 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 73 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().
|
private |
Definition at line 95 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 95 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 83 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 83 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 89 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 89 of file HCalJetPhiShift.h
Referenced by FillTTree(), Init(), and ResetEvent().
|
private |
Definition at line 75 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 75 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().
|
private |
Output Tree variables.
Definition at line 65 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 65 of file HCalJetPhiShift.h
Referenced by End(), FillTTree(), and Init().
|
private |
Definition at line 76 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 76 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().
|
private |
Definition at line 77 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 77 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().
|
private |
Definition at line 78 of file HCalJetPhiShift.h.
View newest version in sPHENIX GitHub at line 78 of file HCalJetPhiShift.h
Referenced by FillTTree(), and Init().