BOSS 7.0.2
BESIII Offline Software System
|
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include "TH1F.h"
#include "TFile.h"
#include "db_mysql.h"
#include "TF1.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
int | WriteLumDB () |
int | WriteBeamParToDb () |
int | ReWriteBeamParToDb () |
int | ReadFromDB () |
int | WriteLumTauDB () |
Variables | |
db_mysql | sqlonline |
db_mysql | sqloffline |
int | runNo |
char * | offline_user |
char * | offline_passwd |
char * | file |
const char * | server_ip = "bes3db1.ihep.ac.cn" |
char * | Creator =getenv("USER") |
char * | SftVer =getenv("BES_RELEASE") |
char * | ParVer |
char * | LumTau_txt |
bool | ISNeedReFit =0 |
bool | ISNeedReFitX =0 |
bool | ISNeedReFitY =0 |
bool | ISNeedReFitZ =0 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 25 of file DQA_TO_DB.cxx.
int ReadFromDB | ( | ) |
Definition at line 215 of file DQA_TO_DB.cxx.
Referenced by main().
int ReWriteBeamParToDb | ( | ) |
Definition at line 168 of file DQA_TO_DB.cxx.
Referenced by main().
int WriteBeamParToDb | ( | ) |
Definition at line 86 of file DQA_TO_DB.cxx.
Referenced by main().
int WriteLumDB | ( | ) |
Definition at line 56 of file DQA_TO_DB.cxx.
Referenced by main().
int WriteLumTauDB | ( | ) |
Definition at line 243 of file DQA_TO_DB.cxx.
Referenced by main().
char* Creator =getenv("USER") |
Definition at line 17 of file DQA_TO_DB.cxx.
Referenced by WriteBeamParToDb(), and WriteLumDB().
char* file |
Definition at line 15 of file DQA_TO_DB.cxx.
Referenced by RootInterface::addInput(), RootInterface::addOutput(), calib_conv2root(), UseMdcCalibData::execute(), RootInterface::f_addOutput(), TofCalibFit::fillRoot(), TofCalibration::fillRoot(), TofCalib::fillTxt(), TofCalibFit::fillTxt(), TofCalibration::fillTxt(), EvtMultiChannelParser::getDecayMode(), BesAboutHelp::GetPic(), BesClient::GetPic(), DetVerSvcPack::getRunFromFileList(), EvtXsection::ini_data_diy(), main(), mwCalloc(), mwFree(), mwMalloc(), mwMark(), mwRealloc(), mwStrdup(), mwTest(), mwTestBuffer(), mwUnmark(), EvtMultiChannelParser::parse(), RootInterface::printJobInfo(), parityC::readParityC(), readTree(), BesRunAction::SetAsciiFile(), BesRunAction::SetRootFile(), BesRunAction::SetTuningFile(), sim_conv2root(), WriteBeamParToDb(), WriteLumDB(), and writeTree().
bool ISNeedReFit =0 |
Definition at line 21 of file DQA_TO_DB.cxx.
Referenced by main(), and WriteBeamParToDb().
bool ISNeedReFitX =0 |
Definition at line 22 of file DQA_TO_DB.cxx.
Referenced by ReWriteBeamParToDb(), and WriteBeamParToDb().
bool ISNeedReFitY =0 |
Definition at line 23 of file DQA_TO_DB.cxx.
Referenced by ReWriteBeamParToDb(), and WriteBeamParToDb().
bool ISNeedReFitZ =0 |
Definition at line 24 of file DQA_TO_DB.cxx.
Referenced by ReWriteBeamParToDb(), and WriteBeamParToDb().
char* LumTau_txt |
Definition at line 20 of file DQA_TO_DB.cxx.
Referenced by main(), and WriteLumTauDB().
char* offline_passwd |
Definition at line 14 of file DQA_TO_DB.cxx.
Referenced by main().
char* offline_user |
Definition at line 13 of file DQA_TO_DB.cxx.
Referenced by main().
char* ParVer |
Definition at line 19 of file DQA_TO_DB.cxx.
Referenced by RealDBUtil::ConnectionProvider::getLumCurvePar(), RealDBUtil::ConnectionProvider::getReadBunchInfo(), RealDBUtil::ConnectionProvider::getReadLumInfo(), main(), ReadFromDB(), ReWriteBeamParToDb(), WriteBeamParToDb(), WriteLumDB(), and WriteLumTauDB().
int runNo |
Definition at line 12 of file DQA_TO_DB.cxx.
Referenced by DedxCalibRunByRun::AnalyseHists(), DedxCalibRunByRun::BookHists(), PackedRawDataCnvSvc::connectOutput(), CalibMySQLCnvSvc::createCalib(), Ppjrhopi::execute(), AbsCor::execute(), Rhopi::execute(), DDecay::execute(), DSemilepAlg::execute(), DQA_TOF::execute(), TwoGamma::execute(), ReadRawData::execute(), EvtDecay::execute(), KKMC::execute(), MixerAlg::execute(), EsTimeAlg::execute(), KalFitAlg::execute(), PrintMcInfo::execute(), QCMCFilter::execute(), SD0Tag::execute(), T0Dummy::execute(), ValidRecMdcTrackAlg::execute(), OfflineEventLoopMgr::executeEvent(), DedxCalibRunByRun::FillHists(), FillValidRecMdcTrackHisto(), MeasuredEcmsSvc::getAveEcms(), MeasuredEcmsSvc::getAveEcmsErr(), FieldDBUtil::ConnectionDB::getBeamEnergy(), RealDBUtil::ConnectionProvider::getcal(), MeasuredEcmsSvc::getEcms(), MeasuredEcmsSvc::getEcmsErr(), RealDBUtil::ConnectionProvider::getEmcGain(), MeasuredEcmsSvc::getInfo(), RealDBUtil::ConnectionProvider::getLumCurvePar(), RealizationSvc::getLuminosity(), MeasuredEcmsSvc::getPx(), MeasuredEcmsSvc::getPy(), MeasuredEcmsSvc::getPz(), RealDBUtil::ConnectionProvider::getReadBackgroundInfo(), RealDBUtil::ConnectionProvider::getReadBunchInfo(), calibUtil::Metadata::getReadDedxInfo(), calibUtil::Metadata::getReadDedxSimInfo(), calibUtil::Metadata::getReadEMCInfo(), calibUtil::Metadata::getReadEsTimeInfo(), calibUtil::Metadata::getReadEstTofInfo(), RealDBUtil::ConnectionProvider::getReadLumInfo(), calibUtil::Metadata::getReadMdcAlignInfo(), calibUtil::Metadata::getReadMdcDataConstInfo(), calibUtil::Metadata::getReadMDCInfo(), calibUtil::Metadata::getReadMUCInfo(), FieldDBUtil::ConnectionDB::getReadSC_MagnetInfo(), calibUtil::Metadata::getReadTOFInfo(), calibUtil::Metadata::getReadTofQElecInfo(), calibUtil::Metadata::getReadTofSimInfo(), RealDBUtil::ConnectionProvider::getReadTofThreshInfo(), RealDBUtil::ConnectionProvider::getReadTrgTableInfo(), BesClient::GetRecEvent(), MeasuredEcmsSvc::getRunFrom(), RealDBUtil::ConnectionProvider::getRunInfo(), MeasuredEcmsSvc::getRunTo(), MeasuredEcmsSvc::getSampleName(), TofQCorrSvc::getTofQCorrInfo(), RealDBUtil::ConnectionProvider::getTrgConfigInfo(), RealizationSvc::handle(), MagneticFieldSvc::init_params(), MeasuredEcmsSvc::isReadDBValid(), MeasuredEcmsSvc::isRunNoValid(), main(), K0kk::MTotal(), K0kpi::MTotal(), K0pi0::MTotal(), K0pipi::MTotal(), K0pipipi0::MTotal(), K3pi::MTotal(), K3pipi0::MTotal(), Kk::MTotal(), Kkpi0::MTotal(), Kkpipi::MTotal(), Kpi::MTotal(), Kpipi0::MTotal(), Kpipi0pi0::MTotal(), Pipi::MTotal(), Pipipi0::MTotal(), MdcUtilitySvc::p_cms(), CalibEventSelect::readbeamEfromDb(), MeasuredEcmsSvc::readDB(), RealizationSvc::readDB(), ReadFromDB(), MeasuredEcmsSvc::readInfo(), ReadME::ReadME(), ReadME::readMeasuredEcms(), MeasuredEcmsSvc::readMeasuredEcms(), MeasuredEcmsSvc::readRunParams(), CalibDataSvc::retrieveObject(), ReWriteBeamParToDb(), McContext::setRunNumber(), McIterator::setRunNumber(), CalibMySQLCnvSvc::updateCalib(), WriteBeamParToDb(), DedxCalibRunByRun::WriteHists(), and WriteLumDB().
const char* server_ip = "bes3db1.ihep.ac.cn" |
Definition at line 16 of file DQA_TO_DB.cxx.
Referenced by main().
char* SftVer =getenv("BES_RELEASE") |
Definition at line 18 of file DQA_TO_DB.cxx.
Referenced by calibUtil::Metadata::findBest(), calibUtil::Metadata::findSoonAfter(), RealDBUtil::ConnectionProvider::getLumCurvePar(), RealDBUtil::ConnectionProvider::getReadBunchInfo(), calibUtil::Metadata::getReadDedxInfo(), calibUtil::Metadata::getReadDedxSimInfo(), calibUtil::Metadata::getReadEMCInfo(), calibUtil::Metadata::getReadEsTimeInfo(), calibUtil::Metadata::getReadEstTofInfo(), RealDBUtil::ConnectionProvider::getReadLumInfo(), calibUtil::Metadata::getReadMdcAlignInfo(), calibUtil::Metadata::getReadMdcDataConstInfo(), calibUtil::Metadata::getReadMDCInfo(), calibUtil::Metadata::getReadMUCInfo(), calibUtil::Metadata::getReadTOFInfo(), calibUtil::Metadata::getReadTofQElecInfo(), calibUtil::Metadata::getReadTofSimInfo(), CalibMySQLCnvSvc::getSftParVer(), ReadFromDB(), ReWriteBeamParToDb(), WriteBeamParToDb(), WriteLumDB(), and WriteLumTauDB().
db_mysql sqloffline |
Definition at line 11 of file DQA_TO_DB.cxx.
Referenced by main(), ReadFromDB(), ReWriteBeamParToDb(), WriteBeamParToDb(), WriteLumDB(), and WriteLumTauDB().
db_mysql sqlonline |
Definition at line 10 of file DQA_TO_DB.cxx.
Referenced by WriteLumDB().