Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FROG Class Reference

#include <coresoftware/blob/master/offline/framework/frog/FROG.h>

+ Collaboration diagram for FROG:

Public Member Functions

 FROG ()
 
virtual ~FROG ()
 
const char * location (const std::string &logical_name)
 
bool localSearch (const std::string &lname)
 
bool dCacheSearch (const std::string &lname)
 
bool XRootDSearch (const std::string &lname)
 
bool LustreSearch (const std::string &lname)
 
bool MinIOSearch (const std::string &lname)
 
bool PGSearch (const std::string &lname)
 
void Verbosity (const int i)
 
int Verbosity () const
 

Private Member Functions

bool GetConnection ()
 
void Disconnect ()
 

Private Attributes

odbc::Connectionm_OdbcConnection = nullptr
 
int m_Verbosity = 0
 
std::string pfn
 

Detailed Description

Definition at line 13 of file FROG.h.

View newest version in sPHENIX GitHub at line 13 of file FROG.h

Constructor & Destructor Documentation

FROG::FROG ( )
inline

Definition at line 16 of file FROG.h.

View newest version in sPHENIX GitHub at line 16 of file FROG.h

virtual FROG::~FROG ( )
inlinevirtual

Definition at line 17 of file FROG.h.

View newest version in sPHENIX GitHub at line 17 of file FROG.h

Member Function Documentation

bool FROG::dCacheSearch ( const std::string &  lname)

Definition at line 234 of file FROG.cc.

View newest version in sPHENIX GitHub at line 234 of file FROG.cc

References odbc::Connection::createStatement(), odbc::Statement::executeQuery(), GetConnection(), odbc::ResultSet::getString(), m_OdbcConnection, odbc::ResultSet::next(), pfn, and Verbosity().

Referenced by location().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FROG::Disconnect ( )
private

Definition at line 201 of file FROG.cc.

View newest version in sPHENIX GitHub at line 201 of file FROG.cc

References m_OdbcConnection.

Referenced by location().

+ Here is the caller graph for this function:

bool FROG::GetConnection ( )
private

Definition at line 175 of file FROG.cc.

View newest version in sPHENIX GitHub at line 175 of file FROG.cc

References Acts::UnitConstants::e, odbc::DriverManager::getConnection(), odbc::SQLException::getMessage(), m_OdbcConnection, and PHWHERE.

Referenced by dCacheSearch(), LustreSearch(), MinIOSearch(), PGSearch(), and XRootDSearch().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool FROG::localSearch ( const std::string &  lname)

Definition at line 165 of file FROG.cc.

View newest version in sPHENIX GitHub at line 165 of file FROG.cc

References pfn.

Referenced by location().

+ Here is the caller graph for this function:

const char * FROG::location ( const std::string &  logical_name)

Definition at line 21 of file FROG.cc.

View newest version in sPHENIX GitHub at line 21 of file FROG.cc

References dCacheSearch(), Disconnect(), localSearch(), LustreSearch(), MinIOSearch(), pfn, PGSearch(), Verbosity(), and XRootDSearch().

Referenced by TpcSpaceChargeMatrixInversion::add_from_file(), Fun4AllDstInputManager::fileopen(), Fun4AllPrdfInputManager::fileopen(), Fun4AllRunNodeInputManager::fileopen(), Fun4AllOscarInputManager::fileopen(), SinglePrdfInput::fileopen(), SingleStreamingInput::fileopen(), Fun4AllHepMCInputManager::fileopen(), Fun4AllSingleDstPileupInputManager::fileopen(), Fun4AllDstPileupInputManager::fileopen(), Fun4All_Condor(), Fun4All_FillChargesMap_300evts_MDC2(), Fun4All_FillDCMap(), and pfileopen().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool FROG::LustreSearch ( const std::string &  lname)

Definition at line 292 of file FROG.cc.

View newest version in sPHENIX GitHub at line 292 of file FROG.cc

References odbc::Connection::createStatement(), odbc::Statement::executeQuery(), GetConnection(), odbc::ResultSet::getString(), m_OdbcConnection, odbc::ResultSet::next(), and pfn.

Referenced by location().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool FROG::MinIOSearch ( const std::string &  lname)

Definition at line 314 of file FROG.cc.

View newest version in sPHENIX GitHub at line 314 of file FROG.cc

References odbc::Connection::createStatement(), odbc::Statement::executeQuery(), GetConnection(), odbc::ResultSet::getString(), m_OdbcConnection, odbc::ResultSet::next(), pfn, and Verbosity().

Referenced by location().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool FROG::PGSearch ( const std::string &  lname)

Definition at line 207 of file FROG.cc.

View newest version in sPHENIX GitHub at line 207 of file FROG.cc

References odbc::Connection::createStatement(), odbc::Statement::executeQuery(), GetConnection(), odbc::ResultSet::getString(), m_OdbcConnection, odbc::ResultSet::next(), pfn, and Verbosity().

Referenced by location().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FROG::Verbosity ( const int  i)
inline

Definition at line 26 of file FROG.h.

View newest version in sPHENIX GitHub at line 26 of file FROG.h

References i, and m_Verbosity.

int FROG::Verbosity ( ) const
inline

Definition at line 27 of file FROG.h.

View newest version in sPHENIX GitHub at line 27 of file FROG.h

References m_Verbosity.

Referenced by dCacheSearch(), location(), MinIOSearch(), PGSearch(), and XRootDSearch().

+ Here is the caller graph for this function:

bool FROG::XRootDSearch ( const std::string &  lname)

Definition at line 265 of file FROG.cc.

View newest version in sPHENIX GitHub at line 265 of file FROG.cc

References odbc::Connection::createStatement(), odbc::Statement::executeQuery(), GetConnection(), odbc::ResultSet::getString(), m_OdbcConnection, odbc::ResultSet::next(), pfn, and Verbosity().

Referenced by location().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

odbc::Connection* FROG::m_OdbcConnection = nullptr
private

Definition at line 32 of file FROG.h.

View newest version in sPHENIX GitHub at line 32 of file FROG.h

Referenced by dCacheSearch(), Disconnect(), GetConnection(), LustreSearch(), MinIOSearch(), PGSearch(), and XRootDSearch().

int FROG::m_Verbosity = 0
private

Definition at line 33 of file FROG.h.

View newest version in sPHENIX GitHub at line 33 of file FROG.h

Referenced by Verbosity().

std::string FROG::pfn
private

Definition at line 34 of file FROG.h.

View newest version in sPHENIX GitHub at line 34 of file FROG.h

Referenced by dCacheSearch(), localSearch(), location(), LustreSearch(), MinIOSearch(), PGSearch(), and XRootDSearch().


The documentation for this class was generated from the following files: