Classes | |
class | AthAppMgr |
class | _AlgSvcMemberProxy |
class | _AlgSvcRedirect |
Functions | |
def | AthMessage |
def | AthWarning |
def | AthError |
def | Usage |
def | where |
def | printFile |
def | include |
def | __hookDebugger |
def | _cachedLookup |
Variables | |
tuple | ldpreload |
list | optionsPath = os.environ[ 'JOBOPTSEARCHPATH' ] |
optionsPath = os.curdir | |
tuple | optionsPath = re.split( ',|' + os.pathsep, optionsPath ) |
tuple | argc = len( sys.argv ) |
string | jobOptions = "" |
tuple | doDebug = ( '', 0 ) |
list | scripts = [] |
tuple | doDebug = ( 'gdb', 1 ) |
jobOptions = arg | |
tuple | doDebug = ( arg, 0 ) |
tuple | doDebug = ( doDebug[0], 1 ) |
list | gaudimodule = sys.modules[ 'gaudimodule' ] |
int | NO_EVSEL = 99 |
int | MONTECARLO = 0 |
int | ZEBRA = 1 |
tuple | theApp = AthAppMgr() |
tuple | Algorithm = lambdaname:_cachedLookup( name, _algorithms, theApp.algorithm ) |
tuple | Service = lambdaname:_cachedLookup( name, _services, theApp.service ) |
tuple | AuditorSvc = lambda:_cachedLookup( 'AuditorSvc', _services, theApp.service ) |
tuple | sgfile = os.path.join( os.environ[ 'STOREGATEROOT' ], 'share', 'StoreGate.py' ) |
int | ALL = 0 |
int | VERBOSE = 1 |
int | DEBUG = 2 |
int | INFO = 3 |
int | WARNING = 4 |
int | ERROR = 5 |
int | FATAL = 6 |
int | TRUE = 1 |
int | FALSE = 0 |
int | doesSetup = 0 |
tuple | scrfile = open( scripts[ 0 ], 'r' ) |
tuple | pos = line.find( "theApp.setup" ) |
int | doesSetup = 1 |
tuple | ldpreload |
list | optionsPath = os.environ[ 'JOBOPTSEARCHPATH' ] |
optionsPath = os.curdir | |
tuple | optionsPath = re.split( ',|' + os.pathsep, optionsPath ) |
tuple | argc = len( sys.argv ) |
string | jobOptions = "" |
tuple | doDebug = ( '', 0 ) |
list | scripts = [] |
tuple | doDebug = ( 'gdb', 1 ) |
jobOptions = arg | |
tuple | doDebug = ( arg, 0 ) |
tuple | doDebug = ( doDebug[0], 1 ) |
list | gaudimodule = sys.modules[ 'gaudimodule' ] |
int | NO_EVSEL = 99 |
int | MONTECARLO = 0 |
int | ZEBRA = 1 |
tuple | theApp = AthAppMgr() |
tuple | Algorithm = lambdaname:_cachedLookup( name, _algorithms, theApp.algorithm ) |
tuple | Service = lambdaname:_cachedLookup( name, _services, theApp.service ) |
tuple | AuditorSvc = lambda:_cachedLookup( 'AuditorSvc', _services, theApp.service ) |
tuple | sgfile = os.path.join( os.environ[ 'STOREGATEROOT' ], 'share', 'StoreGate.py' ) |
int | ALL = 0 |
int | VERBOSE = 1 |
int | DEBUG = 2 |
int | INFO = 3 |
int | WARNING = 4 |
int | ERROR = 5 |
int | FATAL = 6 |
int | TRUE = 1 |
int | FALSE = 0 |
int | doesSetup = 0 |
tuple | scrfile = open( scripts[ 0 ], 'r' ) |
tuple | pos = line.find( "theApp.setup" ) |
int | doesSetup = 1 |
def boss::AthMessage | ( | descr | ) |
Definition at line 41 of file boss.py.
00041 : 00042 print " ==> : " + descr 00043 def AthWarning( descr ):
def boss::AthWarning | ( | descr | ) |
def boss::AthError | ( | descr | ) |
def boss::Usage | ( | prog | ) |
def boss::where | ( | filename, | ||
pathlist = [] | ||||
) |
Definition at line 65 of file boss.py.
Referenced by calibUtil::Metadata::adjustVend(), rdbModel::XercesBuilder::buildQuery(), RootInterface::f_getTreeNr(), RootAddress::getBranchname(), RootInterface::getTreeNr(), rdbModel::Table::isSupersedable(), RootAddress::RootAddress(), rdbModel::MysqlConnection::select(), ProjectMessenger::SetNewValue(), rdbModel::Table::supersedeRow(), rdbModel::MysqlConnection::update(), rdbModel::Table::updateRows(), and rdbModel::Rdb::updateRows().
00065 : 00066 # special case for those filenames that already contain a path 00067 if os.path.dirname( filename ): 00068 if os.access( filename, os.R_OK ): 00069 return filename 00070 00071 # test the file name in all possible paths until first found 00072 for path in pathlist: 00073 f = os.path.join( path, filename ) 00074 if os.access( f, os.R_OK ): 00075 return f 00076 00077 # no such accessible file avalailable 00078 return '' 00079 def printFile( fn ):
def boss::printFile | ( | fn | ) |
def boss::include | ( | fn | ) |
Definition at line 90 of file boss.py.
00090 : 00091 name = where( os.path.expanduser( os.path.expandvars( fn ) ), optionsPath ) 00092 if not os.path.exists( name ): 00093 name = where( os.path.basename( fn ), optionsPath ) 00094 if os.path.exists( name ): 00095 AthWarning( 'using %s instead of %s' % (name,fn) ) 00096 else: 00097 AthError( 'include file %s can not be found' % fn ) # exits 00098 00099 printFile( name ) 00100 execfile( name, globals() ) 00101 ### check version
def boss::__hookDebugger | ( | prog | ) | [private] |
def boss::_cachedLookup | ( | name, | ||
cache, | ||||
func | ||||
) | [private] |
tuple boss::ldpreload [static] |
list boss::optionsPath = os.environ[ 'JOBOPTSEARCHPATH' ] [static] |
boss::optionsPath = os.curdir [static] |
tuple boss::optionsPath = re.split( ',|' + os.pathsep, optionsPath ) [static] |
tuple boss::argc = len( sys.argv ) [static] |
string boss::jobOptions = "" [static] |
Definition at line 113 of file boss.py.
Referenced by EventWriter::getJobOptions(), and RootInterface::getJobOptions().
tuple boss::doDebug = ( '', 0 ) [static] |
list boss::scripts = [] [static] |
tuple boss::doDebug = ( 'gdb', 1 ) [static] |
boss::jobOptions = arg [static] |
tuple boss::doDebug = ( arg, 0 ) [static] |
tuple boss::doDebug = ( doDebug[0], 1 ) [static] |
list boss::gaudimodule = sys.modules[ 'gaudimodule' ] [static] |
int boss::NO_EVSEL = 99 [static] |
int boss::MONTECARLO = 0 [static] |
int boss::ZEBRA = 1 [static] |
tuple boss::theApp = AthAppMgr() [static] |
tuple boss::Algorithm = lambdaname:_cachedLookup( name, _algorithms, theApp.algorithm ) [static] |
Definition at line 276 of file boss.py.
Referenced by StepHandler::beginRun(), StepSequencer::existingAlg(), StepSequencer::initSequencer(), and RootIoSvc::run().
tuple boss::Service = lambdaname:_cachedLookup( name, _services, theApp.service ) [static] |
tuple boss::AuditorSvc = lambda:_cachedLookup( 'AuditorSvc', _services, theApp.service ) [static] |
tuple boss::sgfile = os.path.join( os.environ[ 'STOREGATEROOT' ], 'share', 'StoreGate.py' ) [static] |
int boss::VERBOSE = 1 [static] |
int boss::DEBUG = 2 [static] |
int boss::INFO = 3 [static] |
int boss::WARNING = 4 [static] |
int boss::ERROR = 5 [static] |
int boss::FATAL = 6 [static] |
int boss::TRUE = 1 [static] |
int boss::FALSE = 0 [static] |
int boss::doesSetup = 0 [static] |
tuple boss::scrfile = open( scripts[ 0 ], 'r' ) [static] |
tuple boss::pos = line.find( "theApp.setup" ) [static] |
Definition at line 370 of file boss.py.
Referenced by EmcRecShowerShape::A20Moment(), EmcRecShowerShape::A42Moment(), ers::Issue::add_qualifier(), TrkMomCalculator::calcCurvAllWeights(), PathResolver::check_search_path(), BesEmcEndGeometry::ComputeDimAndPos(), ExtBesEmcEndGeometry::ComputeDimAndPos(), BesTofConstruction::ConstructBr1Tof(), BesTofConstruction::ConstructBr2Tof(), EmcRecTofDigitCalib::Convert(), ers::StreamFactory::create_stream(), MdcHitOnTrack::driftVelocity(), Dump(), BesSensitiveManager::EndOfTrack(), MdcHitOnTrack::entranceAngle(), MdcHitOnTrack::entranceAngleHit(), MdcxCosmicSewer::execute(), KalFitAlg::execute(), EsTimeAlg::execute(), AbsCor::execute(), THistogram::fillPhi(), MdcxTrackFinder::fillTrack(), MdcTrkRecon::fillTrackList(), THistogram::fillX(), THistogram::fillY(), HltStoreSvc::finalize(), MdcBbEmcEff::finalize(), RawFileReader::findEventById(), TRunge::Function(), ers::Issue::get_value(), RootAddress::getBranchname(), TrkDifLineTraj::getDFInfo(), TrkCircleTraj::getDFInfo(), TrkDifPieceTraj::getDFInfo(), NeutTraj::getDFInfo(), HelixTraj::getDFInfo(), TrkCircleTraj::getDFInfo2(), TrkDifTraj::getDFInfo2(), TrkDifPieceTraj::getDFInfo2(), HelixTraj::getDFInfo2(), XmlRpc::XmlRpcUtil::getNextTag(), RecEmcCluster::getPosition(), RecEmcCluster::getSecondMoment(), BesMucDigit::GetStripPos(), TrkHelixUtils::helixFromMomErr(), RootCnvSvc::initFiles(), ers::Issue::insert(), Intersection(), HltID::is_algorithm(), TofID::is_barrel(), MucID::is_barrel(), EmcID::is_barrel(), HltID::is_con_inf(), HltID::is_criteria(), HltID::is_ef_result(), HltID::is_emc_inf(), HltID::is_energy(), HltID::is_eventtype(), HltID::is_mdc_inf(), TofID::is_mrpc(), HltID::is_muc_inf(), HltID::is_ncon(), HltID::is_number(), TofID::is_scin(), HltID::is_tof_inf(), HltID::is_version(), EmcRecShowerShape::LatMoment(), TrkHelixUtils::lineFromMomErr(), TTrackManager::makeTds(), FTFinder::makeTds(), EmcRecTofMatch::Match(), MdcxCosmicSewer::MdcxHitsToHots(), MucRecHit::MucRecHit(), eformat::PagedMemory< TMAXPAGES >::const_iterator::operator[](), EmcRecShowerPosLogShMax::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLinShMax::Position(), EmcRecShowerPosLin::Position(), PR_basename(), PR_compress_path(), PR_dirname(), PR_find_from_list(), BesTofSD::ProcessHits(), BesMucSD::ProcessHits(), RecMucTrack::Project(), MagFieldReader::readField(), RootAddress::RootAddress(), EmcRecShowerShape::SecondMoment(), ers::HumanStream::send(), ers::DefaultStream::send(), MdcTrack::storeTrack(), StringParse::StringParse(), facilities::Timestamp::toBinary(), RecEmcShowerCnv::TObjectToDataObject(), EmcTrackCnv::TObjectToDataObject(), BesTofDigitizerEcV3::TofPmtAccum(), BesTofDigitizerEcV2::TofPmtAccum(), BesTofDigitizerEcV1::TofPmtAccum(), BesTofDigitizerBrV2::TofPmtAccum(), BesTofDigitizerBrV1::TofPmtAccum(), Track2Helix(), TrkCompTrk::TrkCompTrk(), MdcHitOnTrack::updateCorrections(), BesSensitiveManager::UpdateVertex(), MdcHitOnTrack::wireAmbig(), ers::StreamFactory::write_to(), and ers::IssueFactory::write_to().
int boss::doesSetup = 1 [static] |
tuple boss::ldpreload [static] |
list boss::optionsPath = os.environ[ 'JOBOPTSEARCHPATH' ] [static] |
boss::optionsPath = os.curdir [static] |
tuple boss::optionsPath = re.split( ',|' + os.pathsep, optionsPath ) [static] |
tuple boss::argc = len( sys.argv ) [static] |
string boss::jobOptions = "" [static] |
tuple boss::doDebug = ( '', 0 ) [static] |
list boss::scripts = [] [static] |
tuple boss::doDebug = ( 'gdb', 1 ) [static] |
boss::jobOptions = arg [static] |
tuple boss::doDebug = ( arg, 0 ) [static] |
tuple boss::doDebug = ( doDebug[0], 1 ) [static] |
list boss::gaudimodule = sys.modules[ 'gaudimodule' ] [static] |
int boss::NO_EVSEL = 99 [static] |
int boss::MONTECARLO = 0 [static] |
int boss::ZEBRA = 1 [static] |
tuple boss::theApp = AthAppMgr() [static] |
tuple boss::Algorithm = lambdaname:_cachedLookup( name, _algorithms, theApp.algorithm ) [static] |
tuple boss::Service = lambdaname:_cachedLookup( name, _services, theApp.service ) [static] |
tuple boss::AuditorSvc = lambda:_cachedLookup( 'AuditorSvc', _services, theApp.service ) [static] |
tuple boss::sgfile = os.path.join( os.environ[ 'STOREGATEROOT' ], 'share', 'StoreGate.py' ) [static] |
int boss::VERBOSE = 1 [static] |
int boss::DEBUG = 2 [static] |
int boss::INFO = 3 [static] |
int boss::WARNING = 4 [static] |
int boss::ERROR = 5 [static] |
int boss::FATAL = 6 [static] |
int boss::TRUE = 1 [static] |
int boss::FALSE = 0 [static] |
int boss::doesSetup = 0 [static] |
tuple boss::scrfile = open( scripts[ 0 ], 'r' ) [static] |
int boss::doesSetup = 1 [static] |