BOSS 7.0.7
BESIII Offline Software System
|
Go to the source code of this file.
Functions | |
TFile | f ("ana_bhabha660a_dqa_mcPat_zy_old.root") |
for (Int_t j=5;j< 15;j++) | |
cout<<"end eff1"<< endl;TFile f("ana_bhabha660a_dqa_dataPat_zy_old.root");for(Int_t j=5;j< 15;j++){ sprintf(cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=1", j, j);Bhabha-> | Draw ("kal_pxy0_em", cut) |
sprintf (cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=2", j, j) | |
Bhabha | Draw ("kal_pxy0_ep", cut) |
cout<<"end eff5"<< endl;TGraph *gr1=new TGraphErrors(15, x, eff_ep, errx, err_ep);TGraph *gr2=new TGraphErrors(15, x, eff_em, errx, err_em);TGraph *gr3=new TGraphErrors(15, x, eff_ep2, errx, err_ep2);TGraph *gr4=new TGraphErrors(15, x, eff_em2, errx, err_em2);TGraph *gr5=new TGraphErrors(15, x, eff_ep3, errx, err_ep3);TGraph *gr6=new TGraphErrors(15, x, eff_em3, errx, err_em3);TGraph *gr7=new TGraphErrors(15, x, eff_ep4, errx, err_ep4);TGraph *gr8=new TGraphErrors(15, x, eff_em4, errx, err_em4);TGraph *gr9=new TGraphErrors(15, x, eff_ep5, errx, err_ep5);TGraph *gr10=new TGraphErrors(15, x, eff_em5, errx, err_em5);TCanvas *c1=new TCanvas("c1","bhabha_eff", 100, 10, 600, 400);TMultiGraph *mg=new TMultiGraph();mg-> | SetTitle ("bhabha_eff") |
gr1 | SetLineColor (1) |
gr2 | SetLineColor (2) |
gr9 | SetLineColor (5) |
gr1 | SetMarkerColor (1) |
gr2 | SetMarkerColor (2) |
gr9 | SetMarkerColor (5) |
gr1 | SetMarkerStyle (8) |
gr3 | SetMarkerStyle (20) |
gr9 | SetMarkerStyle (28) |
mg | Add (gr3) |
mg | Add (gr7) |
mg | Draw ("AP") |
mg | GetYaxis () -> SetRangeUser(0.8, 1.02) |
mg | GetXaxis () -> SetRangeUser(0.5, 1.9) |
legend | AddEntry (gr3,"e+ Data oldPat","p") |
legend | AddEntry (gr7,"e+ Data newPat","p") |
legend | Draw () |
Variables | |
Double_t | errx [18] ={0} |
Int_t | pxy_ep1 [18] |
Int_t | pxy_ep2 [18] |
Int_t | pxy_ep3 [18] =htemp->GetEntries() |
Int_t | pxy_ep4 [18] =htemp->GetEntries() |
Int_t | pxy_ep5 [18] =htemp->GetEntries() |
Int_t | pxy_ep6 [18] =htemp->GetEntries() |
Int_t | pxy_ep7 [18] =htemp->GetEntries() |
Int_t | pxy_ep8 [18] =htemp->GetEntries() |
Int_t | pxy_ep9 [18] =htemp->GetEntries() |
Int_t | pxy_ep10 [18] =htemp->GetEntries() |
Int_t | pxy_ep11 [18] |
Int_t | pxy_ep12 [18] |
Int_t | pxy_em1 [18] |
Int_t | pxy_em2 [18] |
Int_t | pxy_em3 [18] =htemp->GetEntries() |
Int_t | pxy_em4 [18] =htemp->GetEntries() |
Int_t | pxy_em5 [18] =htemp->GetEntries() |
Int_t | pxy_em6 [18] =htemp->GetEntries() |
Int_t | pxy_em7 [18] =htemp->GetEntries() |
Int_t | pxy_em8 [18] =htemp->GetEntries() |
Int_t | pxy_em9 [18] =htemp->GetEntries() |
Int_t | pxy_em10 [18] =htemp->GetEntries() |
Int_t | pxy_em11 [18] |
Int_t | pxy_em12 [18] |
Double_t | eff_ep [18] |
Double_t | eff_em [18] |
Double_t | err_ep [18] |
Double_t | err_em [18] |
Double_t | eff_ep2 [18] |
Double_t | eff_em2 [18] |
Double_t | err_ep2 [18] |
Double_t | err_em2 [18] |
Double_t | eff_ep3 [18] |
Double_t | eff_em3 [18] |
Double_t | err_ep3 [18] |
Double_t | err_em3 [18] |
Double_t | eff_ep4 [18] |
Double_t | eff_em4 [18] |
Double_t | err_ep4 [18] |
Double_t | err_em4 [18] |
Double_t | eff_ep5 [18] |
Double_t | eff_em5 [18] |
Double_t | err_ep5 [18] |
Double_t | err_em5 [18] |
Double_t | eff_ep6 [18] |
Double_t | eff_em6 [18] |
Double_t | err_ep6 [18] |
Double_t | err_em6 [18] |
Char_t | cut [200] |
TLegend * | legend =new TLegend(0.7,0.65,0.85,0.75) |
mg Add | ( | gr3 | ) |
Referenced by PreXtCalib::calib(), GrXtCalib::init(), IniCalib::init(), PreT0Calib::init(), PreXtCalib::init(), QtCalib::init(), T0Calib::init(), XtInteCalib::init(), CalibBase::init(), MdcDedxRecon::initialize(), GrXtMdcCalib::initialize(), IniMdcCalib::initialize(), PreT0MdcCalib::initialize(), PreXtMdcCalib::initialize(), QtMdcCalib::initialize(), T0MdcCalib::initialize(), XtInteMdcCalib::initialize(), XtMdcCalib::initialize(), MdcCalib::initialize(), and PreXtMdcCalib::updateConst().
mg Add | ( | gr7 | ) |
legend AddEntry | ( | gr3 | , |
"e+ Data oldPat" | , | ||
"p" | |||
) |
Referenced by dEdxVsCos(), dEdxVsCosNP(), and dEdxVsP().
legend AddEntry | ( | gr7 | , |
"e+ Data newPat" | , | ||
"p" | |||
) |
mg Draw | ( | "AP" | ) |
Bhabha Draw | ( | "kal_pxy0_em" | , |
cut | |||
) |
Bhabha Draw | ( | "kal_pxy0_ep" | , |
cut | |||
) |
legend Draw | ( | ) |
Referenced by dEdxVsCos(), dEdxVsCosNP(), dEdxVsP(), drawmom(), Emc2DCrystal::ExecuteEvent(), Mdc2DWire::ExecuteEvent(), Muc2DStrip::ExecuteEvent(), Tof2DScin::ExecuteEvent(), gainVsDoca(), gainVsEangle(), BesVisDisplay::SetView(), BesVisDisplay::ShowNextEvent(), wiregVsWire_bylayer(), DedxCalibCostheta::WriteHists(), and DedxCalibMomentum::WriteHists().
TFile f | ( | "ana_bhabha660a_dqa_mcPat_zy_old.root" | ) |
Referenced by rdbModel::Row::addField(), BesGMenuBar::AddFrameBefore(), TRunge::approach_line(), EFResult::appToEFVec(), Dalitz::Babar_sakurai(), barrel_con2root(), barrel_conv2root(), WidgetCurve::bgCurve(), bitDisplay(), EvtbTosllVectorAmp::CalcAmp(), calib_conv2root(), eformat::FullEventFragment< TPointer >::check_tree(), eformat::old::ROBFragment::check_tree(), eformat::ROSFragment< TPointer >::check_tree(), eformat::SubDetectorFragment< TPointer >::check_tree(), check_two_sigma_violate(), Scheduler::clear(), TrkHotListFull::clone(), Code::Code(), components(), EvtAngH2::decay(), EvtBHadronic::decay(), EvtBody3::decay(), EvtHAngSam3::decay(), EvtMassH1::decay(), EvtMassH2::decay(), EvtmH2::decay(), dedx_vs_t0(), dEdxVsCos(), dEdxVsCosNP(), dEdxVsEang(), dEdxVsP(), BesMdcDigitizer::Digitize(), HelixTraj::direction(), TrkCircleTraj::direction(), draw_check_curve(), draw_illustration_hist(), draw_plots(), draw_separation(), drawmom(), TMDC::driftDistance(), eangle_slope(), endcap_con2root(), endcap_conv2root(), etf_conv2root(), CheckMYSQL::execute(), Builder::expect(), Builder::expectInt(), Builder::expectLong(), f_real_work(), Wr2dMdcCalib::fcnWireParab(), XtMdcCalib::fcnXT(), fcnXT(), XtMdcCalib::fcnXtEdge(), fcnXtEdge(), DedxCalibCostheta::FillHists(), DedxCalibDocaEAng::FillHists(), DedxCalibEAng::FillHists(), DedxCalibLayerGain::FillHists(), DedxCalibMomentum::FillHists(), DedxCalibRunByRun::FillHists(), DedxCalibTzero::FillHists(), DedxCalibWireGain::FillHists(), DedxSaveWireGain::FillHists(), TofCalibFit::fillRoot(), TofCalibration::fillRoot(), Builder::find(), Fit(), TRobustLineFitter::fit(), T3DLineFitter::fit(), TCosmicFitter::fit(), TMLink::fit2D(), TTrack::fit2D(), TRunge::Function(), TRadSpline5::GetCoeff(), DedxCalib::getCurvePar(), EvtBtoXsgammaRootFinder::GetGaussIntegFcnRoot(), MdcTunningSvc::GetRes2(), MdcTunningSvc::GetRes3(), EvtBtoXsgammaRootFinder::GetRootSingleFunc(), BesMdcCalTransfer::GetSigma(), KalFitTrack::getSigma(), EvtbTosllBallFF::getVectorFF(), HadronConst(), histgen(), histps(), digiRootReaderAlg::initialize(), EmcBuilder::initialize(), EmcMcHitBuilder::initialize(), HltBuilder::initialize(), McParticleBuilder::initialize(), MdcBuilder::initialize(), MdcMcHitBuilder::initialize(), MucMcHitBuilder::initialize(), TofBuilder::initialize(), TofMcHitBuilder::initialize(), rdbModel::Table::insertLatest(), rdbModel::Table::insertRow(), intersect(), join(), main(), TTrackManager::makeTds(), RawDataInputSvc::nextEvent(), MixerAlg::nextEvent(), OfflineRevise::OfflineRevise(), rdbModel::Assertion::Operator::Operator(), operator<<(), WidgetQuality::plotHistograms(), HelixTraj::position(), NeutTraj::position(), TrkCircleTraj::position(), TrkDifLineTraj::position(), EvtDalitzPlot::q(), BesTofDigitizerEcV3::ReadEffTree(), RawEventReader::readEvent(), readTree(), TrkFitMaker::repointHypo(), TrkHotList::resetParent(), eformat::old::ROBFragment::rod(), root_to_csv(), Dalitz::sakurai(), BesClient::SaveGeoAs(), XmlRpc::XmlRpcValue::setDoubleFormat(), TrkHitOnTrk::setFltLen(), DstMucTrack::setkalDof(), TMucTrack::setkalDof(), TRecMucTrack::setkalDof(), setregion(), WidgetSigma::sigmaCurve(), sim_barrel_conv2root(), sim_conv2root(), sim_endcap_conv2root(), slope(), TrackStatus(), TrkHotListFull::TrkHotListFull(), Trajectory::validFlightDistance(), rdbModel::Assertion::Operator::verify(), wireFit(), Range::within(), Range::within2(), WriteBeamParToDb(), DedxCalibCostheta::WriteHists(), DedxCalibDocaEAng::WriteHists(), DedxCalibEAng::WriteHists(), DedxCalibLayerGain::WriteHists(), DedxCalibMomentum::WriteHists(), DedxCalibRunByRun::WriteHists(), DedxCalibTzero::WriteHists(), DedxCalibWireGain::WriteHists(), WriteLumDB(), and writeTree().
for | ( | ) |
Definition at line 69 of file eff.cxx.
mg GetXaxis | ( | ) | -> SetRangeUser(0.5, 1.9) |
Referenced by dEdxVsCos(), dEdxVsCosNP(), dEdxVsP(), gainVsDoca(), gainVsEangle(), and wiregVsWire_bylayer().
mg GetYaxis | ( | ) | -> SetRangeUser(0.8, 1.02) |
Referenced by dEdxVsCos(), dEdxVsCosNP(), dEdxVsP(), gainVsDoca(), gainVsEangle(), and wiregVsWire_bylayer().
gr6 SetLineColor | ( | 1 | ) |
Referenced by BesGeoTrack::ExecuteEvent(), GrXtCalib::init(), GrXtMdcCalib::initialize(), and BesGeoTrack::SetCharge().
gr8 SetLineColor | ( | 2 | ) |
gr10 SetLineColor | ( | 5 | ) |
gr6 SetMarkerColor | ( | 1 | ) |
Referenced by BesMarker2D::BesMarker2D(), dEdxVsCos(), dEdxVsCosNP(), and dEdxVsP().
gr8 SetMarkerColor | ( | 2 | ) |
gr10 SetMarkerColor | ( | 5 | ) |
gr8 SetMarkerStyle | ( | 20 | ) |
gr10 SetMarkerStyle | ( | 28 | ) |
gr6 SetMarkerStyle | ( | 8 | ) |
Referenced by PreXtCalib::calib(), dEdxVsCos(), dEdxVsCosNP(), dEdxVsP(), GrXtCalib::init(), GrXtMdcCalib::initialize(), and PreXtMdcCalib::updateConst().
cout<<"end eff5"<< endl;TGraph *gr1=new TGraphErrors(15, x, eff_ep, errx, err_ep);TGraph *gr2=new TGraphErrors(15, x, eff_em, errx, err_em);TGraph *gr3=new TGraphErrors(15, x, eff_ep2, errx, err_ep2);TGraph *gr4=new TGraphErrors(15, x, eff_em2, errx, err_em2);TGraph *gr5=new TGraphErrors(15, x, eff_ep3, errx, err_ep3);TGraph *gr6=new TGraphErrors(15, x, eff_em3, errx, err_em3);TGraph *gr7=new TGraphErrors(15, x, eff_ep4, errx, err_ep4);TGraph *gr8=new TGraphErrors(15, x, eff_em4, errx, err_em4);TGraph *gr9=new TGraphErrors(15, x, eff_ep5, errx, err_ep5);TGraph *gr10=new TGraphErrors(15, x, eff_em5, errx, err_em5);TCanvas *c1=new TCanvas("c1","bhabha_eff", 100, 10, 600, 400);TMultiGraph *mg=new TMultiGraph();mg-> SetTitle | ( | "bhabha_eff" | ) |
Referenced by Emc2DCrystal::Emc2DCrystal(), Mdc2DWire::Mdc2DWire(), Muc2DStrip::Muc2DStrip(), and Tof2DScin::Tof2DScin().
sprintf | ( | cut | , |
" | kal_costheta0_em | ||
) |
Referenced by barrel_con2root(), barrel_conv2root(), BeamEnergyOnline(), HadronPrep::bgCosThetaFits(), HadronPrep::bgFits(), IniCalib::calib(), PreT0Calib::calib(), PreXtCalib::calib(), XtInteCalib::calib(), CalibBase::calib(), calib_barrel_common::calib_barrel_common(), calib_barrel_q0::calib_barrel_q0(), calib_barrel_sigma::calib_barrel_sigma(), calib_conv2root(), calib_endcap_atten::calib_endcap_atten(), calib_endcap_sigma::calib_endcap_sigma(), calib_etf_bunch::calib_etf_bunch(), BesEvent::ConstructEmcTrackFromRec(), BesEvent::ConstructMdcTrackFromRec(), BesEvent::ConstructMucTrackFromRec(), RootEstTofCalibDataCnv::createRoot(), RootTofCalibDataCnv::createRoot(), EvtJscont::decay(), BesVisDisplay::DrawHeader(), BesVisDisplay::DrawTitle(), endcap_con2root(), endcap_conv2root(), etf_conv2root(), CheckMYSQL::execute(), DQA_EMC::execute(), DQA_MUC::execute(), TofCalibFit::fillRoot(), TofCalibration::fillRoot(), TofCalibManager::fillRoot(), TwoGamma::finalize(), TTrack::fit2D(), HadronCalibration::fitSigmaVsNHit(), HadronCalibration::fitSigmaVsSin(), for(), XmlRpc::XmlRpcClient::generateHeader(), XmlRpc::XmlRpcServerConnection::generateHeader(), HltConfigSvc::GenFileFromDatabase(), FieldDBUtil::ConnectionDB::getBeamEnergy(), RealDBUtil::ConnectionProvider::getcal(), getConstants(), DedxCurSvc::getDedxCurveInfo(), getFnamesAtDB(), getHistList(), RealDBUtil::ConnectionProvider::getLumCurvePar(), MdcTunningSvc::getMdcTuningTableInfo(), Bes2DView::GetObjectInfo(), BesView::GetObjectInfo(), RealDBUtil::ConnectionProvider::getReadBackgroundInfo(), RealDBUtil::ConnectionProvider::getReadBunchInfo(), calibUtil::Metadata::getReadCorrectedETSInfo(), calibUtil::Metadata::getReadDedxInfo(), calibUtil::Metadata::getReadDedxSimInfo(), calibUtil::Metadata::getReadEMCInfo(), calibUtil::Metadata::getReadEsTimeInfo(), calibUtil::Metadata::getReadEstTofInfo(), calibUtil::Metadata::getReadInjSigIntervalInfo(), calibUtil::Metadata::getReadInjSigTimeInfo(), RealDBUtil::ConnectionProvider::getReadLumInfo(), calibUtil::Metadata::getReadMdcAlignInfo(), calibUtil::Metadata::getReadMdcDataConstInfo(), calibUtil::Metadata::getReadMDCInfo(), calibUtil::Metadata::getReadMUCInfo(), calibUtil::Metadata::getReadOffEvtFilterInfo(), FieldDBUtil::ConnectionDB::getReadSC_MagnetInfo(), calibUtil::Metadata::getReadTOFInfo(), calibUtil::Metadata::getReadTofQElecInfo(), calibUtil::Metadata::getReadTofSimInfo(), RealDBUtil::ConnectionProvider::getReadTofThreshInfo(), RealDBUtil::ConnectionProvider::getReadTrgTableInfo(), RealDBUtil::ConnectionProvider::getRunInfo(), CalibMySQLCnvSvc::getSftParVer(), TofEnergyCalibSvc::getSftParVer(), getSimConstants(), Identifier::getString(), TofEnergyCalibSvc::getTofEnergyCalibSvcInfo(), TofQCorrSvc::getTofQCorrInfo(), RealDBUtil::ConnectionProvider::getTrgConfigInfo(), hist_update(), RootEstTofCalibDataCnv::i_createObj(), RootMdcCalibDataCnv::i_createObj(), RootMucCalibDataCnv::i_createObj(), RootTofCalibDataCnv::i_createObj(), TreeEstTofCalibDataCnv::i_createObj(), TreeMucCalibDataCnv::i_createObj(), TreeTofCalibDataCnv::i_createObj(), ResiAlign::init(), GrXtCalib::init(), IniCalib::init(), PreT0Calib::init(), PreXtCalib::init(), QtCalib::init(), T0Calib::init(), XtCalib::init(), XtInteCalib::init(), CalibBase::init(), MucCalibMgr::Init2DEffHisto(), EmcROOTGeo::Init2DGeometry(), MagneticFieldSvc::init_params(), MucCalibMgr::InitClusterHisto(), MucCalibMgr::InitHistoLV2(), TestDbAlg::initialize(), DQA_EMC::initialize(), DQA_MUC::initialize(), BesVisAlg::initialize(), EFGlobalEnergy::initialize(), MilleAlign::initialize(), ResiAlign::initialize(), GrXtMdcCalib::initialize(), IniMdcCalib::initialize(), PreT0MdcCalib::initialize(), PreXtMdcCalib::initialize(), QtMdcCalib::initialize(), T0MdcCalib::initialize(), Wr2dMdcCalib::initialize(), WrMdcCalib::initialize(), XtInteMdcCalib::initialize(), XtMdcCalib::initialize(), MdcCalib::initialize(), MucCalibMgr::InitOnlineHisto(), MdcCosGeom::initPream(), MucCalibMgr::InitResHisto(), MdcCosGeom::initWire(), EvtJetSet::jetSetInit(), join(), BesClient::LoadGeoFile(), BesClient::LoadMyConfig(), main(), ResiAlign::mergeHist(), GrXtCalib::mergeHist(), IniCalib::mergeHist(), PreT0Calib::mergeHist(), PreXtCalib::mergeHist(), QtCalib::mergeHist(), T0Calib::mergeHist(), XtCalib::mergeHist(), XtInteCalib::mergeHist(), CalibBase::mergeHist(), mwAssert(), mwFree(), mwInit(), mwMark(), mwVerify(), BesClient::OpenEventFile(), BesClient::OpenGeoFile(), EmcSelBhaEvent::OutputMV(), EvtPythia::pythiaInit(), BesTofDigitizerEcV3::ReadEffTree(), ReadFromDB(), readTree(), ReWriteBeamParToDb(), BesClient::SaveGeoAs(), BesClient::SaveMyConfig(), BesClient::SavePicAs(), BesClient::SavePicAsPS(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), MucROOTGeo::SetHits(), TofROOTGeo::SetHits(), CalibData::MdcCalibData::setNewXtpar(), CalibData::MdcCalibData::setR2tpar(), sim_barrel_conv2root(), sim_endcap_conv2root(), testStruct(), ElectronCalibration::TwoDCorrection(), EvtAbsBinning< T >::typeLabel(), IniMdcCalib::updateConst(), PreT0MdcCalib::updateConst(), PreXtMdcCalib::updateConst(), WriteBeamParToDb(), WriteLumDB(), WriteLumTauDB(), and writeTree().
Char_t cut[200] |
Definition at line 63 of file eff.cxx.
Referenced by Pdt::addParticle(), check_two_sigma_violate(), for(), gainVsDoca(), gainVsEangle(), Pi0::make_gamma_list(), ExteIonisation::MinPrimaryEnergy(), ExthIonisation::MinPrimaryEnergy(), ExtMuIonisation::MinPrimaryEnergy(), Pdt::readMCppTable(), EventNavigator::setMdcCut(), EmcRecSplitWeighted::Split(), tau_mode(), and wiregVsWire_bylayer().