FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
TFile | f ("./testrun.root") |
f | ls () |
f | cd () |
tree | SetMarkerSize (.3) |
tree | SetMarkerStyle (20) |
tree | SetMarkerColor (2) |
tree | Draw ("fELoss:TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)", ppos &&"fELoss < 0.04") |
tree | Draw ("fX_out:fY_out:fZ_out", ppos &&pions) |
tree | SetMarkerColor (3) |
tree | Draw ("fX_out:fY_out:fZ_out", ppos &&protons,"same") |
tree | SetMarkerColor (4) |
c3 | Divide (2, 2) |
c3 | cd (1) |
tree | Draw ("TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)", pions &&ppos &&pinf) |
c3 | cd (2) |
tree | Draw ("TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)", muons &&ppos &&pinf) |
c3 | cd (3) |
tree | Draw ("TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)", electrons &&ppos &&pinf) |
c3 | cd (4) |
tree | SetMarkerColor (5) |
tree | Draw ("TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)", protons &&ppos &&pinf) |
tree | Draw ("fELoss", ppos &&pinf &&"fELoss < 0.04"&&"fELoss > 0.005") |
tree | Draw ("TMath::ACos(1/(1.47*(TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)/TMath::Sqrt((fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out) + fmass*fmass)))):TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)", ppos &&pions &&"fELoss < 0.04") |
tree | SetMarkerColor (1) |
Variables | |
TTree * | tree = (TTree*)gDirectory->Get("pndsim") |
Double_t | mom = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" |
Double_t | energy = "TMath::Sqrt(mom*mom + fmass*fmass)" |
Double_t | thetaC = "TMath::ACos(1/(1.47*(mom/energy)))" |
TCut | pions = "fPdgCode==-211 || fPdgCode == 211" |
TCut | protons = "fPdgCode==2212 || fPdgCode == -2212" |
TCut | muons = "fPdgCode==13 || fPdgCode == -13" |
TCut | electrons = "fPdgCode==11 || fPdgCode == -11" |
TCut | ppos = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)>0." |
TCut | pinf = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)<2.7" |
TCut | lenti = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)<1." |
c1 = new TCanvas("dE/dx vs momentum - Drc barrel") | |
c2 = new TCanvas("X vs Y vs Z - Drc barrel") | |
c3 = new TCanvas("momentum") | |
c4 = new TCanvas("Eloss - Drc barrel") | |
c5 = new TCanvas("ThetaC vs momentum - Drc barrel") | |
c11 cd | ( | ) |
c2 cd | ( | 1 | ) |
c2 cd | ( | 2 | ) |
c2 cd | ( | 3 | ) |
c2 cd | ( | 4 | ) |
myCan3 Divide | ( | 2 | , |
2 | |||
) |
tree Draw | ( | "fELoss:TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" | ) |
Referenced by Next(), and TrackPointsVis().
tree Draw | ( | "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" | , |
pions &&ppos && | pinf | ||
) |
tree Draw | ( | "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" | , |
muons &&ppos && | pinf | ||
) |
tree Draw | ( | "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" | , |
electrons &&ppos && | pinf | ||
) |
tree Draw | ( | "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" | , |
protons &&ppos && | pinf | ||
) |
tree Draw | ( | "TMath::ACos(1/(1.47*(TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)/TMath::Sqrt((fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out) + fmass*fmass)))):TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" | ) |
TFile f | ( | "./testrun.root" | ) |
tree SetMarkerColor | ( | 2 | ) |
tree SetMarkerColor | ( | 3 | ) |
tree SetMarkerColor | ( | 4 | ) |
tree SetMarkerColor | ( | 5 | ) |
tree SetMarkerColor | ( | 1 | ) |
tree SetMarkerSize | ( | . | 3 | ) |
tree SetMarkerStyle | ( | 20 | ) |
Definition at line 35 of file plot_dirc.C.
Referenced by ana_chic(), ana_d0d0b(), ana_d0d0b_micro(), ana_dsdsj(), ana_dsdsj2(), ana_dsdsj2_EvtLoop(), ana_dsdsj_full(), ana_dsinc(), ana_etac_3pi0(), ana_example(), ana_fast_psi2s(), ana_hc(), ana_Lambda(), ana_Lambda_fit(), ana_Lambda_fit2(), ana_psi2s_fit(), ana_track(), analyse_etac1(), analyse_etac1_slc(), analyse_J(), analyse_J_slc(), analyse_phi(), analyse_phi2(), analyse_phi_base(), analysis(), analysis_cluster_energyCorrection_Ntuple_suplement(), autocutx(), PndRiemannTrack::calcErrorLineOffset(), PndRiemannTrack::calcIntersection(), PndFTSCAParam::CalculateFieldSlice(), checkphsp2_2(), PndSmpCand::CombCand(), PndFilteredPrimaryGenerator::CombineList(), combinePlotsEtac(), combinePlotsEtac_slc(), combinePlotsJ(), combinePlotsJ_slc(), combinePlotsPhi(), comp_complete(), comp_pid(), comp_recoqa(), compareDalitzPlot(), crosstag(), cutfinder(), cutfinder_fullev(), cutfinder_toyev(), cutfinderx(), MyMainFrame::DoDraw(), MyMainFrame::DoSave(), PndMdtParamDigi::Draw(), DrawField(), drawMvdHistos(), Eff_lE(), emc_correction_parametrization(), emc_correction_QA(), error_matrix_fit(), evaltrig(), PndFtsDataAccessor::Exec(), FCDrawVariable(), FCInit(), findcuts(), PndMvdRiemannVertexFinderTask::FindVertex(), fit_resolution(), KFParticleFinder::GetChi2BetweenParticles(), getpars(), inspectmode(), inspectvar(), PndMvdAdvancedPidAlgo::LandauGaus(), PndHypAdvancedPidAlgo::LandauGaus(), PndFsmMvdPid::LandauGaus(), PndFsmMvd2::LandauGaus(), main(), makeTMVADemoData(), PndMvdAdvancedPidAlgo::mpv(), PndHypAdvancedPidAlgo::mpv(), PndFsmMvdPid::mpv(), PndFsmMvd2::mpv(), PndSmpCand::operator!=(), overall_perf(), overall_perf_full(), Pic_Compare_FEP_Eff(), Pic_FEP_DEGASComparison(), Pic_FEP_Eff_lEE(), Pic_FEP_Eff_lEE_XiManyTargets(), Pic_OmegaQuadrupoleComparison(), pid_plot(), plot_all(), plot_trackingQA(), plotTMVADemoData(), PndFsmTrack::Propagate(), qadalitz(), qadalitz2(), QAmacro_fastsim_2(), ReadHCal(), RhoEventShape::RhoEventShape(), PndMQTopix4OnlineHisto::Run(), run_ana_sttcombi(), run_ana_tpccombi(), runDetectorInfo(), runEventInfo(), runOnlineDisplay(), runOnlineDisplayGeomTest(), runOnlineDisplayMCCheck(), runOnlineDisplayMCCheckFaster(), runOnlineDisplayMCCheckFaster2(), runOnlineDisplayMCCheckFaster3(), runOnlineDisplayProduction(), runOnlineDisplayRelease(), runStreamDisplay(), runTripletAna(), runTripletFinderMini(), SamplesSummaryAlign(), SenseAlign(), showvarexample(), simanalys(), simubg(), SummaryAlign(), testFilter(), TimeStructure(), TMVATester(), TOTALSummaryAlign(), toy_core(), trapmap_barrel(), trapmap_disc(), trickySummaryAlign(), tut_makegifs(), VarCorrP(), vis_mc_ids(), and PndLmdQATask::WriteHists().
Definition at line 39 of file plot_dirc.C.
Referenced by analysis(), PndRiemannTrack::calcErrorLineOffset(), PndRiemannTrack::calcIntersection(), PndFTSCAParam::CalculateFieldSlice(), checkphsp2_2(), PndSmpCand::CombCand(), PndFilteredPrimaryGenerator::CombineList(), crosstag(), PndMdtParamDigi::Draw(), DrawField(), drawMvdHistos(), drawTracks(), Eff_lE(), emc_correction_parametrization(), emc_correction_QA(), error_matrix_fit(), evaltrig(), PndFtsDataAccessor::Exec(), PndMvdRiemannVertexFinderTask::FindVertex(), full_core_ntp(), KFParticleFinder::GetChi2BetweenParticles(), if(), PndMvdAdvancedPidAlgo::LandauGaus(), PndHypAdvancedPidAlgo::LandauGaus(), PndFsmMvdPid::LandauGaus(), PndFsmMvd2::LandauGaus(), main(), makeTMVADemoData(), NeutronAnalysis(), overall_perf(), overall_perf_full(), overall_perf_toy(), Pic_Compare_FEP_Eff(), Pic_FEP_DEGASComparison(), Pic_FEP_Eff_lEE(), plot_trackingQA(), PndSmpCand::PndSmpCand(), qadalitz(), qadalitz2(), ReadHCal(), runStreamDisplay(), softtrigger_toy12(), testFilter(), toy_core(), toy_core_ntp(), KFParticleBase::TransportCBM(), KFParticleBaseSIMD::TransportCBM(), and PndLmdQATask::WriteHists().
c3 = new TCanvas("momentum") |
Definition at line 50 of file plot_dirc.C.
Referenced by analysis(), PndSmpCand::CombCand(), PndFilteredPrimaryGenerator::CombineList(), crosstag(), DrawField(), Eff_lE(), emc_correction_parametrization(), emc_correction_QA(), error_matrix_fit(), evaltrig(), KFParticleFinder::GetChi2BetweenParticles(), main(), overall_perf(), overall_perf_full(), overall_perf_toy(), Pic_Compare_FEP_Eff(), plot_trackingQA(), and PndSmpCand::PndSmpCand().
c4 = new TCanvas("Eloss - Drc barrel") |
Definition at line 71 of file plot_dirc.C.
Referenced by analysis(), PndSmpCand::CombCand(), PndFilteredPrimaryGenerator::CombineList(), Eff_lE(), emc_correction_parametrization(), emc_correction_QA(), error_matrix_fit(), KFParticleFinder::GetChi2BetweenParticles(), HypHitAnasigBg_AR(), main(), overall_perf_toy(), Pic_Compare_FEP_Eff(), plot_trackingQA(), and PndSmpCand::PndSmpCand().
c5 = new TCanvas("ThetaC vs momentum - Drc barrel") |
Definition at line 75 of file plot_dirc.C.
Referenced by emc_correction_parametrization(), emc_correction_QA(), and KFParticleFinder::GetChi2BetweenParticles().
TCut electrons = "fPdgCode==11 || fPdgCode == -11" |
Definition at line 21 of file plot_dirc.C.
Definition at line 15 of file plot_dirc.C.
Referenced by RhoKinFitter::AddTotEConstraint(), RhoKinHyperonFitter::AddTotEConstraint(), anaDMesonsCharged(), PndMvdPastaTorino::AnalyzeData(), PndMvdAllDataEventAna::CalcMeanHitPos(), PndEmcFullStackedWaveformSimulator::CalcWaveForTime(), PndEmcClusterHistCalibrator::Energy(), error_matrix_fit(), PndEmcMakeRecoHit::Exec(), PndEmcFWEndcapDigi::Exec(), PndEmcFWEndcapTimebasedWaveforms::Exec(), PndEmcMakeDigi::Exec(), PndDrcHitProducerIdeal::Exec(), PndDskFLGHitProducerIdeal::Exec(), PndEmcMakeCorr::Exec(), PndEmcWaveformToCalibratedDigi::Exec(), PndEmcMultiWaveformToCalibratedDigi::Exec(), PndCaloDraw::FillHisto(), FitGammaSpectra(), full_core_ntp(), PndPidBremCorrector::GetMergPhotonE(), RhoCandList::GetTotalEnergy(), PndPidCorrelator::GetTrackInfo(), KFParticleBaseSIMD::Initialize(), KFParticleBase::Initialize(), DecayTreeFitter::RecoPhoton::initParPhoton(), interpolate_fieldmaps(), PndDrcHitProducerReal::ProcessBarPoint(), DecayTreeFitter::InternalParticle::projectKineConstraint(), DecayTreeFitter::RecoPhoton::projectRecoConstraint(), PndGiBuuGenerator::ReadEvent(), RhoLorentzVectorErr::RhoLorentzVectorErr(), PndStack::SelectTracks(), PndEmcHeader::SetCluEnergy(), RhoCandidate::SetE(), PndEmcApdHit::SetEnergy(), PndEmcHit::SetEnergy(), PndEmcDigi::SetEnergy(), PndMvdPastaDigi::SetEnergyBranch(), PndEmcHeader::SetHitEnergy(), simu_tag(), PndEmcWaveformToDigi::SmearFakeOnline(), toy_core_ntp(), DecayTreeFitter::Fitter::updateCand(), PndEmcWaveform::UpdateWaveform(), and PndEmcClusterHistCalibrator::Where().
TCut lenti = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)<1." |
Definition at line 26 of file plot_dirc.C.
Double_t mom = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)" |
Definition at line 14 of file plot_dirc.C.
Referenced by PndDrc::AddHit(), ana_example(), PndTrackingQA::AnalyseEvent(), PndTrackingQualityBarrelAnalysisNewLinks::AnalyseEvent(), FairEvtFilterOnSingleParticleCounts::AndMinMaxMom(), PndHypMSAnaTask::AssignHitsToTracks(), RhoKalmanVtxFitter::CalcPrgParams(), check_trackcand(), PndGemTrackFinderOnHits::CreateTracks(), PndMvdGemTrackFinderOnHits::CreateTracks(), PndGemTrackFinderOnHitsTB::CreateTracks(), digi_complete_runs(), PndGemTrackFinderIdeal::DoFind(), PndPidFtofAssociatorTask::DoPidMatch(), PndPidSciTAssociatorTask::DoPidMatch(), PndFsmMdcTS::dp(), PndFsmMdcFS::dp(), PndFsmStt::dp(), GFMaterialEffects::energyLossBetheBloch(), GFMaterialEffects::energyLossBrems(), PndRichRecoTask::Exec(), PndMvdRadDamIonizingTask::Exec(), PndMvdRadDamTask::Exec(), PndPmtTask::Exec(), PndRichHitProducer::Exec(), PndPidBremCorrector::Exec(), PndHypGeIdealTrackFinderTask::Exec(), PndHypIdealTrackingTask::Exec(), PndHypMicroWriter::Exec(), PndFastSim::Exec(), PndHypDPatternRecoTask::Exec(), PndRadMapBoxMesh::Fill(), findtrack(), GeaneTrackRep::GeaneTrackRep(), gem_material_ana1(), PndAnalysisForwardTask::getMcTracks(), GeaneTrackRep::getMom(), PndFtsHoughTrackCand::getP(), PndFtsHoughTrackCand::getTrackParPForHit(), DecayTreeFitter::ParticleBase::initTau(), main(), materialana(), momentumfilter(), GFMaterialEffects::noiseCoulomb(), RhoCalculationTools::P6FromTrajectory(), pid_complete_runs(), PndCAMCTrack::PndCAMCTrack(), PndFtfDirect::PndFtfDirect(), PndFTSCAMCTrack::PndFTSCAMCTrack(), PndLmdDimPropMat::PndLmdDimPropMat(), poormantracks(), PndPidMvaAssociatorTask::PrepareEvtVect(), PndFtfDirect::ProcessEvent(), PndDisc::ProcessHits(), PndStt::ProcessHits(), prod_sim(), DecayTreeFitter::ParticleBase::projectGeoConstraint(), DecayTreeFitter::RecoTrack::projectRecoConstraint(), PndTrackDraw::PropagateTrack(), PndTrackDraw::PropagateTrackHelix(), QAmacro_mvd_1(), rad_complete(), reco_complete_runs(), reco_LMD(), RKTrackRep::RKTrackRep(), run0AllSysDPMbkg(), run_sim(), run_sim_stt_dpm(), run_sim_sttcombi_dpm(), run_sim_sttcombi_evtgen(), run_sim_tpc_dpm(), run_sim_tpccombi_dpm(), run_sim_tpccombi_evtgen(), runGeaneTestSimBox(), runLumi0DPMbkg(), runLumi0DPMbkgSte(), runLumi0SimBox(), runLumi5Geane(), runLumi5RungeKutta(), runLumiPixel0SimBox(), runLumiPixel0SimDPM(), runLumiPixel0SimDPMDirect(), runLumiPixel0SimDPMDirect_all(), runLumiPixel0SimFTF(), runLumiPixel0SimFTFDirect(), runLumiPixel4bNoiseTrkFilter(), runLumiPixel5BackProp(), runLumiPixel5bCleanSig(), runLumiPixel5cCombFilt(), runLumiSimBox(), runMC_dpm(), runSim(), GFTrackCand::setComplTrackSeed(), PndLmdTrackQ::SetIPmom(), PndLmdTrackQ::SetMCmom(), PndTrackingQualityRecoInfo::SetMCMomentum(), PndLmdTrackQ::SetMCmomLMD(), PndPythia8Generator::SetMom(), PndTrackingQualityMCInfo::SetMomentumFirst(), PndTrackingQualityRecoInfo::SetMomentumFirst(), PndTrackingQualityMCInfo::SetMomentumLast(), PndTrackingQualityRecoInfo::SetMomentumLast(), PndDskFLGHit::SetMomPhoton(), PndMasterRunSim::Setup(), sim(), sim_complete(), sim_complete_pbarA(), sim_complete_runs(), sim_complete_vis(), sim_emc(), sim_evtgen(), sim_filter_ex1(), sim_filter_ex2(), sim_filter_inv_mass(), sim_LMD(), sim_mvd(), sim_rich(), sim_scit(), sim_stt_bg(), sim_stt_signal1(), sim_stt_signal2(), sim_test(), sim_toy(), simfast_cmp(), simfast_dpm(), simfast_dpm_cmp(), simInclusive(), PndTrackSmearTask::SmearTrackPar(), RhoCalculationTools::StateFromTrajectory(), GFMaterialEffects::stepper(), tb_sim_complete(), tb_sim_scit(), RhoCalculationTools::TransportToZ(), and DecayTreeFitter::RecoComposite::updCache().
TCut muons = "fPdgCode==13 || fPdgCode == -13" |
Definition at line 20 of file plot_dirc.C.
TCut pinf = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)<2.7" |
Definition at line 25 of file plot_dirc.C.
Referenced by PndRhoTupleQA::qaPid().
TCut pions = "fPdgCode==-211 || fPdgCode == 211" |
Definition at line 18 of file plot_dirc.C.
TCut ppos = "TMath::Sqrt(fPx_out*fPx_out+ fPy_out*fPy_out+ fPz_out*fPz_out)>0." |
Definition at line 24 of file plot_dirc.C.
Referenced by muon_barrel_strip_5bis().
TCut protons = "fPdgCode==2212 || fPdgCode == -2212" |
Definition at line 19 of file plot_dirc.C.
Definition at line 16 of file plot_dirc.C.
Referenced by PndRichHitProducer::Exec(), PndDskFLGHitProducerIdeal::Exec(), and PndPidRichAssociatorTask::GetPdf().
TTree* tree = (TTree*)gDirectory->Get("pndsim") |
Definition at line 12 of file plot_dirc.C.
Referenced by TGo4EventElement::activateBranch(), ana_check(), ana_check_psi(), ana_invariantmass_2pi_tpc(), analysis(), check_trackcand(), Photospp::PhotosBranch::createBranches(), Photospp::PhotosParticle::getDecayTree(), pid_check(), plotTrackCands(), QAmacro_mdt_2(), run_ana_eta_c_stt(), run_ana_eta_c_tpc(), run_ana_invariantmass_2pi_stt(), run_ana_invariantmass_2pi_tpc(), run_ana_invariantmass_4pi_stt(), run_ana_invariantmass_4pi_tpc(), test_check(), track_check(), track_check_2pi_stt(), track_check_2pi_tpc(), track_check_4pi_stt(), and track_check_4pi_tpc().