Container class for database connection parameters. More...
#include <SiStripDbParams.h>
Public Types | |
typedef boost::iterator_range < SiStripPartitions::const_iterator > | const_iterator_range |
typedef boost::iterator_range < SiStripPartitions::iterator > | iterator_range |
typedef std::map< std::string, SiStripPartition > | SiStripPartitions |
typedef SiStripPartitions::size_type | size_type |
Public Member Functions | |
void | addPartition (const SiStripPartition &) |
void | clearPartitions () |
std::string | confdb () const |
void | confdb (const std::string &) |
void | confdb (const std::string &user, const std::string &passwd, const std::string &path) |
std::vector< std::string > | inputDcuInfoXmlFiles () const |
std::vector< std::string > | inputFecXmlFiles () const |
std::vector< std::string > | inputFedXmlFiles () const |
std::vector< std::string > | inputModuleXmlFiles () const |
bool | operator!= (const SiStripDbParams &) const |
SiStripDbParams & | operator= (const SiStripDbParams &) |
bool | operator== (const SiStripDbParams &) const |
std::string | outputDcuInfoXml () const |
std::string | outputFecXml () const |
std::string | outputFedXml () const |
std::string | outputModuleXml () const |
SiStripPartitions::const_iterator | partition (std::string partition_name) const |
SiStripPartitions::iterator | partition (std::string partition_name) |
std::vector< std::string > | partitionNames () const |
std::vector< std::string > | partitionNames (std::string) const |
std::string | partitionNames (const std::vector< std::string > &) const |
iterator_range | partitions () |
const_iterator_range | partitions () const |
size_type | partitionsSize () const |
std::string | passwd () const |
std::string | path () const |
void | print (std::stringstream &) const |
void | pset (const edm::ParameterSet &) |
void | reset () |
std::string | sharedMemory () const |
void | sharedMemory (std::string) |
SiStripDbParams (const SiStripDbParams &) | |
SiStripDbParams () | |
std::string | tnsAdmin () const |
std::string | user () const |
void | usingDb (bool) |
bool | usingDb () const |
void | usingDbCache (bool) |
bool | usingDbCache () const |
~SiStripDbParams () | |
Private Attributes | |
std::string | confdb_ |
std::string | outputDcuInfoXml_ |
std::string | outputFecXml_ |
std::string | outputFedXml_ |
std::string | outputModuleXml_ |
SiStripPartitions | partitions_ |
std::string | passwd_ |
std::string | path_ |
std::string | sharedMemory_ |
std::string | tnsAdmin_ |
std::string | user_ |
bool | usingDb_ |
bool | usingDbCache_ |
Container class for database connection parameters.
Definition at line 27 of file SiStripDbParams.h.
typedef boost::iterator_range<SiStripPartitions::const_iterator> SiStripDbParams::const_iterator_range |
Definition at line 51 of file SiStripDbParams.h.
typedef boost::iterator_range<SiStripPartitions::iterator> SiStripDbParams::iterator_range |
Definition at line 53 of file SiStripDbParams.h.
typedef std::map< std::string, SiStripPartition > SiStripDbParams::SiStripPartitions |
Definition at line 47 of file SiStripDbParams.h.
typedef SiStripPartitions::size_type SiStripDbParams::size_type |
Definition at line 49 of file SiStripDbParams.h.
SiStripDbParams::SiStripDbParams | ( | ) |
Definition at line 12 of file SiStripDbParams.cc.
: usingDb_(false), confdb_(null_), user_(null_), passwd_(null_), path_(null_), usingDbCache_(false), sharedMemory_(""), tnsAdmin_(""), partitions_(), outputModuleXml_("/tmp/module.xml"), outputDcuInfoXml_("/tmp/dcuinfo.xml"), outputFecXml_("/tmp/fec.xml"), outputFedXml_("/tmp/fed.xml") {;}
SiStripDbParams::SiStripDbParams | ( | const SiStripDbParams & | input | ) |
Definition at line 30 of file SiStripDbParams.cc.
: usingDb_( input.usingDb() ), confdb_( input.confdb() ), user_( input.user() ), passwd_( input.passwd() ), path_( input.path() ), usingDbCache_( input.usingDbCache() ), sharedMemory_( input.sharedMemory() ), tnsAdmin_( input.tnsAdmin() ), partitions_( input.partitions().begin(), input.partitions().end() ), outputModuleXml_( input.outputModuleXml() ), outputDcuInfoXml_( input.outputDcuInfoXml() ), outputFecXml_( input.outputFecXml() ), outputFedXml_( input.outputFedXml() ) {;}
SiStripDbParams::~SiStripDbParams | ( | ) |
void SiStripDbParams::addPartition | ( | const SiStripPartition & | in | ) |
Definition at line 127 of file SiStripDbParams.cc.
References SiStripPartition::defaultPartitionName_, recoMuon::in, LogTrace, sistrip::mlConfigDb_, SiStripPartition::partitionName(), and partitions_.
Referenced by pset(), SiStripConfigDb::usingDatabase(), and SiStripConfigDb::usingDatabaseCache().
{ if ( in.partitionName() == "" ) { std::stringstream ss; ss << "[SiStripDbParams::" << __func__ << "]" << " Attempting to add partition with null name!"; //edm::LogWarning(mlConfigDb_) << ss.str(); } SiStripPartitions::const_iterator iter = partitions_.find( in.partitionName() ); if ( iter == partitions_.end() ) { partitions_[in.partitionName()] = in; if ( in.partitionName() != SiStripPartition::defaultPartitionName_ ) { std::stringstream ss; ss << "[SiStripDbParams::" << __func__ << "]" << " Added new partition with name \"" << in.partitionName() << "\""; //ss << std::endl << partitions_[in.partitionName()]; ss << " (Currently have " << partitions_.size() << " partitions in cache...)"; LogTrace(mlConfigDb_) << ss.str(); } } else { std::stringstream ss; ss << "[SiStripDbParams::" << __func__ << "]" << " Partition with name \"" << in.partitionName() << "\" already found!" << " Not adding to cache..."; edm::LogWarning(mlConfigDb_) << ss.str(); } }
void SiStripDbParams::clearPartitions | ( | ) | [inline] |
Definition at line 198 of file SiStripDbParams.h.
References partitions_.
Referenced by SiStripConfigDb::usingDatabase().
{ partitions_.clear(); }
std::string SiStripDbParams::confdb | ( | ) | const [inline] |
Definition at line 178 of file SiStripDbParams.h.
References confdb_.
Referenced by confdb(), operator=(), operator==(), pset(), reset(), and SiStripConfigDb::usingDatabase().
{ return confdb_; }
void SiStripDbParams::confdb | ( | const std::string & | confdb | ) |
Definition at line 210 of file SiStripDbParams.cc.
References confdb(), confdb_, sistrip::null_, passwd_, path_, and user_.
{ confdb_ = confdb; size_t ipass = confdb.find("/"); size_t ipath = confdb.find("@"); if ( ipass != std::string::npos && ipath != std::string::npos ) { user_ = confdb.substr(0,ipass); passwd_ = confdb.substr(ipass+1,ipath-ipass-1); path_ = confdb.substr(ipath+1,confdb.size()); } else { user_ = null_; passwd_ = null_; path_ = null_; } }
void SiStripDbParams::confdb | ( | const std::string & | user, |
const std::string & | passwd, | ||
const std::string & | path | ||
) |
Definition at line 228 of file SiStripDbParams.cc.
References confdb_, sistrip::null_, passwd(), passwd_, path(), path_, user(), and user_.
std::vector< std::string > SiStripDbParams::inputDcuInfoXmlFiles | ( | ) | const |
Definition at line 375 of file SiStripDbParams.cc.
References linker::files, findQualityFiles::jj, and partitions_.
{ std::vector<std::string> files; SiStripPartitions::const_iterator ii = partitions_.begin(); SiStripPartitions::const_iterator jj = partitions_.end(); for ( ; ii != jj; ++ii ) { files.insert( files.end(), ii->second.inputDcuInfoXml() ); } return files; }
std::vector< std::string > SiStripDbParams::inputFecXmlFiles | ( | ) | const |
Definition at line 385 of file SiStripDbParams.cc.
References linker::files, findQualityFiles::jj, and partitions_.
{ std::vector<std::string> files; SiStripPartitions::const_iterator ii = partitions_.begin(); SiStripPartitions::const_iterator jj = partitions_.end(); for ( ; ii != jj; ++ii ) { files.insert( files.end(), ii->second.inputFecXml().begin(), ii->second.inputFecXml().end() ); } return files; }
std::vector< std::string > SiStripDbParams::inputFedXmlFiles | ( | ) | const |
Definition at line 395 of file SiStripDbParams.cc.
References linker::files, findQualityFiles::jj, and partitions_.
{ std::vector<std::string> files; SiStripPartitions::const_iterator ii = partitions_.begin(); SiStripPartitions::const_iterator jj = partitions_.end(); for ( ; ii != jj; ++ii ) { files.insert( files.end(), ii->second.inputFedXml().begin(), ii->second.inputFedXml().end() ); } return files; }
std::vector< std::string > SiStripDbParams::inputModuleXmlFiles | ( | ) | const |
Definition at line 365 of file SiStripDbParams.cc.
References linker::files, findQualityFiles::jj, and partitions_.
{ std::vector<std::string> files; SiStripPartitions::const_iterator ii = partitions_.begin(); SiStripPartitions::const_iterator jj = partitions_.end(); for ( ; ii != jj; ++ii ) { files.insert( files.end(), ii->second.inputModuleXml() ); } return files; }
bool SiStripDbParams::operator!= | ( | const SiStripDbParams & | input | ) | const |
Definition at line 96 of file SiStripDbParams.cc.
References LaserDQM_cfg::input.
{ return !( *this == input ); }
SiStripDbParams & SiStripDbParams::operator= | ( | const SiStripDbParams & | input | ) |
Definition at line 48 of file SiStripDbParams.cc.
References confdb(), confdb_, outputDcuInfoXml(), outputDcuInfoXml_, outputFecXml(), outputFecXml_, outputFedXml(), outputFedXml_, outputModuleXml(), outputModuleXml_, partitions(), partitions_, passwd(), passwd_, path(), path_, sharedMemory(), sharedMemory_, tnsAdmin(), tnsAdmin_, user(), user_, usingDb(), usingDb_, usingDbCache(), and usingDbCache_.
{ usingDb_ = input.usingDb(); confdb_ = input.confdb(); user_ = input.user(); passwd_ = input.passwd(); path_ = input.path(); confdb( confdb_ ); usingDbCache_ = input.usingDbCache(); sharedMemory_ = input.sharedMemory(); tnsAdmin_ = input.tnsAdmin(); partitions_.clear(); partitions_ = SiStripPartitions( input.partitions().begin(), input.partitions().end() ); outputModuleXml_ = input.outputModuleXml(); outputDcuInfoXml_ = input.outputDcuInfoXml(); outputFecXml_ = input.outputFecXml(); outputFedXml_ = input.outputFedXml(); return *this; }
bool SiStripDbParams::operator== | ( | const SiStripDbParams & | input | ) | const |
Definition at line 69 of file SiStripDbParams.cc.
References confdb(), confdb_, outputDcuInfoXml(), outputDcuInfoXml_, outputFecXml(), outputFecXml_, outputFedXml(), outputFedXml_, outputModuleXml(), outputModuleXml_, partitions_, partitionsSize(), passwd(), passwd_, path(), path_, sharedMemory(), sharedMemory_, tnsAdmin(), tnsAdmin_, user(), user_, usingDb(), usingDb_, usingDbCache(), and usingDbCache_.
{ if ( !( usingDb_ == input.usingDb() && confdb_ == input.confdb() && user_ == input.user() && passwd_ == input.passwd() && path_ == input.path() && usingDbCache_ == input.usingDbCache() && sharedMemory_ == input.sharedMemory() && tnsAdmin_ == input.tnsAdmin() && outputModuleXml_ == input.outputModuleXml() && outputDcuInfoXml_ == input.outputDcuInfoXml() && outputFecXml_ == input.outputFecXml() && outputFedXml_ == input.outputFedXml() ) ) { return false; } if ( partitionsSize() != input.partitionsSize() ) { return false; } // SiStripPartitions::const_iterator ii = input.partitions().begin(); // SiStripPartitions::const_iterator jj = input.partitions().end(); // SiStripPartitions::const_iterator iter = partitions_.begin(); // for ( ; ii != jj; ++ii ) { // if ( ii->first != iter->first || ii->second != iter->second ) { return false; } // iter++; // } // return true; return partitions_ == input.partitions_; }
std::string SiStripDbParams::outputDcuInfoXml | ( | ) | const [inline] |
Definition at line 194 of file SiStripDbParams.h.
References outputDcuInfoXml_.
Referenced by operator=(), operator==(), and SiStripConfigDb::usingXmlFiles().
{ return outputDcuInfoXml_; }
std::string SiStripDbParams::outputFecXml | ( | ) | const [inline] |
Definition at line 195 of file SiStripDbParams.h.
References outputFecXml_.
Referenced by operator=(), operator==(), and SiStripConfigDb::usingXmlFiles().
{ return outputFecXml_; }
std::string SiStripDbParams::outputFedXml | ( | ) | const [inline] |
Definition at line 196 of file SiStripDbParams.h.
References outputFedXml_.
Referenced by operator=(), operator==(), and SiStripConfigDb::usingXmlFiles().
{ return outputFedXml_; }
std::string SiStripDbParams::outputModuleXml | ( | ) | const [inline] |
Definition at line 193 of file SiStripDbParams.h.
References outputModuleXml_.
Referenced by operator=(), operator==(), and SiStripConfigDb::usingXmlFiles().
{ return outputModuleXml_; }
SiStripDbParams::SiStripPartitions::const_iterator SiStripDbParams::partition | ( | std::string | partition_name | ) | const |
Returns const iterator to partition object.
Definition at line 246 of file SiStripDbParams.cc.
References findQualityFiles::jj, and partitions().
Referenced by SiStripConfigDb::runs().
{ SiStripDbParams::SiStripPartitions::const_iterator ii = partitions().begin(); SiStripDbParams::SiStripPartitions::const_iterator jj = partitions().end(); for ( ; ii != jj; ++ii ) { if ( partition_name == ii->second.partitionName() ) { return ii; } } return partitions().end(); }
SiStripDbParams::SiStripPartitions::iterator SiStripDbParams::partition | ( | std::string | partition_name | ) |
Returns iterator to partition object.
Definition at line 255 of file SiStripDbParams.cc.
References findQualityFiles::jj, and partitions().
{ SiStripDbParams::SiStripPartitions::iterator ii = partitions().begin(); SiStripDbParams::SiStripPartitions::iterator jj = partitions().end(); for ( ; ii != jj; ++ii ) { if ( partition_name == ii->second.partitionName() ) { return ii; } } return partitions().end(); }
std::vector< std::string > SiStripDbParams::partitionNames | ( | ) | const |
Extract (non-zero) partition names from partition objects.
Definition at line 264 of file SiStripDbParams.cc.
References spr::find(), findQualityFiles::jj, sistrip::mlConfigDb_, partitions(), and partitions_.
Referenced by SiStripConfigDb::usingDatabase().
{ std::vector<std::string> partitions; SiStripPartitions::const_iterator ii = partitions_.begin(); SiStripPartitions::const_iterator jj = partitions_.end(); for ( ; ii != jj; ++ii ) { if ( std::find( partitions.begin(), partitions.end(), ii->second.partitionName() ) == partitions.end() ) { if ( !ii->second.partitionName().empty() ) { partitions.push_back( ii->second.partitionName() ); } } else { edm::LogWarning(mlConfigDb_) << "[SiStripConfigDb::" << __func__ << "]" << " Partition " << ii->second.partitionName() << " already found! Not adding to vector..."; } } return partitions; }
std::vector< std::string > SiStripDbParams::partitionNames | ( | std::string | input | ) | const |
Extract (non-zero) partition names from string.
Definition at line 285 of file SiStripDbParams.cc.
References partitions(), and AlCaHLTBitMon_QueryRunRegistry::string.
{ std::istringstream ss(input); std::vector<std::string> partitions; std::string delimiter = ":"; std::string token; while ( getline( ss, token, ':' ) ) { if ( !token.empty() ) { partitions.push_back(token); } } return partitions; }
std::string SiStripDbParams::partitionNames | ( | const std::vector< std::string > & | partitions | ) | const |
Construct string from (non-zero) partition names.
Definition at line 296 of file SiStripDbParams.cc.
References first, and findQualityFiles::jj.
{ std::stringstream ss; std::vector<std::string>::const_iterator ii = partitions.begin(); std::vector<std::string>::const_iterator jj = partitions.end(); bool first = true; for ( ; ii != jj; ++ii ) { if ( !ii->empty() ) { first ? ss << *ii : ss << ":" << *ii; first = false; } } return ss.str(); }
SiStripDbParams::iterator_range SiStripDbParams::partitions | ( | ) | [inline] |
Returns pair of iterators to partitions objects.
Definition at line 188 of file SiStripDbParams.h.
References partitions_.
{ return iterator_range( partitions_.begin(), partitions_.end() ); }
SiStripDbParams::const_iterator_range SiStripDbParams::partitions | ( | ) | const [inline] |
Returns pair of const iterators to partitions objects.
Definition at line 186 of file SiStripDbParams.h.
References partitions_.
Referenced by CommissioningHistosUsingDb::buildDetInfo(), SiStripCondObjBuilderFromDb::checkForCompatibility(), FineDelayHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), VpspScanHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), NoiseHistosUsingDb::create(), CalibrationHistosUsingDb::create(), LatencyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), OptoScanHistosUsingDb::create(), operator=(), partition(), partitionNames(), pset(), SiStripPsuDetIdMap::retrieveDcuDeviceAddresses(), SiStripConfigDb::runs(), CommissioningHistosUsingDb::uploadAnalyses(), FastFedCablingHistosUsingDb::uploadConfigurations(), SiStripConfigDb::usingDatabase(), and SiStripConfigDb::usingXmlFiles().
{ return const_iterator_range( partitions_.begin(), partitions_.end() ); }
SiStripDbParams::size_type SiStripDbParams::partitionsSize | ( | ) | const [inline] |
Return the number of partitions.
Definition at line 191 of file SiStripDbParams.h.
References partitions_.
Referenced by operator==().
{ return partitions_.size(); }
std::string SiStripDbParams::passwd | ( | ) | const [inline] |
Definition at line 180 of file SiStripDbParams.h.
References passwd_.
Referenced by confdb(), operator=(), operator==(), and SiStripConfigDb::usingDatabase().
{ return passwd_; }
std::string SiStripDbParams::path | ( | ) | const [inline] |
Definition at line 181 of file SiStripDbParams.h.
References path_.
Referenced by confdb(), operator=(), operator==(), and SiStripConfigDb::usingDatabase().
{ return path_; }
void SiStripDbParams::print | ( | std::stringstream & | ss | ) | const |
Definition at line 312 of file SiStripDbParams.cc.
References confdb_, findQualityFiles::jj, outputDcuInfoXml_, outputFecXml_, outputFedXml_, outputModuleXml_, partitions_, sharedMemory_, usingDb_, and usingDbCache_.
Referenced by operator<<().
{ ss << " Using database account : " << std::boolalpha << usingDb_ << std::noboolalpha << std::endl; ss << " Using XML files : " << std::boolalpha << !usingDb_ << std::noboolalpha << std::endl; ss << " Using database cache : " << std::boolalpha << usingDbCache_ << std::noboolalpha << std::endl; if ( usingDbCache_ ) { ss << " Shared memory name : " << std::boolalpha << sharedMemory_ << std::noboolalpha << std::endl; } if ( !usingDbCache_ ) { if ( usingDb_ ) { ss << " Database account (ConfDb) : " << confdb_ << std::endl; } ss << " Number of partitions : " << partitions_.size(); if ( partitions_.empty() ) { if ( !usingDbCache_ ) { ss << " (Empty!)"; } else { ss << " (Using database cache!)"; } } ss << std::endl; uint16_t cntr = 0; SiStripPartitions::const_iterator ii = partitions_.begin(); SiStripPartitions::const_iterator jj = partitions_.end(); for ( ; ii != jj; ++ii ) { cntr++; ss << " Partition #" << cntr << " (out of " << partitions_.size() << "):" << std::endl; ii->second.print( ss, usingDb_ ); } if ( !usingDb_ ) { ss << " Output \"module.xml\" file : " << outputModuleXml_ << std::endl << " Output \"dcuinfo.xml\" file : " << outputDcuInfoXml_ << std::endl << " Output \"fec.xml\" file(s) : " << outputFecXml_ << std::endl << " Output \"fed.xml\" file(s) : " << outputFedXml_ << std::endl; } } }
void SiStripDbParams::pset | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 164 of file SiStripDbParams.cc.
References addPartition(), confdb(), funct::false, spr::find(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::getUntrackedParameter(), cscdqm::h::names, outputDcuInfoXml_, outputFecXml_, outputFedXml_, outputModuleXml_, partitions(), partitions_, SiStripPartition::pset(), sharedMemory_, AlCaHLTBitMon_QueryRunRegistry::string, tmp, tnsAdmin_, usingDb_, and usingDbCache_.
Referenced by SiStripConfigDb::SiStripConfigDb().
{ // "Common" configurables usingDb_ = cfg.getUntrackedParameter<bool>( "UsingDb", false ); usingDbCache_ = cfg.getUntrackedParameter<bool>( "UsingDbCache", false ); sharedMemory_ = cfg.getUntrackedParameter<std::string>( "SharedMemory", "" ); tnsAdmin_ = cfg.getUntrackedParameter<std::string>( "TNS_ADMIN", "" ); confdb( cfg.getUntrackedParameter<std::string>( "ConfDb", "") ); // Check if top-level PSet (containing partition-level Psets) exists std::string partitions = "Partitions"; std::vector<std::string> str = cfg.getParameterNamesForType<edm::ParameterSet>(false); std::vector<std::string>::const_iterator istr = std::find( str.begin(), str.end(), partitions ); if ( istr != str.end() ) { // Retrieve top-level PSet containing partition-level Psets edm::ParameterSet psets = cfg.getUntrackedParameter<edm::ParameterSet>( partitions ); // Extract names of partition-level PSets std::vector<std::string> names = psets.getParameterNamesForType<edm::ParameterSet>(false); // Iterator through PSets names, retrieve PSet for each partition and extract info std::vector<std::string>::iterator iname = names.begin(); std::vector<std::string>::iterator jname = names.end(); for ( ; iname != jname; ++iname ) { edm::ParameterSet pset = psets.getUntrackedParameter<edm::ParameterSet>( *iname ); SiStripPartition tmp; tmp.pset( pset ); addPartition( tmp ); } } // Ensure at least one "default" partition if ( partitions_.empty() ) { addPartition( SiStripPartition() ); } // Set output XML files outputModuleXml_ = cfg.getUntrackedParameter<std::string>( "OutputModuleXml", "/tmp/module.xml" ); outputDcuInfoXml_ = cfg.getUntrackedParameter<std::string>( "OutputDcuInfoXml", "/tmp/dcuinfo.xml" ); outputFecXml_ = cfg.getUntrackedParameter<std::string>( "OutputFecXml", "/tmp/fec.xml" ); outputFedXml_ = cfg.getUntrackedParameter<std::string>( "OutputFedXml", "/tmp/fed.xml" ); }
void SiStripDbParams::reset | ( | void | ) |
Definition at line 108 of file SiStripDbParams.cc.
References confdb(), confdb_, sistrip::null_, outputDcuInfoXml_, outputFecXml_, outputFedXml_, outputModuleXml_, partitions_, passwd_, path_, sharedMemory_, tnsAdmin_, user_, usingDb_, and usingDbCache_.
Referenced by SiStripConfigDb::SiStripConfigDb(), SiStripConfigDb::usingDatabaseCache(), and ~SiStripDbParams().
{ usingDb_ = false; confdb_ = null_; user_ = null_; passwd_ = null_; path_ = null_; usingDbCache_ = false; sharedMemory_ = ""; tnsAdmin_ = ""; partitions_.clear(); confdb( confdb_ ); outputModuleXml_ = "/tmp/module.xml"; outputDcuInfoXml_ = "/tmp/dcuinfo.xml"; outputFecXml_ = "/tmp/fec.xml"; outputFedXml_ = "/tmp/fed.xml"; }
std::string SiStripDbParams::sharedMemory | ( | ) | const [inline] |
Definition at line 183 of file SiStripDbParams.h.
References sharedMemory_.
Referenced by operator=(), operator==(), and SiStripConfigDb::usingDatabaseCache().
{ return sharedMemory_; }
void SiStripDbParams::sharedMemory | ( | std::string | name | ) | [inline] |
Definition at line 201 of file SiStripDbParams.h.
References mergeVDriftHistosByStation::name, and sharedMemory_.
{ sharedMemory_ = name; }
std::string SiStripDbParams::tnsAdmin | ( | ) | const [inline] |
Definition at line 184 of file SiStripDbParams.h.
References tnsAdmin_.
Referenced by operator=(), operator==(), and SiStripConfigDb::usingDatabase().
{ return tnsAdmin_; }
std::string SiStripDbParams::user | ( | ) | const [inline] |
Definition at line 179 of file SiStripDbParams.h.
References user_.
Referenced by confdb(), operator=(), operator==(), and SiStripConfigDb::usingDatabase().
{ return user_; }
void SiStripDbParams::usingDb | ( | bool | using_db | ) | [inline] |
bool SiStripDbParams::usingDb | ( | ) | const [inline] |
Definition at line 177 of file SiStripDbParams.h.
References usingDb_.
Referenced by SiStripConfigDb::openDbConnection(), operator=(), operator==(), SiStripConfigDb::usingDatabase(), SiStripConfigDb::usingDatabaseCache(), SiStripConfigDb::usingDb(), and SiStripConfigDb::usingXmlFiles().
{ return usingDb_; }
bool SiStripDbParams::usingDbCache | ( | ) | const [inline] |
Definition at line 182 of file SiStripDbParams.h.
References usingDbCache_.
Referenced by SiStripConfigDb::openDbConnection(), operator=(), operator==(), and SiStripConfigDb::usingDatabaseCache().
{ return usingDbCache_; }
void SiStripDbParams::usingDbCache | ( | bool | using_cache | ) | [inline] |
Definition at line 200 of file SiStripDbParams.h.
References usingDbCache_.
{ usingDbCache_ = using_cache; }
std::string SiStripDbParams::confdb_ [private] |
Definition at line 149 of file SiStripDbParams.h.
Referenced by confdb(), operator=(), operator==(), print(), and reset().
std::string SiStripDbParams::outputDcuInfoXml_ [private] |
Definition at line 167 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), outputDcuInfoXml(), print(), pset(), and reset().
std::string SiStripDbParams::outputFecXml_ [private] |
Definition at line 169 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), outputFecXml(), print(), pset(), and reset().
std::string SiStripDbParams::outputFedXml_ [private] |
Definition at line 171 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), outputFedXml(), print(), pset(), and reset().
std::string SiStripDbParams::outputModuleXml_ [private] |
Definition at line 165 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), outputModuleXml(), print(), pset(), and reset().
Definition at line 163 of file SiStripDbParams.h.
Referenced by addPartition(), clearPartitions(), inputDcuInfoXmlFiles(), inputFecXmlFiles(), inputFedXmlFiles(), inputModuleXmlFiles(), operator=(), operator==(), partitionNames(), partitions(), partitionsSize(), print(), pset(), and reset().
std::string SiStripDbParams::passwd_ [private] |
Definition at line 153 of file SiStripDbParams.h.
Referenced by confdb(), operator=(), operator==(), passwd(), and reset().
std::string SiStripDbParams::path_ [private] |
Definition at line 155 of file SiStripDbParams.h.
Referenced by confdb(), operator=(), operator==(), path(), and reset().
std::string SiStripDbParams::sharedMemory_ [private] |
Definition at line 159 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), and sharedMemory().
std::string SiStripDbParams::tnsAdmin_ [private] |
Definition at line 161 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), pset(), reset(), and tnsAdmin().
std::string SiStripDbParams::user_ [private] |
Definition at line 151 of file SiStripDbParams.h.
Referenced by confdb(), operator=(), operator==(), reset(), and user().
bool SiStripDbParams::usingDb_ [private] |
Definition at line 147 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), and usingDb().
bool SiStripDbParams::usingDbCache_ [private] |
Definition at line 157 of file SiStripDbParams.h.
Referenced by operator=(), operator==(), print(), pset(), reset(), and usingDbCache().