Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/EpFinder/EpFinderEval.h>
Public Member Functions | |
EpFinderEval (const std::string &name="EpFinderEval") | |
int | Init (PHCompositeNode *) |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
void | set_filename (const char *file) |
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 Member Functions | |
void | fill_tree (PHCompositeNode *) |
int | GetNodes (PHCompositeNode *) |
void | sumTowerEnergy (PHCompositeNode *topNode, std::string detName) |
int | GetPhiBin (float tphi, float numPhiDivisions) |
int | GetEtaBin (float teta, float eta_low, float eta_high, float numEtaDivisions) |
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 26 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 26 of file EpFinderEval.h
EpFinderEval::EpFinderEval | ( | const std::string & | name = "EpFinderEval" | ) |
Definition at line 83 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 83 of file EpFinderEval.cc
References _event, _outfile_name, fprimRpFinder, primRpFinder, RpFinder, RpFinderL, and RpFinderR.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 196 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 196 of file EpFinderEval.cc
References _eval_tree_event, _outfile_name, PHTFileServer::cd(), Fun4AllReturnCodes::EVENT_OK, EpFinder::Finish(), fprimRpFinder, PHTFileServer::get(), primRpFinder, RpFinder, RpFinderL, RpFinderR, and rRpFinder.
|
private |
Definition at line 254 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 254 of file EpFinderEval.cc
References _eval_tree_event, _truth_container, PHHepMCGenEventMap::begin(), bimpact, RawTowerDefs::convert_name_to_caloid(), RawTowerDefs::encode_towerid(), femc_phiweighted_rplane_angle, femc_phiweightedandshifted_rplane_angle, femc_raw_rplane_angle, femcL_phiweighted_rplane_angle, femcL_phiweightedandshifted_rplane_angle, femcL_raw_rplane_angle, femcR_phiweighted_rplane_angle, femcR_phiweightedandshifted_rplane_angle, femcR_raw_rplane_angle, FPRIM_ETA_BINS, FPRIM_PHI_BINS, fprim_phi_list, fprim_phiweighted_rplane_angle, fprim_phiweightedandshifted_rplane_angle, fprim_rplane_angle, fprimRpFinder, genevent(), RawTowerGeom::get_column(), RawTower::get_energy(), RawTowerGeom::get_eta(), RawTowerGeom::get_phi(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), RawTowerGeom::get_row(), RawTowerGeomContainer::get_tower_geometry(), GetEtaBin(), PHHepMCGenEvent::getEvent(), GetPhiBin(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), RawTowerContainer::getTower(), RawTowerContainer::getTowers(), i, ambiguity_solver_full_chain::idx, EpHit::ix, EpHit::iy, j, EpHit::nMip, EpHit::phi, PHI_BINS, phi_list, EpInfo::PhiWeightedAndShiftedPsi(), EpInfo::PhiWeightedPsi(), prim_rplane_angle, primRpFinder, EpInfo::RawPsi(), EpFinder::Results(), rfemc_phiweighted_rplane_angle, rfemc_phiweightedandshifted_rplane_angle, rfemc_raw_rplane_angle, RFPRIM_ETA_BINS, rfprim_phi_list, rfprim_phiweighted_rplane_angle, rfprim_phiweightedandshifted_rplane_angle, rfprim_rplane_angle, rfprimRpFinder, RpFinder, RpFinderL, RpFinderR, rphi_list, rplane_angle, rRpFinder, EpHit::samePhi, TOWER_E_CUT, towergeom, and towers.
Referenced by process_event().
|
private |
Definition at line 237 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 237 of file EpFinderEval.cc
Referenced by fill_tree().
|
private |
Definition at line 527 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 527 of file EpFinderEval.cc
References _truth_container, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, PHWHERE, towergeom, and towers.
Referenced by process_event().
|
private |
Definition at line 219 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 219 of file EpFinderEval.cc
References TwoPi.
Referenced by fill_tree().
|
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 100 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 100 of file EpFinderEval.cc
References _eval_tree_event, _event, _outfile_name, bimpact, Fun4AllReturnCodes::EVENT_OK, femc_phiweighted_rplane_angle, femc_phiweightedandshifted_rplane_angle, femc_raw_rplane_angle, femcL_phiweighted_rplane_angle, femcL_phiweightedandshifted_rplane_angle, femcL_raw_rplane_angle, femcR_phiweighted_rplane_angle, femcR_phiweightedandshifted_rplane_angle, femcR_raw_rplane_angle, FPRIM_ETA_BINS, FPRIM_PHI_BINS, fprim_phiweighted_rplane_angle, fprim_phiweightedandshifted_rplane_angle, fprim_rplane_angle, fprimRpFinder, PHTFileServer::get(), PHTFileServer::open(), PHWHERE, prim_rplane_angle, primRpFinder, EpFinder::Report(), rfemc_phiweighted_rplane_angle, rfemc_phiweightedandshifted_rplane_angle, rfemc_raw_rplane_angle, RFPRIM_ETA_BINS, rfprim_phiweighted_rplane_angle, rfprim_phiweightedandshifted_rplane_angle, rfprim_rplane_angle, rfprimRpFinder, RpFinder, RpFinderL, RpFinderR, rplane_angle, rRpFinder, EpFinder::SetMaxTileWeight(), and EpFinder::SetnMipThreshold().
|
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 169 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 169 of file EpFinderEval.cc
References Fun4AllReturnCodes::EVENT_OK.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 182 of file EpFinderEval.cc.
View newest version in sPHENIX GitHub at line 182 of file EpFinderEval.cc
References _event, Fun4AllReturnCodes::EVENT_OK, fill_tree(), and GetNodes().
|
inline |
Definition at line 44 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 44 of file EpFinderEval.h
References _outfile_name, and file.
|
private |
|
private |
Definition at line 68 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 68 of file EpFinderEval.h
Referenced by End(), fill_tree(), and Init().
|
private |
Definition at line 52 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 52 of file EpFinderEval.h
Referenced by EpFinderEval(), Init(), and process_event().
|
private |
Definition at line 49 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 49 of file EpFinderEval.h
Referenced by End(), EpFinderEval(), Init(), and set_filename().
|
private |
Definition at line 100 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 100 of file EpFinderEval.h
Referenced by fill_tree(), and GetNodes().
|
private |
Definition at line 71 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 71 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 98 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 98 of file EpFinderEval.h
|
private |
Definition at line 83 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 83 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 84 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 84 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 82 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 82 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 91 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 91 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 92 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 92 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 90 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 90 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 95 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 95 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 96 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 96 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 94 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 94 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 116 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 116 of file EpFinderEval.h
Referenced by fill_tree().
|
private |
Definition at line 75 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 75 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 76 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 76 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 74 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 74 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 109 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 109 of file EpFinderEval.h
Referenced by End(), EpFinderEval(), fill_tree(), and Init().
|
private |
Definition at line 114 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 114 of file EpFinderEval.h
Referenced by fill_tree().
|
private |
Definition at line 72 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 72 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 108 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 108 of file EpFinderEval.h
Referenced by End(), EpFinderEval(), fill_tree(), and Init().
|
private |
Definition at line 87 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 87 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 88 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 88 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 86 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 86 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 117 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 117 of file EpFinderEval.h
Referenced by fill_tree().
|
private |
Definition at line 79 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 79 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 80 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 80 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 78 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 78 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 110 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 110 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 104 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 104 of file EpFinderEval.h
Referenced by End(), EpFinderEval(), fill_tree(), and Init().
|
private |
Definition at line 106 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 106 of file EpFinderEval.h
Referenced by End(), EpFinderEval(), fill_tree(), and Init().
|
private |
Definition at line 107 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 107 of file EpFinderEval.h
Referenced by End(), EpFinderEval(), fill_tree(), and Init().
|
private |
Definition at line 115 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 115 of file EpFinderEval.h
Referenced by fill_tree().
|
private |
Definition at line 70 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 70 of file EpFinderEval.h
Referenced by fill_tree(), and Init().
|
private |
Definition at line 105 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 105 of file EpFinderEval.h
Referenced by End(), fill_tree(), and Init().
|
private |
Definition at line 102 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 102 of file EpFinderEval.h
Referenced by fill_tree(), and GetNodes().
|
private |
Definition at line 101 of file EpFinderEval.h.
View newest version in sPHENIX GitHub at line 101 of file EpFinderEval.h
Referenced by fill_tree(), and GetNodes().