FairRoot/PandaRoot
Functions | Variables
ReadMesDecCorrRes_PiT.C File Reference

Go to the source code of this file.

Functions

h1 SetTitle ("#pi_{L} + #pi_{H} correlation")
 
h1 GetXaxis () -> CenterTitle()
 
h1 GetYaxis () -> SetTitle("P_
 
h1 Draw ("box")
 
c Divide (1, 3)
 
c cd (1)
 
h1p SetLineWidth (2)
 
h1p SetLineColor (1)
 
h1p Draw ()
 
c cd (2)
 
h3p SetLineColor (2)
 
c cd (3)
 
h3p SetTitle ("one pion events ")
 
h4p Draw ("same")
 
gStyle SetPadBorderMode (1)
 
gStyle SetPadBorderSize (1)
 
gStyle SetPadColor (0)
 
gStyle SetDrawBorder (0)
 
gStyle SetCanvasBorderMode (0)
 
gStyle SetCanvasBorderSize (0)
 
gStyle SetTitleBorderSize (0)
 
gStyle SetCanvasColor (10)
 
gStyle SetStatBorderSize (1)
 
gStyle SetFrameBorderMode (0)
 
gStyle SetFrameBorderSize (1)
 
 printf ("...Loading Fit/Stat\n")
 
gStyle SetFitFormat ("2.3f")
 
gStyle SetOptFit (0)
 
gStyle SetOptStat (0)
 
gStyle SetStatColor (0)
 
gStyle SetStatX (0.46)
 
gStyle SetStatY (0.9)
 
gStyle SetStatW (0.15)
 
gStyle SetStatH (0.1)
 
 printf ("...Loading Title Style\n")
 
gStyle SetTitleColor (1)
 
gStyle SetTitleFillColor (0)
 
gStyle SetTitleX (0.5)
 
gStyle SetTitleY (0.8)
 
gStyle SetTitleOffset (1.3,"x")
 
gStyle SetTitleOffset (1.7,"y")
 
gStyle SetTitleOffset (1.7,"z")
 
gStyle SetTitleSize (.0525,"x")
 
gStyle SetTitleSize (.0525,"y")
 
gStyle SetTitleSize (.0525,"z")
 
 printf ("...Loading Label Style\n")
 
gStyle SetLabelOffset (.02,"x")
 
gStyle SetLabelOffset (.025,"y")
 
gStyle SetLabelOffset (.02,"z")
 
gStyle SetLabelFont (42,"x")
 
gStyle SetLabelFont (42,"y")
 
gStyle SetLabelFont (42,"z")
 
gStyle SetTickLength (-0.02,"x")
 
gStyle SetTickLength (-0.02,"y")
 
gStyle SetTickLength (-0.02,"z")
 
gStyle SetLabelSize (.0525,"x")
 
gStyle SetLabelSize (.0525,"y")
 
gStyle SetLabelSize (.0525,"z")
 
gStyle SetPadTickX (1)
 
gStyle SetPadTickY (1)
 
gStyle SetPadTopMargin (0.03)
 
gStyle SetPadRightMargin (0.03)
 
gStyle SetPadBottomMargin (0.12)
 
gStyle SetPadLeftMargin (0.15)
 
 printf ("...Loading Fonts\n")
 
gStyle SetTitleFont (42)
 
gStyle SetStatFont (42)
 
gStyle SetTitleFont (42,"x")
 
gStyle SetTitleFont (42,"y")
 
gStyle SetTitleFont (42,"z")
 
gStyle GetAttDate () -> SetTextFont(42)
 
 printf ("...Loading Histo Options\n")
 
gStyle SetHistFillStyle (1001)
 
gStyle SetHistLineWidth (1)
 
gStyle SetOptDate (0)
 
gStyle SetPalette (1)
 
 printf ("\n")
 

Variables

TH2D * h1 =(TH2D*)f1->Get("hvtx201")
 
TH2D * h2 =(TH2D*)f1->Get("hvtx202")
 
TH2D * h3 =(TH2D*)f1->Get("hvtx203")
 
TH2D * h4 =(TH2D*)f1->Get("hvtx204")
 
TH1D * h1p =(TH1D*)h1->ProjectionX(" proj_x1",0,-1,"")
 
TH1D * h2p =(TH1D*)h1->ProjectionY(" proj_y2",0,-1,"")
 
TH1D * h3p =(TH1D*)h3->ProjectionY(" proj_y3",0,-1,"")
 
TH1D * h4p =(TH1D*)h4->ProjectionX(" proj_x4",0,-1,"")
 
TCanvas * c2 = new TCanvas("c2","c2")
 
GeV c = new TCanvas("c1","c1")
 
GeV c P
 

Function Documentation

c cd ( )
c cd ( )
c cd ( )
c6 Divide ( ,
 
)
h1 Draw ( "box"  )
h1p Draw ( )

Definition at line 64 of file NHitsPerEvent.C.

64  {
65 
66  std::cout << "mvdHitArray: " << mvdHitArray->GetEntries() << " projectedHitArray " << mvdProjectedArray->GetEntries() << std::endl;
67 
68 // gHitPoints->Clear();
71  //if (gHitPoints->GetN() != x.size()) gHitPoints->Expand(x.size());
72 
73  std::cout << "NHits: " << gHitPoints->GetN() << std::endl;
74  gHitPoints->Draw("apl");
75  gProjections->Draw("pl");
76 }
void ExtractData(TClonesArray *array, TGraph *g)
Definition: NHitsPerEvent.C:78
TGraph * gHitPoints
Definition: NHitsPerEvent.C:15
TClonesArray * mvdHitArray
Definition: NHitsPerEvent.C:12
TClonesArray * mvdProjectedArray
Definition: NHitsPerEvent.C:13
TGraph * gProjections
Definition: NHitsPerEvent.C:16
h4p Draw ( "same"  )
gStyle GetAttDate ( ) -> SetTextFont(42)
h1 GetXaxis ( ) -> CenterTitle()

Definition at line 30 of file ReadMesDecCorrRes_PiT.C.

30 {High} (GeV/c)");
h1 GetYaxis ( ) -> SetTitle("P_

Definition at line 28 of file ReadMesDecCorrRes_PiT.C.

28 {Low} (GeV/c)");
printf ( "...Loading Fit/Stat\n )
printf ( "...Loading Title Style\n )
printf ( "...Loading Label Style\n )
printf ( "...Loading Fonts\n )
printf ( "...Loading Histo Options\n )
printf ( "\n"  )
gStyle SetCanvasBorderMode ( )
gStyle SetCanvasBorderSize ( )
gStyle SetCanvasColor ( 10  )
gStyle SetDrawBorder ( )
gStyle SetFitFormat ( "2.3f"  )
gStyle SetFrameBorderMode ( )
gStyle SetFrameBorderSize ( )
gStyle SetHistFillStyle ( 1001  )
gStyle SetHistLineWidth ( )
gStyle SetLabelFont ( 42  ,
"x"   
)
gStyle SetLabelFont ( 42  ,
"y"   
)
gStyle SetLabelFont ( 42  ,
"z"   
)
gStyle SetLabelOffset ( 02,
"x"   
)
gStyle SetLabelOffset ( 025,
"y"   
)
gStyle SetLabelOffset ( 02,
"z"   
)
gStyle SetLabelSize ( 0525,
"x"   
)
gStyle SetLabelSize ( 0525,
"y"   
)
gStyle SetLabelSize ( 0525,
"z"   
)
h1p SetLineColor ( )
h3p SetLineColor ( )
h4p SetLineWidth ( )
gStyle SetOptDate ( )
gStyle SetOptFit ( )
gStyle SetOptStat ( )
gStyle SetPadBorderMode ( )
gStyle SetPadBorderSize ( )
gStyle SetPadBottomMargin ( 0.  12)
gStyle SetPadColor ( )
gStyle SetPadLeftMargin ( 0.  15)
gStyle SetPadRightMargin ( 0.  03)
gStyle SetPadTickX ( )
gStyle SetPadTickY ( )
gStyle SetPadTopMargin ( 0.  03)
gStyle SetPalette ( )
gStyle SetStatBorderSize ( )
gStyle SetStatColor ( )
gStyle SetStatFont ( 42  )
gStyle SetStatH ( 0.  1)
gStyle SetStatW ( 0.  15)
gStyle SetStatX ( 0.  46)
gStyle SetStatY ( 0.  9)
gStyle SetTickLength ( -0.  02,
"x"   
)
gStyle SetTickLength ( -0.  02,
"y"   
)
gStyle SetTickLength ( -0.  02,
"z"   
)
h1 SetTitle ( "#pi_{L} + #pi_{H} correlation"  )
h3p SetTitle ( "one pion events "  )
gStyle SetTitleBorderSize ( )
gStyle SetTitleColor ( )
gStyle SetTitleFillColor ( )
gStyle SetTitleFont ( 42  )
gStyle SetTitleFont ( 42  ,
"x"   
)
gStyle SetTitleFont ( 42  ,
"y"   
)
gStyle SetTitleFont ( 42  ,
"z"   
)
gStyle SetTitleOffset ( 1.  3,
"x"   
)
gStyle SetTitleOffset ( 1.  7,
"y"   
)
gStyle SetTitleOffset ( 1.  7,
"z"   
)
gStyle SetTitleSize ( 0525,
"x"   
)
gStyle SetTitleSize ( 0525,
"y"   
)
gStyle SetTitleSize ( 0525,
"z"   
)
gStyle SetTitleX ( 0.  5)
gStyle SetTitleY ( 0.  8)

Variable Documentation

GeV c = new TCanvas("c1","c1")

Definition at line 28 of file ReadMesDecCorrRes_PiT.C.

Referenced by PndTrkTrackFinder::Apollonius(), RhoCandList::Append(), PndFtsLineApproximator::approxInnerLine(), PndFtsLineApproximator::approxOuterLine(), benchmark(), boostList(), PndHypGeSpectrumAnalyser::Calibrate(), PndDrcReco::CanvasSave(), PndCAGBTracker::CATrackFinder(), PndTrkTrackFinder::CircleBy3Points(), RhoVertexSelectorBase::Combine(), combine(), RhoCandList::CombineAndAppend(), KFParticleBase::Convert(), KFParticleBaseSIMD::Convert(), PndFastSim::copyAndSetMass(), createCalibJuelichFeb02(), createFCalib(), createstt(), PndFastSim::cutAndSmear(), dalitz(), PndDrcReco::DetermineCherenkov(), PndMdtParamDigi::Draw(), DrawOriginTrackLipse(), PndFTSCADisplay::DrawParticleGlobal(), PndFTSCADisplay::DrawTPC(), emc_correction_hist(), emc_correction_parametrization(), PndFtsHoughSpace::equationParabola(), PndFtsHoughSpace::equationParabolaPz(), PndForwardTrackFinderTask::Exec(), PndHypFullIdealAna::Exec(), PndFastSim::Exec(), PndEmcHitProducer::Exec(), PndBarrelTrackFinder::FindInterestingRegions(), PndDrcReco::FindPeak(), PndDrcLutReco::FindPeak(), PndTrkCTGeometryCalculations::FindTrackEntranceExitHexagonCircleLeft(), PndSttTrackFinderReal::FindTrackEntranceExitHexagonCircleLeft(), PndTrkCTGeometryCalculations::FindTrackEntranceExitHexagonCircleLeft2(), PndTrkCTGeometryCalculations::FindTrackEntranceExitHexagonCircleRight(), PndSttTrackFinderReal::FindTrackEntranceExitHexagonCircleRight(), PndTrkCTGeometryCalculations::FindTrackEntranceExitHexagonCircleRight2(), PndSttMvdGemTracking::Fit(), fit1(), fit2(), RhoKalmanVtxFitter::FitVertexFast(), for(), PndListProvider::GetCandList(), PndFTSTopoReconstructor::GetChiToPrimVertex(), PndSttHitProducerIdeal::GetClostestApproachToWire(), PndFtsHitProducerIdeal::GetClostestApproachToWire(), KFParticleBaseSIMD::GetDistanceToVertexLine(), KFParticleBase::GetDSIter(), KFParticleBase::GetDStoParticleBy(), KFParticleBaseSIMD::GetDStoParticleBy(), KFParticleBase::GetDStoParticleBz(), KFParticleBaseSIMD::GetDStoParticleBz(), KFParticleBase::GetDStoPointBz(), KFParticleBaseSIMD::GetDStoPointBz(), KFParticleBase::GetEta(), KFParticleBaseSIMD::GetEta(), RhoVtxPoca::GetPocaTwoNeutral(), RhoCandList::GetTotalEnergy(), RhoCandList::GetTotalMomentum(), PndSttTrackFinderIdeal::GetTrackletCircular(), PndSoftTriggerTask::GetVarValue(), if(), PndWayFollower::init(), PndTrackCombiner::init(), PndTrkCTGeometryCalculations::IntersectionCircle_Segment(), PndSttTrackFinderReal::IntersectionCircle_Segment(), PndTrkCTGeometryCalculations::IntersectionCircle_Segment_forScitil(), PndTrkCTGeometryCalculations::IntersectionsWithClosedbiHexagonLeft(), PndSttTrackFinderReal::IntersectionsWithClosedbiHexagonLeft(), PndTrkCTGeometryCalculations::IntersectionsWithClosedbiHexagonRight(), PndSttTrackFinderReal::IntersectionsWithClosedbiHexagonRight(), PndTrkCTGeometryCalculations::IntersectionsWithClosedPolygon(), PndSttTrackFinderReal::IntersectionsWithClosedPolygon(), PndLmdAlignManager::loadBar(), PndMvdConvertApv::LoadCalibration(), main(), makefml(), makeRecoCands(), PndMvdAdvancedPidAlgo::MeanEnergyLoss(), PndHypAdvancedPidAlgo::MeanEnergyLoss(), PndFsmMvdPid::MeanEnergyLoss(), PndFsmMvd2::MeanEnergyLoss(), RhoFactory::NewCandidate(), operator>>(), PndFtfDirect::parseConfigfile(), plotmyhistos(), PndSttTrackFinderReal::PndSttTrkFindCircles(), RhoCandList::PrintOn(), pz(), PndRhoTupleQA::qaCand(), MyMainFrame::ReadParameters(), reco_analys(), PndFTSCAGBTracker::Refit_1(), RhoCandList::Remainder(), RhoCandList::RemoveClones(), KFParticleBase::RotateXY(), KFParticleBaseSIMD::RotateXY(), PndForwardTrackFinderTask::saveCombined(), PndForwardTrackFinderTask::saveTrackCollection(), RhoParticleSelectorBase::Select(), RhoCandList::Select(), select(), PndFsmTrack::setCharge(), genfit::Track::setCovSeed(), GFTrackCand::setCurv(), PndFsmTrack::setMass2(), KFParticleBase::SetMassConstraint(), KFParticleBaseSIMD::SetMassConstraint(), PndFsmTrack::setMvddEdX(), Photospp::PhotosDebugRandom::setSaveState(), Photospp::PhotosDebugRandom::setState(), PndFsmTrack::setSttdEdX(), PndFsmTrack::setTpcdEdX(), RhoError::SimilarityT(), similarityWith(), RhoError::SimilarityWith(), softtrigger_kin5(), softtrigger_toy12(), TestIt(), toy_core(), KFParticleBase::TransportBz(), KFParticleBaseSIMD::TransportBz(), KFParticleBase::TransportCBM(), KFParticleBaseSIMD::TransportCBM(), RhoKinHyperonVtxFitter::TransportToPoca(), and PndSttHelixTrackFitter::XYFit().

TCanvas* c2 = new TCanvas("c2","c2")

Definition at line 23 of file ReadMesDecCorrRes_PiT.C.

TH2D* h1 =(TH2D*)f1->Get("hvtx201")

Definition at line 9 of file ReadMesDecCorrRes_PiT.C.

TH1D* h1p =(TH1D*)h1->ProjectionX(" proj_x1",0,-1,"")

Definition at line 15 of file ReadMesDecCorrRes_PiT.C.

TH2D* h2 =(TH2D*)f1->Get("hvtx202")

Definition at line 10 of file ReadMesDecCorrRes_PiT.C.

TH1D* h2p =(TH1D*)h1->ProjectionY(" proj_y2",0,-1,"")

Definition at line 16 of file ReadMesDecCorrRes_PiT.C.

TH2D* h3 =(TH2D*)f1->Get("hvtx203")

Definition at line 12 of file ReadMesDecCorrRes_PiT.C.

TH1D* h3p =(TH1D*)h3->ProjectionY(" proj_y3",0,-1,"")

Definition at line 18 of file ReadMesDecCorrRes_PiT.C.

TH2D* h4 =(TH2D*)f1->Get("hvtx204")

Definition at line 13 of file ReadMesDecCorrRes_PiT.C.

TH1D* h4p =(TH1D*)h4->ProjectionX(" proj_x4",0,-1,"")

Definition at line 20 of file ReadMesDecCorrRes_PiT.C.

GeV c P

Definition at line 42 of file ReadMesDecCorrRes_PiT.C.

Referenced by PndMvdRiemannTrackFinderTaskEff::AddGhostTrack(), ana_complete(), ana_day1(), ana_dsdsj2_EvtLoop(), ana_example(), ana_multi(), anaideal_complete(), check_complete(), check_pid(), comp_complete(), comp_pid(), comp_recoqa(), PndMvdRiemannTrackFinderTaskEff::ComparingFandR(), KFParticleBase::Construct(), KFParticleBaseSIMD::Construct(), PndMvdRiemannTrackFinderTaskEff::Exec(), PndTutAnaTaskD0::Exec(), PndMyAnalysisTask::Exec(), PndDrcHitProducerIdeal::Exec(), PndDskFLGHitProducerIdeal::Exec(), RKTrackRep::Extrap(), KFParticleSIMD::GetExternalTrackParam(), EventShape::MultChrgPmaxCms(), PndEventShape::MultChrgPmaxCms(), EventShape::MultChrgPmaxLab(), PndEventShape::MultChrgPmaxLab(), EventShape::MultChrgPminCms(), PndEventShape::MultChrgPminCms(), EventShape::MultChrgPminLab(), PndEventShape::MultChrgPminLab(), EventShape::MultPmaxCms(), PndEventShape::MultPmaxCms(), RhoEventShapes::MultPmaxCms(), EventShape::MultPmaxLab(), PndEventShape::MultPmaxLab(), RhoEventShapes::MultPmaxLab(), EventShape::MultPminCms(), PndEventShape::MultPminCms(), RhoEventShapes::MultPminCms(), EventShape::MultPminLab(), PndEventShape::MultPminLab(), RhoEventShapes::MultPminLab(), mz_E_to_s(), mz_pp_to_leplep_vandewi_event(), mz_pp_to_pipi_vandewi_event(), mz_pp_to_pipi_vandewi_init(), PndDrcHitProducerReal::ProcessBarPoint(), PndMdt::ProcessHitsFast(), PndMdt::ProcessHitsRoot(), PndTrackDraw::PropagateTrack(), PndTrackDraw::PropagateTrackHelix(), PndFsmEmcPid::respond(), PndFsmMdtPid::respond(), PndLepLepGenerator::SetBeamMom(), PndPiPiGenerator::SetBeamMom(), RhoKalmanVtxFitter::SetExpansionPoint(), PndSciTAnaIdeal::SetSciTEventCorr(), sim(), EventShape::SumChrgPmaxCms(), PndEventShape::SumChrgPmaxCms(), EventShape::SumChrgPmaxLab(), PndEventShape::SumChrgPmaxLab(), EventShape::SumChrgPminCms(), PndEventShape::SumChrgPminCms(), EventShape::SumChrgPminLab(), PndEventShape::SumChrgPminLab(), EventShape::SumPmaxCms(), PndEventShape::SumPmaxCms(), EventShape::SumPmaxLab(), PndEventShape::SumPmaxLab(), EventShape::SumPminCms(), PndEventShape::SumPminCms(), EventShape::SumPminLab(), PndEventShape::SumPminLab(), tut_ana_comb(), tut_ana_d0(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().