Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
track2cluster_plot.C File Reference

Go to the source code of this file.

Functions

int track2cluster_plot ()
 
void printHists (TH2F *h2_phi, TH2F *h2_eta, TH2F *h2_theta, TH2F *h2_mom, TH2F *h2_posx, TH2F *h2_posy, TH2F *h2_posz, TH1F *h1_spatial_cemc, TH1F *h1_spatial_eemc, TH1F *h1_spatial_femc, TString save)
 
void analyzeTree (TH2F *h2_phi, TH2F *h2_eta, TH2F *h2_theta, TH2F *h2_mom, TH2F *h2_posx, TH2F *h2_posy, TH2F *h2_posz, TH1F *h1_spatial_cemc, TH1F *h1_spatial_eemc, TH1F *h1_spatial_femc, TTree *t_truth, TTree *t_cluster, const int nEvents)
 
void openFiles ()
 
void openTrees ()
 
void BinLog (TH2F *h)
 
void hist_to_png_h1 (TH1F *h_c, TH1F *h_e, TH1F *h_f, TString saveTitle, TString type_string)
 
void hist_to_png (TH2F *h, TString saveTitle, TString type_string)
 

Variables

const int num_files =4
 
const int verbosity = 1
 

Function Documentation

void analyzeTree ( TH2F *  h2_phi,
TH2F *  h2_eta,
TH2F *  h2_theta,
TH2F *  h2_mom,
TH2F *  h2_posx,
TH2F *  h2_posy,
TH2F *  h2_posz,
TH1F *  h1_spatial_cemc,
TH1F *  h1_spatial_eemc,
TH1F *  h1_spatial_femc,
TTree *  t_truth,
TTree *  t_cluster,
const int  nEvents 
)

Definition at line 119 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 119 of file track2cluster_plot.C

References k, nEvents, and verbosity.

Referenced by track2cluster_plot().

+ Here is the caller graph for this function:

void BinLog ( TH2F *  h)

Definition at line 301 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 301 of file track2cluster_plot.C

References bins, i, and width.

void hist_to_png ( TH2F *  h,
TString  saveTitle,
TString  type_string 
)

Definition at line 359 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 359 of file track2cluster_plot.C

References parse_cmake_options::type.

void hist_to_png_h1 ( TH1F *  h_c,
TH1F *  h_e,
TH1F *  h_f,
TString  saveTitle,
TString  type_string 
)

Definition at line 334 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 334 of file track2cluster_plot.C

References parse_cmake_options::type.

Referenced by printHists().

+ Here is the caller graph for this function:

void openFiles ( )

Definition at line 292 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 292 of file track2cluster_plot.C

void openTrees ( )

Definition at line 297 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 297 of file track2cluster_plot.C

void printHists ( TH2F *  h2_phi,
TH2F *  h2_eta,
TH2F *  h2_theta,
TH2F *  h2_mom,
TH2F *  h2_posx,
TH2F *  h2_posy,
TH2F *  h2_posz,
TH1F *  h1_spatial_cemc,
TH1F *  h1_spatial_eemc,
TH1F *  h1_spatial_femc,
TString  save 
)

Definition at line 108 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 108 of file track2cluster_plot.C

References hist_to_png(), and hist_to_png_h1().

Referenced by track2cluster_plot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int track2cluster_plot ( )

Definition at line 22 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 22 of file track2cluster_plot.C

References analyzeTree(), f_1, nbins, nEvents, and printHists().

+ Here is the call graph for this function:

Variable Documentation

const int num_files =4

Definition at line 18 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 18 of file track2cluster_plot.C

const int verbosity = 1

Definition at line 20 of file track2cluster_plot.C.

View newest version in sPHENIX GitHub at line 20 of file track2cluster_plot.C

Referenced by ACTSGEOM::ActsGeomInit(), MvtxAlign::AddAlignmentPar(), ALICEKF::ALICEKF(), alignment(), analyzeTree(), BeamLineDefineBeamPipe(), BeamLineDefineMagnets(), build_truthreco_tables(), PHFieldUtility::BuildFieldMap(), CaloTrigger_Sim(), CEMC_Cells(), CEMC_Clusters(), CEMC_Eval(), CEMC_QA(), CEMC_Towers(), Centrality(), hcal::Clear(), hcal::collect(), convert_seeds(), TreeMaker::CopyAndMakeClusters(), TreeMaker::CopyAndMakeJets(), PHG4TrackFastSim::CreateNodes(), intt_pool::depth_ok(), hcal::Display(), Distortions_QA(), DoStandaloneCorrelatorCalculation(), EEMC_Clusters(), EEMC_Eval(), EEMC_Towers(), EMCalAna::EMCalAna(), EMCalCalib::EMCalCalib(), EMCalCalib_TestBeam::EMCalCalib_TestBeam(), sHEPGen::End(), DirectPhotonPythia::End(), psTOFTimezeroEval::End(), SvtxEvaluatorHaiwang::End(), JetEnergies::End(), LaplaceSolution::Er(), EMCalCalib::eval_photon_proj(), EMCalAna::eval_trk_proj(), hcal::evLoop(), ExampleAnalysisModule::ExampleAnalysisModule(), LaplaceSolution::Ez(), FastJetAlgo::FastJetAlgo(), FEMC_Clusters(), FEMC_Eval(), FEMC_Towers(), FHCAL_Clusters(), FHCAL_Eval(), FHCAL_Towers(), JetEnergies::fillOutputNtuples(), psTOFTimezeroEval::fillOutputNtuples(), SvtxEvaluatorHaiwang::fillOutputNtuples(), LaplaceSolution::FindBetamn(), Fun4All(), Fun4All_Calo(), Fun4All_Condor(), Fun4All_EMJetVal(), Fun4All_G4_TPC(), Fun4All_GeoExtract(), Fun4All_hijbkg(), Fun4All_JetBkgd(), Fun4All_JetBkgd_Embed(), Fun4All_JetNconst(), Fun4All_JetSeedCount(), Fun4All_JetSub(), Fun4All_JetVal(), Fun4All_quickHijing_Prod(), Fun4All_RTrack(), Fun4All_RunCorrelatorJetTree(), Fun4All_RunCorrelatorQAModules(), Fun4All_RunLambdaJetHunter(), Fun4All_RunNewTruthMatcher(), Fun4All_TestBeam_TPC(), Fun4All_testEtIso_Hijing(), Fun4All_testEtIso_Pythia(), Fun4All_testingGround(), Fun4All_UE_v2_Psi2(), G4_HIJetReco(), G4DSTreader(), TreeMaker::GetClusters(), LambdaJetHunterOptions::GetConfig(), hcal::GetNextEvent(), fileEventiterator::getVerbosity(), genfit::GFRaveVertexFactory::GFRaveVertexFactory(), Global_FastSim(), Global_Reco(), hcal::hcal(), HCalInner(), HCALInner_Cells(), HCALInner_Clusters(), HCALInner_Eval(), HCALInner_QA(), HCALInner_Towers(), HCalOuter(), HCALOuter_Cells(), HCALOuter_Clusters(), HCALOuter_Eval(), HCALOuter_QA(), HCALOuter_Towers(), HIJetReco(), sHEPGen::Init(), SoftLeptonTaggingTruth::Init(), Proto4ShowerCalib::InitRun(), Proto2ShowerCalib::InitRun(), Proto3ShowerCalib::InitRun(), ExampleAnalysisModule::InitRun(), GenFitTrackProp::InitRun(), BDiJetModule::InitRun(), SoftLeptonTaggingTruth::InitRun(), InputRegister(), Intt(), Intt_Cells(), Intt_Clustering(), intt_pool::intt_decode_hitlist(), Intt_QA(), Jet_Eval(), Jet_FwdEval(), Jet_FwdReco(), Jet_QA(), Jet_Reco(), JetEnergies::JetEnergies(), KFParticle_D0_Reco(), KFParticle_Lambdac_Reco(), KFParticle_QA(), KFParticle_Upsilon_Reco(), LaplaceSolution::LaplaceSolution(), Proto4ShowerCalib::LoadRecalibMap(), Proto2ShowerCalib::LoadRecalibMap(), Proto3ShowerCalib::LoadRecalibMap(), Magnet(), BDiJetModule::MakeGenFitTrack(), Mbd_Reco(), Micromegas(), Micromegas_Cells(), Mvtx(), Mvtx_Cells(), Mvtx_Clustering(), Mvtx_QA(), ParticleFlow(), Pipe(), psTOFTimezeroEval::printInputInfo(), SvtxEvaluatorHaiwang::printInputInfo(), SvtxEvaluatorHaiwang::printOutputInfo(), psTOFTimezeroEval::printOutputInfo(), MvtxRunInfoUnpackPRDF::process_event(), AnaSvtxTracksForGenFit::process_event(), PHPythia6::process_event(), Proto4ShowerCalib::process_event(), sHEPGen::process_event(), MvtxApplyHotDead::process_event(), MvtxAlign::process_event(), Proto2ShowerCalib::process_event(), Proto3ShowerCalib::process_event(), SvtxEvaluatorHaiwang::process_event(), psTOFTimezeroEval::process_event(), ExampleAnalysisModule::process_event(), JetEnergies::process_event(), GenFitTrackProp::process_event(), AnaMvtxPrototype1::process_event(), EMCalCalib::process_event(), AnaMvtxTelescopeHits::process_event(), EMCalAna::process_event(), BDiJetModule::process_event(), PHG4TrackFastSim::process_event(), EMCalCalib_TestBeam::process_event(), SoftLeptonTaggingTruth::process_event(), EMCalCalib::process_event_MCPhoton(), EMCalAna::process_event_SF(), EMCalCalib::process_event_SF(), EMCalAna::process_event_Tower(), EMCalCalib::process_event_Tower(), EMCalAna::process_event_Trk(), EMCalAna::process_event_UpslisonTrig(), EMCalCalib::process_event_UpslisonTrig(), SoftLeptonTaggingTruth::process_Spectrum(), Proto2ShowerCalib::Proto2ShowerCalib(), Proto3ShowerCalib::Proto3ShowerCalib(), Proto4ShowerCalib::Proto4ShowerCalib(), psTOFTimezeroEval::psTOFTimezeroEval(), MvtxAlign::ReadAlignmentParFile(), MvtxApplyHotDead::ReadHotDeadFile(), PHPythia6::register_trigger(), LaplaceSolution::Rmn(), BaseTruthEval::set_verbosity(), SvtxTruthEval::set_verbosity(), SvtxHitEval::set_verbosity(), SvtxTrackEval::set_verbosity(), SvtxVertexEval::set_verbosity(), SvtxClusterEval::set_verbosity(), CaloTruthEval::set_verbosity(), CaloRawClusterEval::set_verbosity(), CaloRawTowerEval::set_verbosity(), JetRecoEval::set_verbosity(), JetTruthEval::set_verbosity(), MakeSourceLinks::setVerbosity(), fileEventiterator::setVerbosity(), ActsTransformations::setVerbosity(), Svtx(), Svtx_Cells(), Svtx_Clustering(), Svtx_Eval(), Svtx_Reco(), Svtx_Tracking(), SvtxEvaluatorHaiwang::SvtxEvaluatorHaiwang(), SvtxInit(), TopoClusterReco(), TPC_Cells(), TPC_Clustering(), TPC_LaserClustering(), TPC_QA(), Track_Matching(), Tracking_Eval(), Tracking_QA(), Tracking_Reco_CommissioningTrackSeed(), Tracking_Reco_TrackFit(), Tracking_Reco_TrackSeed(), Tracking_Reco_TrackSeed_pass1(), TreeMaker::UseFastJet(), PHG4TrackFastSim::Verbosity(), vertexing(), ZDC_Eval(), and ZDC_Towers().