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

Go to the source code of this file.

Functions

TH1F h1 ("h1","H1;Mass [GeV];Counts [/ GeV];", 20, 0, 20)
 
TH1F h2 ("h2","H2;Mass [GeV];Counts [/ GeV];", 20, 0, 20)
 
 for (int i=0;i< 1000;i++)
 
h1 Draw ("e1")
 
h2 Draw ("same")
 
h2 SetFillColor (5)
 
h1 Draw ("e1same")
 
TLegend leg (.55,.70,.85,.93)
 
leg AddEntry ("","#it{#bf{sPHENIX}} Simulation","")
 
leg AddEntry ("","Au+Au #sqrt{s_{NN}}=200 GeV","")
 
leg Draw ()
 
c RedrawAxis ()
 
c Print ("test_style.pdf")
 
c Print ("test_style.png")
 
c2 SetRightMargin (.2)
 
TF2 f2 ("f2","exp(-x/5)*sin(y)",-5, 5,-5, 5)
 
f2 SetNpx (100)
 
f2 SetNpy (100)
 
f2 Draw ("surf2z")
 
f2 GetXaxis () -> SetTitle("X")
 
f2 GetYaxis () -> SetTitle("Y")
 
f2 GetZaxis () -> SetTitle("Z")
 
c2 Print ("test_style_f2.pdf")
 
c2 Print ("test_style_f2.png")
 

Variables

leg AddEntryh1
 
leg AddEntryh2
 
TCanvas c2
 

Function Documentation

leg AddEntry ( ""  ,
"#it{#bf{sPHENIX}} Simulation"  ,
""   
)
leg AddEntry ( ""  )
fTCBfordave Draw ( "same"  )
h1 Draw ( "e1same"  )
tex Draw ( )
f2 Draw ( "surf2z"  )
TF2 f2 ( "f2"  ,
"exp(-x/5)*sin(y)"  ,
5,
,
5,
 
)

Referenced by f2pyth(), pyofsh(), pyoper(), pyrnm3(), pyrnmq(), pytbdy(), pyxxga(), strf(), and vegas().

+ Here is the caller graph for this function:

for ( )

Definition at line 6 of file test_style.C.

View newest version in sPHENIX GitHub at line 6 of file test_style.C

References h1.

TH1F h1 ( "h1"  ,
"H1;Mass ;Counts ;"  [GeV][/GeV],
20  ,
,
20   
)
TH1F h2 ( "h2"  ,
"H2;Mass ;Counts ;"  [GeV][/GeV],
20  ,
,
20   
)
TLegend leg ( 55,
70,
85,
93 
)
c Print ( "test_style.pdf"  )

Referenced by compareForthBackJacNoise(), genfit::Exception::info(), PgPostBankBackupStorage::Print(), testing::gtest_printers_test::Print(), testing::gtest_printers_test::PrintByRef(), genfit::KalmanFitterRefTrack::processTrackPoint(), and genfit::KalmanFitterRefTrack::processTrackPointSqrt().

+ Here is the caller graph for this function:

c Print ( "test_style.png"  )
c2 Print ( "test_style_f2.pdf"  )
c2 Print ( "test_style_f2.png"  )
c RedrawAxis ( )
f2 SetNpx ( 100  )

Referenced by sccalib().

+ Here is the caller graph for this function:

f2 SetNpy ( 100  )
c2 SetRightMargin ( 2)

Referenced by CalculateSigmaDca(), CompareOldVsNewPlots(), STrackCutStudy::ConstructPlots(), DoPercentDifference(), getPad(), SDeltaPtCutStudy::MakePlots(), MakePrettyPlot(), MakeRatioComparisonPlot(), STrackMatcherComparator::MakeRatiosAndPlots(), and QuickDeltaPtExtractor().

+ Here is the caller graph for this function:

Variable Documentation

TCanvas c2

Definition at line 24 of file test_style.C.

View newest version in sPHENIX GitHub at line 24 of file test_style.C

Referenced by __example_6.f__(), __example_7.f__(), __example_8.f__(), airy1(), airy1d(), airy2(), airy2d(), analyzeClusterEtIso(), BOOST_AUTO_TEST_CASE(), InttVertexFinder::calculateZvertex(), calo_towers(), centrality_newplotbg_newsupp(), cherenkov_analysis(), cluster_efficiency(), CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), compare(), compareStreams(), Cone_Plots(), crossterms(), D0EffScan(), Conversion::dist(), draw_hists(), EdepPercentAnalyzerIH(), EdepPercentSmall(), eic_sphenix_test_smearing(), eicsmear_check_calorimeter(), eicsmear_check_tracking(), EMCDistribution_SUM(), EMCDistribution_SUM_RawADC(), evaluate_cluster_track_matching(), figmaker(), Conversion::firstLayer(), FitVerticalScan(), fjetResol(), GammaNeutronEnergy2DGraphMaker(), gauss1(), gauss2(), gauss3(), gauss4(), get_parametrization_F2(), genfit::GblFitterInfo::getCovariance(), KFParticleBase::GetDStoParticleBz(), KFParticleBaseSIMD::GetDStoParticleBz(), AnnularFieldSim::GetStepDistortion(), Conversion::hasSilicon(), hera_dis_countbins(), RecoConversionEval::hitCuts(), InttQA(), jet_reco(), look_purity(), main(), Langevin::Make(), makePlot_reco_check(), makePlot_reco_electron_id(), makePlot_reco_xQ2(), makePlot_track_eval(), MakePlots(), MakeTH1F(), MvtxQA(), newplotbg_newsupp(), newplotbg_newsupp_2021(), newplotbg_newsupp_2022(), newplotbg_newsupp_2022_60pct(), numericInverse(), plot(), plot_g1_projection(), plot_histos(), plot_jets(), plot_kshort(), plot_ratio(), plot_residuals(), plot_resolution(), plot_sidis_proj_uncertainty(), genfit::GFGbl::processTrackWithRep(), pyeig4(), pygau2(), pygaus(), pyhiscat(), pyrvch(), pyrvne(), pyscat(), pysghf(), eic_bnl_rich::read(), ReconstructTracks(), tails(), TpcQA(), TpotQA(), track_kinematics(), Conversion::trackDLayer(), TrackParamEtaDependence(), tracks(), true_kinematics(), VertexingQA(), and veto_analysis().