Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/SimpleTrackingAnalysis/STACalorimeterCharacterization.h>
Public Member Functions | |
STACalorimeterCharacterization (const std::string &name="STACalorimeterCharacterization") | |
int | Init (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
Called at the end of all processing. | |
void | set_nlayers (unsigned int x) |
void | set_verbosity (int x) |
std::vector< RawTower * > | get_ordered_towers (RawCluster *, RawTowerContainer *) |
std::vector< RawTower * > | get_ordered_towers (const RawTowerContainer *) |
std::vector< RawCluster * > | get_ordered_clusters (const RawClusterContainer *) |
void | inspect_ordered_towers (const std::vector< RawTower * > &) |
void | inspect_ordered_towers (const std::vector< RawTower * > &, int) |
void | inspect_ordered_towers (const std::vector< RawTower * > &, double, int) |
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. | |
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 20 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 20 of file STACalorimeterCharacterization.h
STACalorimeterCharacterization::STACalorimeterCharacterization | ( | const std::string & | name = "STACalorimeterCharacterization" | ) |
Definition at line 46 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 46 of file STACalorimeterCharacterization.C
References magneticfield, nerrors, nevents, nlayers, nwarnings, and verbosity.
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 602 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 602 of file STACalorimeterCharacterization.C
vector< RawCluster * > STACalorimeterCharacterization::get_ordered_clusters | ( | const RawClusterContainer * | clusters | ) |
Definition at line 611 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 611 of file STACalorimeterCharacterization.C
References energy, RawCluster::get_energy(), RawClusterContainer::getClusters(), and it.
Referenced by process_event().
vector< RawTower * > STACalorimeterCharacterization::get_ordered_towers | ( | RawCluster * | cluster, |
RawTowerContainer * | towers | ||
) |
Definition at line 671 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 671 of file STACalorimeterCharacterization.C
References energy, RawTower::get_energy(), RawCluster::get_towers(), RawTowerContainer::getTower(), and it.
Referenced by process_event().
vector< RawTower * > STACalorimeterCharacterization::get_ordered_towers | ( | const RawTowerContainer * | towers | ) |
Definition at line 641 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 641 of file STACalorimeterCharacterization.C
References energy, RawTower::get_energy(), RawTowerContainer::getTowers(), and it.
|
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 60 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 60 of file STACalorimeterCharacterization.C
References _energy_deta_emc, _energy_deta_hci, _energy_deta_hco, _energy_dphi_emc, _energy_dphi_hci, _energy_dphi_hco, _energy_ratio_elb_emc, _energy_ratio_elb_hci, _energy_ratio_elb_hco, _energy_ratio_elb_hct, _energy_ratio_elb_tot_dumb, _energy_ratio_elb_tot_smart, _energy_ratio_emc, _energy_ratio_eub_emc, _energy_ratio_eub_hci, _energy_ratio_eub_hco, _energy_ratio_eub_hct, _energy_ratio_eub_tot_dumb, _energy_ratio_eub_tot_smart, _energy_ratio_hci, _energy_ratio_hco, _energy_ratio_hct, _energy_ratio_tot_dumb, _energy_ratio_tot_smart, _tower_energy_emc, _tower_energy_hci, _tower_energy_hco, _towers_3x3_emc, _towers_3x3_hci, _towers_3x3_hco, _towers_5x5_emc, _towers_5x5_hci, _towers_5x5_hco, _towers_7x7_emc, _towers_7x7_hci, _towers_7x7_hco, _towers_9x9_emc, _towers_9x9_hci, _towers_9x9_hco, _towersum_energy_emc, _towersum_energy_hci, _towersum_energy_hco, i, Fun4AllServer::instance(), and Fun4AllServer::registerHisto().
void STACalorimeterCharacterization::inspect_ordered_towers | ( | const std::vector< RawTower * > & | towers | ) |
Definition at line 701 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 701 of file STACalorimeterCharacterization.C
Referenced by inspect_ordered_towers(), and process_event().
void STACalorimeterCharacterization::inspect_ordered_towers | ( | const std::vector< RawTower * > & | towers, |
int | calo_layer | ||
) |
Definition at line 708 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 708 of file STACalorimeterCharacterization.C
References inspect_ordered_towers().
void STACalorimeterCharacterization::inspect_ordered_towers | ( | const std::vector< RawTower * > & | towers, |
double | true_energy, | ||
int | calo_layer | ||
) |
Definition at line 715 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 715 of file STACalorimeterCharacterization.C
References _tower_energy_emc, _tower_energy_hci, _tower_energy_hco, _towers_3x3_emc, _towers_3x3_hci, _towers_3x3_hco, _towers_5x5_emc, _towers_5x5_hci, _towers_5x5_hco, _towers_7x7_emc, _towers_7x7_hci, _towers_7x7_hco, _towers_9x9_emc, _towers_9x9_hci, _towers_9x9_hco, _towersum_energy_emc, _towersum_energy_hci, _towersum_energy_hco, SvtxTrack::CEMC, KF_timing::etabin, RawTower::get_bineta(), RawTower::get_binphi(), RawTower::get_energy(), SvtxTrack::HCALIN, SvtxTrack::HCALOUT, i, j, and nphi.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 195 of file STACalorimeterCharacterization.C.
View newest version in sPHENIX GitHub at line 195 of file STACalorimeterCharacterization.C
References _energy_deta_emc, _energy_deta_hci, _energy_deta_hco, _energy_dphi_emc, _energy_dphi_hci, _energy_dphi_hco, _energy_ratio_elb_emc, _energy_ratio_elb_hci, _energy_ratio_elb_hco, _energy_ratio_elb_hct, _energy_ratio_elb_tot_dumb, _energy_ratio_elb_tot_smart, _energy_ratio_emc, _energy_ratio_eub_emc, _energy_ratio_eub_hci, _energy_ratio_eub_hco, _energy_ratio_eub_hct, _energy_ratio_eub_tot_dumb, _energy_ratio_eub_tot_smart, _energy_ratio_hci, _energy_ratio_hco, _energy_ratio_hct, _energy_ratio_tot_dumb, _energy_ratio_tot_smart, SvtxTruthEval::all_truth_hits(), CaloRawClusterEval::best_cluster_from(), SvtxTrackEval::best_track_from(), SvtxTrack::CEMC, Fun4AllReturnCodes::EVENT_OK, SvtxTrack::get_cal_cluster_e(), SvtxTrack::get_cal_deta(), SvtxTrack::get_cal_dphi(), SvtxTrack::get_cal_energy_3x3(), PHG4Particle::get_e(), SvtxTruthEval::get_embed(), RawCluster::get_energy(), get_ordered_clusters(), get_ordered_towers(), PHG4Particle::get_pid(), SvtxTrack::get_pt(), PHG4Particle::get_px(), PHG4Particle::get_py(), CaloEvalStack::get_rawcluster_eval(), SvtxEvalStack::get_track_eval(), SvtxEvalStack::get_truth_eval(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), SvtxTrack::HCALIN, SvtxTrack::HCALOUT, inspect_ordered_towers(), nevents, nwarnings, PHWHERE, CaloRawClusterEval::set_verbosity(), and verbosity.
|
inline |
Definition at line 31 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 31 of file STACalorimeterCharacterization.h
References nlayers, and ambiguity_solver_full_chain::x.
|
inline |
Definition at line 33 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 33 of file STACalorimeterCharacterization.h
References verbosity, and ambiguity_solver_full_chain::x.
|
private |
Definition at line 102 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 102 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 103 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 103 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 104 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 104 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 98 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 98 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 99 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 99 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 100 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 100 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 84 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 84 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 85 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 85 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 86 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 86 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 87 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 87 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 88 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 88 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 89 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 89 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 77 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 77 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 91 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 91 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 92 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 92 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 93 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 93 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 94 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 94 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 95 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 95 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 96 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 96 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 78 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 78 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 79 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 79 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 80 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 80 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 81 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 81 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 82 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 82 of file STACalorimeterCharacterization.h
Referenced by Init(), and process_event().
|
private |
Definition at line 111 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 111 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 119 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 119 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 127 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 127 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 106 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 106 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 114 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 114 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 122 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 122 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 107 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 107 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 115 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 115 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 123 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 123 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 108 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 108 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 116 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 116 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 124 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 124 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 109 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 109 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 117 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 117 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 125 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 125 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 112 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 112 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 120 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 120 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 128 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 128 of file STACalorimeterCharacterization.h
Referenced by Init(), and inspect_ordered_towers().
|
private |
Definition at line 51 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 51 of file STACalorimeterCharacterization.h
|
private |
Definition at line 54 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 54 of file STACalorimeterCharacterization.h
|
private |
Definition at line 52 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 52 of file STACalorimeterCharacterization.h
|
private |
Definition at line 55 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 55 of file STACalorimeterCharacterization.h
|
private |
Definition at line 53 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 53 of file STACalorimeterCharacterization.h
|
private |
Definition at line 56 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 56 of file STACalorimeterCharacterization.h
|
private |
Definition at line 60 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 60 of file STACalorimeterCharacterization.h
Referenced by STACalorimeterCharacterization().
|
private |
Definition at line 67 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 67 of file STACalorimeterCharacterization.h
Referenced by End(), and STACalorimeterCharacterization().
|
private |
Definition at line 66 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 66 of file STACalorimeterCharacterization.h
Referenced by End(), process_event(), and STACalorimeterCharacterization().
|
private |
Definition at line 71 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 71 of file STACalorimeterCharacterization.h
Referenced by set_nlayers(), and STACalorimeterCharacterization().
|
private |
Definition at line 68 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 68 of file STACalorimeterCharacterization.h
Referenced by End(), process_event(), and STACalorimeterCharacterization().
|
private |
Definition at line 62 of file STACalorimeterCharacterization.h.
View newest version in sPHENIX GitHub at line 62 of file STACalorimeterCharacterization.h
Referenced by process_event(), set_verbosity(), and STACalorimeterCharacterization().