ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/calibrations/calorimeter/calo_emc_pi0_tbt/CaloCalibEmc_Pi0.h>
Public Member Functions | |
CaloCalibEmc_Pi0 (const std::string &name="CaloCalibEmc_Pi0", const std::string &fnm="outJF") | |
virtual | ~CaloCalibEmc_Pi0 () |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | Loop (TString _filename, int nevts) |
void | FittingHistos () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (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. | |
Private Attributes | |
int | _ievent |
TFile * | cal_output |
std::string | _caloname |
std::string | _filename |
TH1 * | cemc_hist_eta_phi [96][258] |
TH1 * | eta_hist [96] = {0} |
TH2F * | mass_eta |
TH3F * | mass_eta_phi |
TH1F * | pairInvMassTotal |
TTree * | _eventTree |
int | _eventNumber |
int | _nClusters |
float | _clusterIDs [10000] ={0} |
float | _clusterEnergies [10000] ={0} |
float | _clusterPts [10000] ={0} |
int | _clusterEtas [10000] ={0} |
int | _clusterPhis [10000] ={0} |
int | maxTowerEta |
int | maxTowerPhi |
int | _maxTowerEtas [10000] ={0} |
int | _maxTowerPhis [10000] ={0} |
float | alphaCut |
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 = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 19 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 19 of file CaloCalibEmc_Pi0.h
CaloCalibEmc_Pi0::CaloCalibEmc_Pi0 | ( | const std::string & | name = "CaloCalibEmc_Pi0" , |
const std::string & | fnm = "outJF" |
||
) |
Definition at line 47 of file CaloCalibEmc_Pi0.cc.
View newest version in sPHENIX GitHub at line 47 of file CaloCalibEmc_Pi0.cc
References cemc_hist_eta_phi, and eta_hist.
|
inlinevirtual |
Definition at line 25 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 25 of file CaloCalibEmc_Pi0.h
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 355 of file CaloCalibEmc_Pi0.cc.
View newest version in sPHENIX GitHub at line 355 of file CaloCalibEmc_Pi0.cc
References cal_output, and Fun4AllReturnCodes::EVENT_OK.
Referenced by runLCELoop().
void CaloCalibEmc_Pi0::FittingHistos | ( | ) |
Definition at line 475 of file CaloCalibEmc_Pi0.cc.
View newest version in sPHENIX GitHub at line 475 of file CaloCalibEmc_Pi0.cc
References cemc_hist_eta_phi, and eta_hist.
Referenced by runLCELoop().
|
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 78 of file CaloCalibEmc_Pi0.cc.
View newest version in sPHENIX GitHub at line 78 of file CaloCalibEmc_Pi0.cc
References _clusterEnergies, _clusterEtas, _clusterIDs, _clusterPhis, _clusterPts, _eventNumber, _eventTree, _filename, _ievent, _maxTowerEtas, _maxTowerPhis, _nClusters, a, b, cal_output, cemc_hist_eta_phi, eta_hist, Fun4AllReturnCodes::EVENT_OK, mass_eta, mass_eta_phi, and pairInvMassTotal.
Referenced by runLCELoop().
Definition at line 370 of file CaloCalibEmc_Pi0.cc.
View newest version in sPHENIX GitHub at line 370 of file CaloCalibEmc_Pi0.cc
References _clusterEnergies, _clusterEtas, _clusterIDs, _clusterPhis, _clusterPts, _eventNumber, _maxTowerEtas, _maxTowerPhis, _nClusters, cemc_hist_eta_phi, E, Acts::VectorHelpers::eta(), eta_hist, f, int(), phi, pt, and t1.
Referenced by runLCELoop().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 142 of file CaloCalibEmc_Pi0.cc.
View newest version in sPHENIX GitHub at line 142 of file CaloCalibEmc_Pi0.cc
References _caloname, _clusterEnergies, _clusterEtas, _clusterIDs, _clusterPhis, _clusterPts, _eventNumber, _eventTree, _ievent, _maxTowerEtas, _maxTowerPhis, _nClusters, Fun4AllReturnCodes::ABORTEVENT, kdfinder::abs(), alphaCut, GlobalVertexMap::begin(), cemc_hist_eta_phi, GlobalVertexMap::empty(), eta_hist, Fun4AllReturnCodes::EVENT_OK, Fill(), RawTower::get_bineta(), RawTower::get_binphi(), RawCluster::get_energy(), RawTower::get_energy(), RawCluster::get_id(), RawCluster::get_towers(), GlobalVertex::get_x(), GlobalVertex::get_y(), GlobalVertex::get_z(), RawClusterContainer::getClusters(), RawClusterUtility::GetEVec(), CLHEP::Hep3Vector::getPhi(), RawTowerContainer::getTower(), CLHEP::Hep3Vector::mag(), mass_eta, mass_eta_phi, maxTowerEta, maxTowerPhi, pairInvMassTotal, CLHEP::Hep3Vector::perp(), PHWHERE, and CLHEP::Hep3Vector::pseudoRapidity().
|
private |
Definition at line 50 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 50 of file CaloCalibEmc_Pi0.h
Referenced by process_event().
|
private |
Definition at line 67 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 67 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 69 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 69 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 66 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 66 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 70 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 70 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 68 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 68 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 64 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 64 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 62 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 62 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 51 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 51 of file CaloCalibEmc_Pi0.h
Referenced by InitRun().
|
private |
Definition at line 48 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 48 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 76 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 76 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 77 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 77 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 65 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 65 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), Loop(), and process_event().
|
private |
Definition at line 79 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 79 of file CaloCalibEmc_Pi0.h
Referenced by process_event().
|
private |
Definition at line 49 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 49 of file CaloCalibEmc_Pi0.h
|
private |
Definition at line 55 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 55 of file CaloCalibEmc_Pi0.h
Referenced by CaloCalibEmc_Pi0(), FittingHistos(), InitRun(), Loop(), and process_event().
|
private |
Definition at line 56 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 56 of file CaloCalibEmc_Pi0.h
Referenced by CaloCalibEmc_Pi0(), FittingHistos(), InitRun(), Loop(), and process_event().
|
private |
Definition at line 57 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 57 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 58 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 58 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 73 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 73 of file CaloCalibEmc_Pi0.h
Referenced by process_event().
|
private |
Definition at line 74 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 74 of file CaloCalibEmc_Pi0.h
Referenced by process_event().
|
private |
Definition at line 60 of file CaloCalibEmc_Pi0.h.
View newest version in sPHENIX GitHub at line 60 of file CaloCalibEmc_Pi0.h
Referenced by InitRun(), and process_event().