BOSS 7.1.2
BESIII Offline Software System
|
#include "TCanvas.h"
#include "TFile.h"
#include "TTree.h"
#include "TH1F.h"
#include <sstream>
#include <iostream>
#include <string>
#include <cstring>
#include <vector>
#include <cmath>
#include "TCut.h"
Go to the source code of this file.
Macros | |
#define | mass_e 0.511e-3 |
#define | mass_mu 105.658e-3 |
#define | mass_pi 139.570e-3 |
#define | mass_k 493.677e-3 |
#define | mass_p 938.272e-3 |
Functions | |
void | collect (TString filename, int type, TTree *tree) |
void | setregion () |
int | main () |
Variables | |
float | ptrk |
float | dEdx_meas |
float | costheta |
float | charge |
float | bg |
float | mass |
int | nhits |
float | dEdx_hit [100] |
#define mass_e 0.511e-3 |
Definition at line 22 of file prepare_data.cxx.
Referenced by collect().
#define mass_k 493.677e-3 |
Definition at line 25 of file prepare_data.cxx.
Referenced by collect().
#define mass_mu 105.658e-3 |
Definition at line 23 of file prepare_data.cxx.
Referenced by collect().
#define mass_p 938.272e-3 |
Definition at line 26 of file prepare_data.cxx.
Referenced by collect().
#define mass_pi 139.570e-3 |
Definition at line 24 of file prepare_data.cxx.
Referenced by collect().
void collect | ( | TString | filename, |
int | type, | ||
TTree * | tree ) |
Definition at line 66 of file prepare_data.cxx.
Referenced by main().
int main | ( | ) |
Definition at line 34 of file prepare_data.cxx.
void setregion | ( | ) |
Definition at line 111 of file prepare_data.cxx.
float bg |
Definition at line 28 of file prepare_data.cxx.
Referenced by HadronPrep::bgCosThetaFits(), HadronPrep::bgFits(), collect(), combineDigits(), combineMdcDigits(), WidgetParameterization::dedxPrediction(), drawmom(), f_group(), HadronCalibration::fitBGCurve(), HadronCalibration::fitSigmaVsNHit(), HadronCalibration::fitSigmaVsSin(), ElectronGenerator::generateEvents(), WidgetGenerator::generateEvents(), histgen(), main(), MixerAlg::mixDigi(), HadronCalibration::plotBGCurve(), HadronCalibration::plotEfficiency(), ElectronCorrection::process(), rebg(), root_to_csv(), CalibData::TofSimConstBase::setBarPMTGain(), TofConst::setBarPMTGain(), and WidgetGenerator::simulateDedx().
float charge |
Definition at line 28 of file prepare_data.cxx.
Referenced by Pdt::addParticle(), Pdt::addParticle(), FastVertexFit::addTrack(), BesTofDigitizerEcV4::StripStruct::avalanche(), HadronPrep::bgFits(), BesTofDigitizerBrV2::BirksLaw(), BesTofDigitizerEcV3::BirksLaw(), KalmanKinematicFit::BuildVirtualParticle(), KinematicFit::BuildVirtualParticle(), VertexFit::BuildVirtualParticle(), MdcUtilitySvc::cellTrackPassed(), collect(), BesEvent::ConstructMdcTrackFromRec(), BesEvent::ConstructMucTrackFromRec(), HoughHitList::continousHit(), EmcDigiCnv::DataObjectToTObject(), HltRawCnv::DataObjectToTObject(), MdcDigiCnv::DataObjectToTObject(), MucDigiCnv::DataObjectToTObject(), TofDigiCnv::DataObjectToTObject(), EvtBsquark::decay(), Dedx_Helix::Dedx_Helix(), CDChargedVisible< H >::defaultKinematicData(), Dedx_Helix::del4MDelA(), Ext_Helix::del4MDelA(), Helix::del4MDelA(), KalmanFit::Helix::del4MDelA(), VFHelix::del4MDelA(), Dedx_Helix::del4MXDelA(), Ext_Helix::del4MXDelA(), Helix::del4MXDelA(), KalmanFit::Helix::del4MXDelA(), VFHelix::del4MXDelA(), Dedx_Helix::delMDelA(), Ext_Helix::delMDelA(), Helix::delMDelA(), KalmanFit::Helix::delMDelA(), VFHelix::delMDelA(), BesTofDigitizerEcV4::Digitize(), TPerfectFinder::doit(), RawDataUtil::EmcChargeChannel(), RawDataUtil::EmcChargeMeasure(), BhabhaPreSelect::execute(), CosmicGenerator::execute(), DQADtag::execute(), EsTimeAlg::execute(), EventPreSelect::execute(), FarmMonitorAlg::execute(), KalFitAlg::execute(), MdcDedxRecon::execute(), MucRecTrkExt::execute(), Single::execute(), TrkExtAlg::execute(), Ext_Helix::Ext_Helix(), TofCheckData::Fill(), MdcCalib::fillHist(), DedxCalibCostheta::FillHists(), DedxCalibDocaEAng::FillHists(), DedxCalibEAng::FillHists(), DedxCalibMomentum::FillHists(), DedxCalibTzero::FillHists(), KalFitAlg::fillTds_ip(), SecondVertexFit::Fit(), Pdt::geantId(), Pdt::geantId(), DedxCalibEvent::genNtuple(), RecMucTrack::GetMdcExtTrack(), utility::getp4(), Helix::Helix(), KalmanFit::Helix::Helix(), histgen(), HoughMap::HoughMap(), HoughPeak::HoughPeak(), BesTofDigitizerEcV4::StripStruct::initial(), TRawData::initialize(), MdcDedxRecon::kaltrackrec(), Pdt::lookup(), Pdt::lundId(), Pdt::lundId(), main(), TTrackManager::makeTds(), RawDataUtil::MdcChargeChannel(), MdcDedxRecon::mdctrackrec(), DTagTool::p4(), DedxCorrecSvc::PathL(), Pdt::pdgId(), Pdt::pdgId(), BesTofDigitizerEcV4::StripStruct::print(), BesMdcSD::ProcessHits(), BesTofSD::ProcessHits(), KinematicFit::pull(), RootRawEvtReader::readEmc(), Pdt::readMCppTable(), RootRawEvtReader::readMdc(), RootRawEvtReader::readMuc(), RootRawEvtReader::readTof(), McTestAlg::RetrieveTof(), ChargedDReconstruction::saveDpInfo(), DsReconstruction::saveDsInfo(), BesRawDataWriter::SaveEmcDigits(), LambdaCReconstruction::saveLcInfo(), BesRawDataWriter::SaveMdcDigits(), BesRawDataWriter::SaveTofDigits(), BesGeoTrack::SetCharge(), BesTofHit::SetCharge(), Emc2DCrystal::SetCharge(), Mdc2DWire::SetCharge(), TMcHitTof::SetCharge(), Tof2DScin::SetCharge(), Event::McTrajectory::setCharge(), Hough2D::setCharge(), Hough3D::setCharge(), HoughTrack::setCharge(), EmcROOTGeo::SetHits(), MdcROOTGeo::SetHits(), TofROOTGeo::SetHits(), BesEmcTruthHit::SetPDGCharge(), BesTruthTrack::SetPDGCharge(), Event::EmcMcHit::setPDGCharge(), EmcDigiCnv::TObjectToDataObject(), HltRawCnv::TObjectToDataObject(), MdcDigiCnv::TObjectToDataObject(), MdcKalTrackCnv::TObjectToDataObject(), MdcTrackCnv::TObjectToDataObject(), MucDigiCnv::TObjectToDataObject(), RecMdcKalTrackCnv::TObjectToDataObject(), RecMdcTrackCnv::TObjectToDataObject(), TofDigiCnv::TObjectToDataObject(), RawDataUtil::TofChargeChannel(), Track2Helix(), ChargedDReconstruction::updateKsInfo(), DsReconstruction::updateKsInfo(), LambdaCReconstruction::updateKsLambdaInfo(), VFHelix::VFHelix(), and KalmanVertexFit::wTrack().
float costheta |
Definition at line 28 of file prepare_data.cxx.
Referenced by AngularSam::amps(), EvtPsi3Sdecay::AngSam(), EvtConExc::angularSampling(), EvtRexc::angularSampling(), EvtNT3::AR1(), EvtNT3::AR2(), EvtNT3::AR3(), EvtConExc::baryon_sampling(), DedxCorrecSvc::CellCorrec(), collect(), KalFitAlg::complete_track(), KalFitAlg::complete_track(), DedxCorrecSvc::CosthetaCorrec(), EvtAngSam3::decay(), EvtAngSam::decay(), EvtAngSamLab::decay(), EvtAngSamX::decay(), EvtHAngSam3::decay(), EvtJ2BB1::decay(), BesTofDigitizerBrV2::DirectPh(), DQA_EMC::execute(), DQA_MUC::execute(), McCor::execute(), MdcDedxRecon::execute(), SD0Tag::execute(), TofRec::execute(), f_real_work(), DedxCalibCostheta::FillHists(), DedxCalibDocaEAng::FillHists(), DedxCalibEAng::FillHists(), DedxCalibLayerGain::FillHists(), DedxCalibMomentum::FillHists(), DedxCalibRunByRun::FillHists(), DedxCalibTzero::FillHists(), DedxCalibWireGain::FillHists(), DedxSaveWireGain::FillHists(), EvtConExc::findMaxXS(), BesPrimaryGeneratorAction::GeneratePrimaries(), DedxCalibEvent::genNtuple(), DedxCorrecSvc::HadronCorrec(), ElectronCorrection::HadronCorrection(), histgen(), DedxPID::interpolation(), DSemilepAlg::isGoodTrack(), DTagTool::isGoodTrack(), DTagTool::isGoodTrack_loose(), EvtConExc::ISR_ang_integrate(), KalFitAlg::kalman_fitting_anal(), KalFitAlg::kalman_fitting_calib(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), MdcDedxRecon::kaltrackrec(), DedxCorrecSvc::LayerCorrec(), main(), MdcDedxRecon::mdctrackrec(), EvtConExc::meson_sampling(), EvtRexc::meson_sampling(), LocalKaonSelector::operator()(), LocalPionSelector::operator()(), LocalProtonSelector::operator()(), EvtConExc::photonSampling(), DedxCorrecSvc::SaturCorrec(), TofTrack::setExtTrack(), DedxCorrecSvc::StandardCorrec(), DedxCorrecSvc::StandardHitCorrec(), DedxCorrecSvc::StandardTrackCorrec(), t(), EvtConExc::VP_sampling(), and EvtRexc::VP_sampling().
float dEdx_hit[100] |
Definition at line 30 of file prepare_data.cxx.
Referenced by collect(), DedxCalibEvent::genNtuple(), and main().
float dEdx_meas |
Definition at line 28 of file prepare_data.cxx.
Referenced by collect(), MdcDedxRecon::execute(), DedxCalibEvent::genNtuple(), histgen(), and main().
float mass |
Definition at line 28 of file prepare_data.cxx.
Referenced by collect().
int nhits |
Definition at line 29 of file prepare_data.cxx.
Referenced by MdcSeg::addHits(), collect(), KalFitAlg::complete_track(), KalFitAlg::complete_track(), RecMdcKalTrackCnv::DataObjectToTObject(), doLineFit(), MdcMergeDups::dumpRecMdcTrack(), MdcTrkRecon::dumpTdsTrack(), DstEventMaker::execute(), TrkReco::execute(), f_cals(), ResiAlign::fillHist(), FillValidRecMdcTrackHisto(), TrkHelixFitter::fit(), ElectronCalibration::fitRunGains(), HadronCalibration::fitSigmaVsNHit(), FTTrack::get_nhits(), KalFitAlg::kalman_fitting_csmalign(), KalFitAlg::kalman_fitting_MdcxReco_Csmc_Sew(), main(), TTrackManager::makeTds(), TrkHotListEmpty::operator=(), MdcPrintSvc::printRecMdcTrack(), ElectronCorrection::process(), DstExtTrack::SetMucKalData(), DstMdcKalTrack::setNhits(), RecMdcKalTrack::setNhits(), RecMdcTrack::setNhits(), TRecMdcKalTrack::setNhits(), WidgetGenerator::simulateReconstruction(), RecMdcDedxCnv::TObjectToDataObject(), RecMdcKalTrackCnv::TObjectToDataObject(), RecMdcTrackCnv::TObjectToDataObject(), and ElectronCalibration::TwoDCorrection().
float ptrk |
Definition at line 28 of file prepare_data.cxx.
Referenced by TrackPool::AddMissTrack(), TrackPool::AddMissTrack(), TrackPool::AddTrack(), TrackPool::AddTrackVertex(), DedxPID::cal_par(), collect(), DedxPID::CorrDedx(), event_validate(), CalibEventSelect::execute(), DQADtag::execute(), DQAJpsi2PPbarAlg::execute(), DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), EmcSelBhaEvent::execute(), EventPreSelect::execute(), Gam4pikp::execute(), inclks::execute(), inclkstar::execute(), incllambda::execute(), inclphi::execute(), MdcDedxRecon::execute(), PipiJpsi::execute(), Ppjrhopi::execute(), Rhopi::execute(), rhopi::execute(), Signal::execute(), TestV::execute(), DedxCalibCostheta::FillHists(), DedxCalibDocaEAng::FillHists(), DedxCalibEAng::FillHists(), DedxCalibLayerGain::FillHists(), DedxCalibMomentum::FillHists(), DedxCalibTzero::FillHists(), DedxCalibWireGain::FillHists(), DedxSaveWireGain::FillHists(), DedxCalibEvent::genNtuple(), EmcBhabhaEvent::getDepoMCShowerEnergy_lab(), getP4(), histgen(), MucPID::init(), DTagTool::isMuon(), DedxPID::iterate(), DedxPID::offsetCorr(), Tof1PID::offsetTof1(), Tof2PID::offsetTof2(), TofCPID::offsetTofC(), TofEPID::offsetTofE(), HTrackParameter::p(), DedxPID::particleIDCalculation(), EmcPID::particleIDCalculation(), MucPID::particleIDCalculation(), Tof1PID::particleIDCalculation(), Tof2PID::particleIDCalculation(), TofCorrPID::particleIDCalculation(), TofCPID::particleIDCalculation(), TofEPID::particleIDCalculation(), DedxCalib::set_dEdx(), DedxPID::sigmaCorr(), TofCPID::sigmaTofC(), TofEPID::sigmaTofE(), and HTrackParameter::wTrack().