BOSS 7.1.0
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(), check_two_sigma_violate(), UseMdcCalibData::execute(), RootInterface::f_addOutput(), f_cals(), TofCalibFit::fillRoot(), TofCalibration::fillRoot(), TofCalib::fillTxt(), TofCalibFit::fillTxt(), TofCalibration::fillTxt(), for(), gainVsDoca(), gainVsEangle(), EvtMultiChannelParser::getDecayMode(), BesAboutHelp::GetPic(), BesClient::GetPic(), DetVerSvcPack::getRunFromFileList(), TagParser1::getVEntry(), TagParser2::getVEntry(), TagParser3::getVEntry(), TagParser4::getVEntry(), EvtXsection::ini_data_diy(), main(), mwCalloc(), mwFree(), mwMalloc(), mwMark(), mwRealloc(), mwStrdup(), mwTest(), mwTestBuffer(), mwUnmark(), EvtMultiChannelParser::parse(), RootInterface::printJobInfo(), parityC::readParityC(), readTree(), BesActionInitializer::SetAsciiFile(), BesRunAction::SetAsciiFile(), BesActionInitializer::SetRootFile(), BesRunAction::SetRootFile(), BesActionInitializer::SetTuningFile(), BesRunAction::SetTuningFile(), sim_conv2root(), Single_trkeff_pt(), 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(), DQAPi2p2::execute(), TwoGamma::execute(), ReadRawData::execute(), EvtDecay::execute(), KKMC::execute(), GenRdmTrgIdxAlg::execute(), EsTimeAlg::execute(), KalFitAlg::execute(), QCMCFilter::execute(), SD0Tag::execute(), T0Dummy::execute(), MixerAlg::execute(), PrintMcInfo::execute(), Single::execute(), ValidRecMdcTrackAlg::execute(), OfflineEventLoopMgr::executeEvent(), DedxCalibRunByRun::FillHists(), FillValidRecMdcTrackHisto(), MeasuredEcmsSvc::getBeamEnergy(), FieldDBUtil::ConnectionDB::getBeamEnergy(), RealDBUtil::ConnectionProvider::getcal(), MeasuredEcmsSvc::getEcms(), RealDBUtil::ConnectionProvider::getEmcGain(), RealDBUtil::ConnectionProvider::getLumCurvePar(), RealizationSvc::getLuminosity(), RealDBUtil::ConnectionProvider::getReadBackgroundInfo(), RealDBUtil::ConnectionProvider::getReadBunchInfo(), 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(), BesClient::GetRecEvent(), MeasuredEcmsSvc::getRecord(), RealDBUtil::ConnectionProvider::getRunInfo(), TofQCorrSvc::getTofQCorrInfo(), RealDBUtil::ConnectionProvider::getTrgConfigInfo(), DedxSimSvc::handle(), RealizationSvc::handle(), MeasuredEcmsSvc::handle(), ResetEtsAlg::initialize(), 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(), DedxPID::particleIDCalculation(), CalibEventSelect::readbeamEfromDb(), ReadME::readDB(), RealizationSvc::readDB(), MeasuredEcmsSvc::readDBTable(), ReadFromDB(), ReadME::ReadME(), ReadME::readMeasuredEcms(), ReadME::readRunParams(), CalibDataSvc::retrieveObject(), ReWriteBeamParToDb(), McContext::setRunNumber(), McIterator::setRunNumber(), MeasuredEcmsSvc::triggerDBTable(), 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(), calibUtil::Metadata::getReadInjSigIntervalInfo(), calibUtil::Metadata::getReadInjSigTimeInfo(), RealDBUtil::ConnectionProvider::getReadLumInfo(), calibUtil::Metadata::getReadMdcAlignInfo(), calibUtil::Metadata::getReadMdcDataConstInfo(), calibUtil::Metadata::getReadMDCInfo(), calibUtil::Metadata::getReadMUCInfo(), calibUtil::Metadata::getReadOffEvtFilterInfo(), calibUtil::Metadata::getReadTOFInfo(), calibUtil::Metadata::getReadTofQElecInfo(), calibUtil::Metadata::getReadTofSimInfo(), CalibMySQLCnvSvc::getSftParVer(), EmcShEnCalibSvc::getSftParVer(), TofEnergyCalibSvc::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().