Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/cemcRecoAna/src/cemcReco.h>
Public Member Functions | |
cemcReco (const std::string &name, const std::string &outName) | |
~cemcReco () 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 |
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 | |
float | calculateTSP (RawCluster *cluster, RawClusterContainer *cluster_container, RawTowerContainer *towerContainer, RawTowerGeomContainer *towerGeo, GlobalVertex *vtx) |
float | coneSum (RawCluster *cluster, RawClusterContainer *cluster_container, SvtxTrackMap *trackmap, float coneradius, GlobalVertex *vtx) |
void | letsSumw2 () |
float | getpT (PHG4Particle *particle) |
float | FindTruthPhoton (float cluster_eta, float cluster_phi, float cluster_energy, PHG4TruthInfoContainer *particle) |
float | getEta (PHG4Particle *particle) |
float | getPhi (PHG4Particle *particle) |
bool | compareVertices (HepMC::FourVector hepMCvtx, PHG4VtxPoint *g4vtx) |
bool | checkBarcode (int motherBarcode, std::vector< int > &motherBarcodes) |
bool | checkBarcode (int motherBarcode, std::vector< PHG4Particle * > &motherBarcodes) |
int | getEtaBin (float eta) |
Private Attributes | |
int | nEvent |
std::string | Outfile |
CaloEvalStack * | caloevalstack |
TH3F * | ePi0InvMassEcut [2][nEtaBins] |
TH1F * | photonE |
TH1F * | clusterDisp |
TH2F * | clusterChi2 |
TH2F * | clusterProbPhoton |
TH1F * | isoPhoE |
TH2F * | isoPhoChi2 |
TH2F * | isoPhoProb |
TH3F * | deltaR_E_invMass |
TH3F * | asym_E_invMass |
TH2F * | tsp_E |
TH2F * | tsp_E_iso |
TH1F * | truth_pi0_E [nEtaBins] |
TH1F * | truth_eta_E |
TH1F * | truth_dpho_E |
TH1F * | pi0E_truth_reco |
TH2F * | deltaR_E_truth_pi0 |
TH3F * | invMass_eta |
TH3F * | dPhoChi2 |
TH3F * | dPhoProb |
TH3F * | pi0Chi2 |
TH3F * | pi0Prob |
TH3F * | etaChi2 |
TH3F * | etaProb |
TH3F * | electronChi2 |
TH3F * | electronProb |
TH3F * | hadronChi2 |
TH3F * | hadronProb |
TH2F * | etaFrac |
TH2F * | pi0Frac |
TH3F * | unmatchedLocale |
TH1F * | unmatchedE |
TH3F * | invMassPhoPi0 |
TH3F * | invMassEPhi |
TH2F * | eFrac_dr_primary |
TH2F * | eFrac_dr_secondary |
TH2F * | asym_E_truth_pi0 |
Fun4AllHistoManager * | hm = nullptr |
TFile * | out |
const float | pi = 3.1415926 |
float | trackErrorCount |
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 41 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 41 of file cemcReco.h
cemcReco::cemcReco | ( | const std::string & | name, |
const std::string & | outName | ||
) |
Definition at line 60 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 60 of file cemcReco.cc
References clusterChi2, clusterDisp, clusterProbPhoton, deltaR_E_invMass, dPhoChi2, dPhoProb, eFrac_dr_primary, eFrac_dr_secondary, electronChi2, electronProb, ePi0InvMassEcut, etaChi2, etaFrac, etaProb, hadronChi2, hadronProb, i, invMass_eta, invMassEPhi, invMassPhoPi0, isoPhoChi2, isoPhoE, isoPhoProb, j, nEtaBins, out, photonE, pi0Chi2, pi0E_truth_reco, pi0Frac, pi0Prob, truth_dpho_E, truth_eta_E, truth_pi0_E, tsp_E, tsp_E_iso, unmatchedE, and unmatchedLocale.
|
override |
Definition at line 115 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 115 of file cemcReco.cc
|
private |
Definition at line 961 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 961 of file cemcReco.cc
References eta, KF_timing::etabin, RawTower::get_bineta(), RawTower::get_binphi(), RawTower::get_energy(), RawTowerGeomContainer::get_etacenter(), RawTowerGeomContainer::get_phicenter(), RawCluster::get_towers(), GlobalVertex::get_x(), GlobalVertex::get_y(), GlobalVertex::get_z(), RawClusterUtility::GetECoreVec(), RawTowerContainer::getTower(), ActsTests::PropagationDatasets::phi, and physmon_track_finding_ttbar::r.
Referenced by process_event().
|
private |
Definition at line 1075 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 1075 of file cemcReco.cc
References i.
Referenced by process_event().
|
private |
Definition at line 1086 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 1086 of file cemcReco.cc
References i.
|
private |
Definition at line 1029 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 1029 of file cemcReco.cc
|
private |
Definition at line 883 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 883 of file cemcReco.cc
References SvtxTrackMap::begin(), INTTVtxZ::dphi, SvtxTrackMap::end(), RawCluster::get_energy(), SvtxTrack::get_eta(), RawCluster::get_phi(), SvtxTrack::get_phi(), SvtxTrack::get_px(), SvtxTrack::get_py(), GlobalVertex::get_x(), GlobalVertex::get_y(), GlobalVertex::get_z(), RawCluster::get_z(), RawClusterContainer::getClusters(), RawClusterUtility::GetECoreVec(), and pi.
Referenced by process_event().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 810 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 810 of file cemcReco.cc
References asym_E_invMass, asym_E_truth_pi0, cd(), clusterChi2, clusterProbPhoton, deltaR_E_invMass, deltaR_E_truth_pi0, dPhoChi2, dPhoProb, eFrac_dr_primary, eFrac_dr_secondary, electronChi2, electronProb, ePi0InvMassEcut, etaChi2, etaFrac, etaProb, Fun4AllReturnCodes::EVENT_OK, hadronChi2, hadronProb, i, invMass_eta, invMassEPhi, invMassPhoPi0, isoPhoChi2, isoPhoE, isoPhoProb, j, nEtaBins, out, photonE, pi0Chi2, pi0E_truth_reco, pi0Frac, pi0Prob, truth_dpho_E, truth_eta_E, truth_pi0_E, tsp_E, tsp_E_iso, unmatchedE, unmatchedLocale, and Write().
|
overridevirtual |
Called at the end of each run.
Reimplemented from SubsysReco.
Definition at line 803 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 803 of file cemcReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
|
private |
Definition at line 1059 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 1059 of file cemcReco.cc
References merge_hashes::p.
Referenced by process_event().
|
private |
Definition at line 1098 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 1098 of file cemcReco.cc
Referenced by process_event().
|
private |
Definition at line 1069 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 1069 of file cemcReco.cc
References ActsTests::PropagationDatasets::phi.
Referenced by process_event().
|
private |
|
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 121 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 121 of file cemcReco.cc
References asym_E_invMass, asym_E_truth_pi0, clusterChi2, clusterProbPhoton, deltaR_E_invMass, deltaR_E_truth_pi0, dPhoChi2, dPhoProb, eFrac_dr_primary, eFrac_dr_secondary, electronChi2, electronProb, ePi0InvMassEcut, etaChi2, etaFrac, etaProb, Fun4AllReturnCodes::EVENT_OK, hadronChi2, hadronProb, hm, i, Fun4AllServer::instance(), invMass_eta, invMassEPhi, invMassPhoPi0, isoPhoChi2, isoPhoE, isoPhoProb, j, nEtaBins, out, Outfile, photonE, pi0Chi2, pi0E_truth_reco, pi0Frac, pi0Prob, Print(), truth_dpho_E, truth_eta_E, truth_pi0_E, tsp_E, tsp_E_iso, unmatchedE, and unmatchedLocale.
|
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 255 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 255 of file cemcReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
|
overridevirtual |
Print out some info about this module.
what | can be used to specify what to print exactly. |
Reimplemented from Fun4AllBase.
Definition at line 878 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 878 of file cemcReco.cc
Referenced by Init().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 262 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 262 of file cemcReco.cc
References Fun4AllReturnCodes::ABORTEVENT, assert, asym_E_invMass, asym_E_truth_pi0, GlobalVertexMap::begin(), calculateTSP(), caloevalstack, checkBarcode(), coneSum(), deltaR_E_invMass, deltaR_E_truth_pi0, dPhoChi2, dPhoProb, Acts::UnitConstants::e, electronChi2, electronProb, GlobalVertexMap::empty(), ePi0InvMassEcut, eta, etaChi2, etaFrac, etaProb, Fun4AllReturnCodes::EVENT_OK, Fill(), CaloEvalStack::get_rawcluster_eval(), GlobalVertex::get_x(), GlobalVertex::get_y(), GlobalVertex::get_z(), RawClusterUtility::GetECoreVec(), getEta(), getEtaBin(), getPhi(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), PHG4TruthInfoContainer::GetSecondaryParticleRange(), hadronChi2, hadronProb, i, invMass_eta, invMassEPhi, invMassPhoPi0, isoPhoChi2, isoPhoE, isoPhoProb, j, Acts::UnitConstants::min, momentum, nEtaBins, nEvent, merge_hashes::p, photonE, PHWHERE, pi0Chi2, pi0Frac, pi0Prob, trackErrorCount, truth_dpho_E, truth_eta_E, truth_pi0_E, tsp_E, tsp_E_iso, unmatchedE, and unmatchedLocale.
|
overridevirtual |
Reset.
Reimplemented from SubsysReco.
Definition at line 871 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 871 of file cemcReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Clean up internals after each event.
Reimplemented from SubsysReco.
Definition at line 796 of file cemcReco.cc.
View newest version in sPHENIX GitHub at line 796 of file cemcReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 115 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 115 of file cemcReco.h
Referenced by End(), Init(), and process_event().
|
private |
Definition at line 145 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 145 of file cemcReco.h
Referenced by End(), Init(), and process_event().
|
private |
Definition at line 102 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 102 of file cemcReco.h
Referenced by process_event().
|
private |
Definition at line 109 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 109 of file cemcReco.h
Referenced by cemcReco(), End(), and Init().
|
private |
Definition at line 108 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 108 of file cemcReco.h
Referenced by cemcReco().
|
private |
Definition at line 110 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 110 of file cemcReco.h
Referenced by cemcReco(), End(), and Init().
|
private |
Definition at line 114 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 114 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 122 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 122 of file cemcReco.h
Referenced by End(), Init(), and process_event().
|
private |
Definition at line 124 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 124 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 125 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 125 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 142 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 142 of file cemcReco.h
Referenced by cemcReco(), End(), and Init().
|
private |
Definition at line 143 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 143 of file cemcReco.h
Referenced by cemcReco(), End(), and Init().
|
private |
Definition at line 130 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 130 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 131 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 131 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 106 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 106 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 128 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 128 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 134 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 134 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 129 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 129 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 132 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 132 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 133 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 133 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 149 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 149 of file cemcReco.h
Referenced by Init().
|
private |
Definition at line 123 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 123 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 139 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 139 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 138 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 138 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 112 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 112 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 111 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 111 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 113 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 113 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 84 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 84 of file cemcReco.h
Referenced by process_event().
|
private |
Definition at line 152 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 152 of file cemcReco.h
Referenced by cemcReco(), End(), and Init().
|
private |
Definition at line 85 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 85 of file cemcReco.h
Referenced by Init().
|
private |
Definition at line 107 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 107 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 154 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 154 of file cemcReco.h
Referenced by coneSum().
|
private |
Definition at line 126 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 126 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 121 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 121 of file cemcReco.h
Referenced by cemcReco(), End(), and Init().
|
private |
Definition at line 135 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 135 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 127 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 127 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 155 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 155 of file cemcReco.h
Referenced by process_event().
|
private |
Definition at line 120 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 120 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 119 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 119 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 118 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 118 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 116 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 116 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 117 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 117 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 137 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 137 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().
|
private |
Definition at line 136 of file cemcReco.h.
View newest version in sPHENIX GitHub at line 136 of file cemcReco.h
Referenced by cemcReco(), End(), Init(), and process_event().