CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
cond::service::PoolDBOutputService Class Reference

#include <PoolDBOutputService.h>

Classes

struct  Record
 

Public Member Functions

template<typename T >
void appendSinceTime (T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
 
void appendSinceTime (const std::string &payloadId, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
 
cond::Time_t beginOfTime () const
 
void closeIOV (Time_t lastTill, const std::string &recordName, bool withlogging=false)
 
template<typename T >
void createNewIOV (T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
 
void createNewIOV (const std::string &firstPayloadId, const std::string payloadType, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
 
void createNewIOV (const std::string &firstPayloadId, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
 
cond::Time_t currentTime () const
 
cond::Time_t endOfTime () const
 
bool isNewTagRequest (const std::string &recordName)
 
 PoolDBOutputService (const edm::ParameterSet &iConfig, edm::ActivityRegistry &iAR)
 
void postEndJob ()
 
cond::persistency::Session session () const
 
void setLogHeaderForRecord (const std::string &recordName, const std::string &provenance, const std::string &usertext)
 
std::string tag (const std::string &recordName)
 
void tagInfo (const std::string &recordName, cond::TagInfo_t &result)
 
template<typename T >
void writeOne (T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
 
virtual ~PoolDBOutputService ()
 

Private Member Functions

void connect ()
 
void disconnect ()
 
void fillRecord (edm::ParameterSet &pset)
 
void initDB (bool forReading=true)
 
RecordlookUpRecord (const std::string &recordName)
 
void postModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &)
 
void preEventProcessing (edm::StreamContext const &)
 
void preGlobalBeginLumi (edm::GlobalContext const &)
 
void preGlobalBeginRun (edm::GlobalContext const &)
 
void preModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &)
 

Private Attributes

std::map< std::string, Recordm_callbacks
 
bool m_closeIOV
 
std::vector< cond::Time_tm_currentTimes
 
bool m_dbstarted
 
std::recursive_mutex m_mutex
 
cond::persistency::Session m_session
 
cond::TimeType m_timetype
 
std::string m_timetypestr
 

Detailed Description

Definition at line 39 of file PoolDBOutputService.h.

Constructor & Destructor Documentation

PoolDBOutputService::PoolDBOutputService ( const edm::ParameterSet iConfig,
edm::ActivityRegistry iAR 
)

Definition at line 45 of file PoolDBOutputService.cc.

45  :
46  m_timetypestr(""),
48  m_session(),
49  //m_logConnectionString(""),
50  //m_logdb(),
51  m_dbstarted( false ),
52  m_callbacks(),
53  //m_newtags(),
54  m_closeIOV(false)//,
55  //m_logheaders()
56 {
57  m_closeIOV=iConfig.getUntrackedParameter<bool>("closeIOV",m_closeIOV);
58 
59  m_timetypestr=iConfig.getUntrackedParameter< std::string >("timetype","runnumber");
60  m_timetype = cond::time::timeTypeFromName( m_timetypestr );
61 
62  edm::ParameterSet connectionPset = iConfig.getParameter<edm::ParameterSet>("DBParameters");
64  connection.setParameters( connectionPset );
65  connection.configure();
66  std::string connectionString = iConfig.getParameter<std::string>("connect");
67  BackendType backType = (BackendType) iConfig.getUntrackedParameter<int>("dbFormat", DEFAULT_DB );
68  if( backType == UNKNOWN_DB ) backType = DEFAULT_DB;
69  m_session = connection.createSession( connectionString, true, backType );
70 
71  //if( iConfig.exists("logconnect") ){
72  // m_logConnectionString = iConfig.getUntrackedParameter<std::string>("logconnect");
73  // cond::DbSession logSession = connection.createSession();
74  // m_logdb.reset( new cond::Logger( logSession ) );
75  //}
76 
77  typedef std::vector< edm::ParameterSet > Parameters;
78  Parameters toPut=iConfig.getParameter<Parameters>("toPut");
79  for(Parameters::iterator itToPut = toPut.begin(); itToPut != toPut.end(); ++itToPut)
80  fillRecord( *itToPut);
81 
82 
84  iAR.watchPreallocate([this](edm::service::SystemBounds const& iBounds) {
85  m_currentTimes.resize(iBounds.maxNumberOfStreams());
86  });
87  if( m_timetype == cond::timestamp ){ //timestamp
91  } else if( m_timetype == cond::runnumber ){//runnumber
92  //NOTE: this assumes only one run is being processed at a time.
93  // This is true for 7_1_X but plan are to allow multiple in flight at a time
94  s_streamIndex = 0;
96  } else if( m_timetype == cond::lumiid ){
97  //NOTE: this assumes only one lumi is being processed at a time.
98  // This is true for 7_1_X but plan are to allow multiple in flight at a time
99  s_streamIndex = 0;
101  }
102 }
static thread_local int s_streamIndex
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void watchPreEvent(PreEvent::slot_type const &iSlot)
void watchPreallocate(Preallocate::slot_type const &iSlot)
void watchPostEndJob(PostEndJob::slot_type const &iSlot)
void preEventProcessing(edm::StreamContext const &)
void watchPreModuleEvent(PreModuleEvent::slot_type const &iSlot)
void fillRecord(edm::ParameterSet &pset)
void watchPreGlobalBeginLumi(PreGlobalBeginLumi::slot_type const &iSlot)
std::vector< cond::Time_t > m_currentTimes
void watchPostModuleEvent(PostModuleEvent::slot_type const &iSlot)
void preGlobalBeginLumi(edm::GlobalContext const &)
void setParameters(const edm::ParameterSet &connectionPset)
unsigned int maxNumberOfStreams() const
Definition: SystemBounds.h:43
vector< ParameterSet > Parameters
TimeType timeTypeFromName(const std::string &name)
Definition: Time.cc:24
cond::persistency::Session m_session
BackendType
Definition: Types.h:23
void watchPreGlobalBeginRun(PreGlobalBeginRun::slot_type const &iSlot)
void preGlobalBeginRun(edm::GlobalContext const &)
static constexpr BackendType DEFAULT_DB
Definition: Types.h:24
void postModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
std::map< std::string, Record > m_callbacks
void preModuleEvent(edm::StreamContext const &, edm::ModuleCallingContext const &)
PoolDBOutputService::~PoolDBOutputService ( )
virtual

Definition at line 181 of file PoolDBOutputService.cc.

181  {
182 }

Member Function Documentation

template<typename T >
void cond::service::PoolDBOutputService::appendSinceTime ( T payloadObj,
cond::Time_t  sinceTime,
const std::string &  recordName,
bool  withlogging = false 
)
inline

Definition at line 108 of file PoolDBOutputService.h.

References m_session, ecalTPGAnalyzer_cfg::recordName, cond::persistency::Session::storePayload(), and cond::throwException().

Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), QGLikelihoodDBWriter::beginJob(), SiStripFedCablingBuilder::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().

111  {
112  if( !payloadObj ) throwException( "Provided payload pointer is invalid.","PoolDBOutputService::appendSinceTime");
113  appendSinceTime( m_session.storePayload( *payloadObj ),
114  sinceTime,
115  recordName,
116  withlogging);
117  }
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
cond::persistency::Session m_session
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
cond::Hash storePayload(const T &payload, const boost::posix_time::ptime &creationTime=boost::posix_time::microsec_clock::universal_time())
Definition: Session.h:182
void PoolDBOutputService::appendSinceTime ( const std::string &  payloadId,
cond::Time_t  sinceTime,
const std::string &  recordName,
bool  withlogging = false 
)

Definition at line 275 of file PoolDBOutputService.cc.

References idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), fff_deleter::lock(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().

278  {
279  std::lock_guard<std::recursive_mutex> lock(m_mutex);
281  Record& myrecord=this->lookUpRecord(recordName);
282  if( myrecord.m_isNewTag ) {
283  cond::throwException(std::string("Cannot append to non-existing tag ") + myrecord.m_tag,
284  "PoolDBOutputService::appendSinceTime");
285  }
286  //if(withlogging){
287  // if( m_logConnectionString.empty() ) {
288  // throw cond::Exception("Log db was not set from PoolDBOutputService::add");
289  // }
290  //}
291 
292  try{
294  editor.insert( time, payloadId );
295  editor.flush();
296 
297  //if(withlogging){
298  // std::string destconnect=m_session.connectionString();
299  // cond::UserLogInfo a=this->lookUpUserLogInfo(recordName);
300  // m_logdb->logOperationNow(a,destconnect,objClass,objToken,myrecord.m_tag,myrecord.timetypestr(),payloadIdx,time);
301  //}
302  }catch(const std::exception& er){
303  //if(withlogging){
304  // std::string destconnect=m_session.connectionString();
305  // cond::UserLogInfo a=this->lookUpUserLogInfo(recordName);
306  // m_logdb->logFailedOperationNow(a,destconnect,objClass,objToken,myrecord.m_tag,myrecord.timetypestr(),payloadIdx,time,std::string(er.what()));
307  //}
309  "PoolDBOutputService::appendSinceTime");
310  }
311  scope.close();
312 }
Transaction & transaction()
Definition: Session.cc:66
Record & lookUpRecord(const std::string &recordName)
cond::persistency::Session m_session
IOVEditor editIov(const std::string &tag)
Definition: Session.cc:120
void insert(cond::Time_t since, const cond::Hash &payloadHash, bool checkType=false)
Definition: IOVEditor.cc:135
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
tuple editor
Definition: idDealer.py:73
cond::Time_t PoolDBOutputService::beginOfTime ( ) const

Definition at line 191 of file PoolDBOutputService.cc.

References cond::TimeTypeSpecs::beginValue, and cond::timeTypeSpecs.

Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SurveyInputTrackerFromDB::analyze(), TrackerSystematicMisalignments::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), TrackerGeometryCompare::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), EcalDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), HLTPrescaleRecorder::endRun(), LaserAlignment::endRunProduce(), MisalignedMuonESProducer::saveToDB(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and DTCalibDBUtils::writeToDB().

191  {
193 }
const TimeTypeSpecs timeTypeSpecs[]
Definition: Time.cc:22
Time_t beginValue
Definition: Time.h:45
void PoolDBOutputService::closeIOV ( Time_t  lastTill,
const std::string &  recordName,
bool  withlogging = false 
)

Definition at line 340 of file PoolDBOutputService.cc.

References idDealer::editor, cond::persistency::IOVEditor::flush(), fff_deleter::lock(), cond::service::PoolDBOutputService::Record::m_isNewTag, cond::service::PoolDBOutputService::Record::m_tag, cond::persistency::IOVEditor::setEndOfValidity(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().

Referenced by popcon::PopCon::finalize().

341  {
342  std::lock_guard<std::recursive_mutex> lock(m_mutex);
343  // not fully working.. not be used for now...
344  Record & myrecord = lookUpRecord(recordName);
346 
347  if( myrecord.m_isNewTag ) {
348  cond::throwException(std::string("Cannot close non-existing tag ") + myrecord.m_tag,
349  "PoolDBOutputService::closeIOV");
350  }
352  editor.setEndOfValidity( lastTill );
353  editor.flush();
354  scope.close();
355 }
Transaction & transaction()
Definition: Session.cc:66
Record & lookUpRecord(const std::string &recordName)
cond::persistency::Session m_session
IOVEditor editIov(const std::string &tag)
Definition: Session.cc:120
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
tuple editor
Definition: idDealer.py:73
void setEndOfValidity(cond::Time_t validity)
Definition: IOVEditor.cc:102
void cond::service::PoolDBOutputService::connect ( )
private

Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().

template<typename T >
void cond::service::PoolDBOutputService::createNewIOV ( T firstPayloadObj,
cond::Time_t  firstSinceTime,
cond::Time_t  firstTillTime,
const std::string &  recordName,
bool  withlogging = false 
)
inline

Definition at line 77 of file PoolDBOutputService.h.

References ora::ClassUtils::demangledName(), initDB(), fff_deleter::lock(), m_dbstarted, m_mutex, m_session, ecalTPGAnalyzer_cfg::recordName, cond::persistency::Session::storePayload(), and cond::throwException().

Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), EcalDBCopy::copyToDB(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().

81  {
82  if( !firstPayloadObj ) throwException( "Provided payload pointer is invalid.","PoolDBOutputService::createNewIOV");
83  std::lock_guard<std::recursive_mutex> lock(m_mutex);
84  if (!m_dbstarted) this->initDB( false );
85  createNewIOV( m_session.storePayload( *firstPayloadObj ),
86  cond::demangledName(typeid(T)),
87  firstSinceTime,
88  firstTillTime,
89  recordName,
90  withlogging);
91  }
std::string demangledName(const std::type_info &typeInfo)
Definition: ClassUtils.cc:82
cond::persistency::Session m_session
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
cond::Hash storePayload(const T &payload, const boost::posix_time::ptime &creationTime=boost::posix_time::microsec_clock::universal_time())
Definition: Session.h:182
long double T
void PoolDBOutputService::createNewIOV ( const std::string &  firstPayloadId,
const std::string  payloadType,
cond::Time_t  firstSinceTime,
cond::Time_t  firstTillTime,
const std::string &  recordName,
bool  withlogging = false 
)

Definition at line 202 of file PoolDBOutputService.cc.

References idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), fff_deleter::lock(), cond::OFFLINE, cond::persistency::IOVEditor::setDescription(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().

207  {
208  std::lock_guard<std::recursive_mutex> lock(m_mutex);
209 
211  Record& myrecord=this->lookUpRecord(recordName);
212  if(!myrecord.m_isNewTag) {
213  cond::throwException( myrecord.m_tag + " is not a new tag", "PoolDBOutputService::createNewIOV");
214  }
215  std::string iovToken;
216  //if(withlogging){
217  // if( m_logConnectionString.empty() ) {
218  // throw cond::db::Exception("Log db was not set from PoolDBOutputService::createNewIOV",
219  // "PoolDBOutputService::createNewIOV");
220  // }
221  //}
222 
223  try{
224  // FIX ME: synchronization type and description have to be passed as the other parameters?
225  cond::persistency::IOVEditor editor = m_session.createIov( payloadType, myrecord.m_tag, myrecord.m_timetype, cond::OFFLINE );
226  editor.setDescription( "New Tag" );
227  editor.insert( firstSinceTime, firstPayloadId );
228  editor.flush();
229  myrecord.m_isNewTag=false;
230  //if(withlogging){
231  // std::string destconnect=m_session.connectionString();
232  // cond::UserLogInfo a=this->lookUpUserLogInfo(recordName);
233  // m_logdb->logOperationNow(a,destconnect,objClass,objToken,myrecord.m_tag,myrecord.timetypestr(),payloadIdx,firstSinceTime);
234  //}
235  }catch(const std::exception& er){
236  //if(withlogging){
237  // std::string destconnect=m_session.connectionString();
238  // cond::UserLogInfo a=this->lookUpUserLogInfo(recordName);
239  // m_logdb->logFailedOperationNow(a,destconnect,objClass,objToken,myrecord.m_tag,myrecord.timetypestr(),payloadIdx,firstSinceTime,std::string(er.what()));
240  //}
241  cond::throwException(std::string(er.what()) + " from PoolDBOutputService::createNewIOV ",
242  "PoolDBOutputService::createNewIOV");
243  }
244  scope.close();
245 }
void setDescription(const std::string &description)
Definition: IOVEditor.cc:113
Transaction & transaction()
Definition: Session.cc:66
Record & lookUpRecord(const std::string &recordName)
cond::persistency::Session m_session
void insert(cond::Time_t since, const cond::Hash &payloadHash, bool checkType=false)
Definition: IOVEditor.cc:135
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
tuple editor
Definition: idDealer.py:73
IOVEditor createIov(const std::string &tag, cond::TimeType timeType, cond::SynchronizationType synchronizationType=cond::OFFLINE)
Definition: Session.h:178
void PoolDBOutputService::createNewIOV ( const std::string &  firstPayloadId,
cond::Time_t  firstSinceTime,
cond::Time_t  firstTillTime,
const std::string &  recordName,
bool  withlogging = false 
)

Definition at line 248 of file PoolDBOutputService.cc.

References idDealer::editor, cppFunctionSkipper::exception, cond::persistency::IOVEditor::flush(), cond::persistency::IOVEditor::insert(), fff_deleter::lock(), cond::OFFLINE, cond::persistency::IOVEditor::setDescription(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().

252  {
253  std::lock_guard<std::recursive_mutex> lock(m_mutex);
255  Record& myrecord=this->lookUpRecord(recordName);
256  if(!myrecord.m_isNewTag) {
257  cond::throwException( myrecord.m_tag + " is not a new tag", "PoolDBOutputService::createNewIOV");
258  }
259  std::string iovToken;
260  try{
261  // FIX ME: synchronization type and description have to be passed as the other parameters?
262  cond::persistency::IOVEditor editor = m_session.createIovForPayload( firstPayloadId, myrecord.m_tag, myrecord.m_timetype, cond::OFFLINE );
263  editor.setDescription( "New Tag" );
264  editor.insert( firstSinceTime, firstPayloadId );
265  editor.flush();
266  myrecord.m_isNewTag=false;
267  }catch(const std::exception& er){
268  cond::throwException(std::string(er.what()) + " from PoolDBOutputService::createNewIOV ",
269  "PoolDBOutputService::createNewIOV");
270  }
271  scope.close();
272 }
void setDescription(const std::string &description)
Definition: IOVEditor.cc:113
Transaction & transaction()
Definition: Session.cc:66
Record & lookUpRecord(const std::string &recordName)
cond::persistency::Session m_session
IOVEditor createIovForPayload(const Hash &payloadHash, const std::string &tag, cond::TimeType timeType, cond::SynchronizationType synchronizationType=cond::OFFLINE)
Definition: Session.cc:108
void insert(cond::Time_t since, const cond::Hash &payloadHash, bool checkType=false)
Definition: IOVEditor.cc:135
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
tuple editor
Definition: idDealer.py:73
cond::Time_t PoolDBOutputService::currentTime ( ) const

Definition at line 196 of file PoolDBOutputService.cc.

References s_streamIndex.

Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), BoostIODBWriter< DataType >::analyze(), FFTJetCorrectorDBWriter::analyze(), SiStripFedCablingBuilder::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), SurveyDBUploader::endJob(), Mixing2DB::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), popcon::L1RPCHwConfigSourceHandler::getNewObjects(), popcon::RPCEMapSourceHandler::getNewObjects(), MisalignedTrackerESProducer::produce(), MuonAlignment::saveCSCSurveyToDB(), MuonAlignment::saveCSCtoDB(), MuonAlignment::saveDTSurveyToDB(), MuonAlignment::saveDTtoDB(), TrackerAlignment::saveToDB(), ConditionDBWriter< SiStripApvGain >::setTime(), CaloGeometryDBWriter::write(), WriteESAlignments::write(), BeamFitter::write2DB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), GlobalTrackerMuonAlignment::writeGlPosRcd(), CaloGeometryDBWriter::writeIndexed(), and DTCalibDBUtils::writeToDB().

196  {
197  assert(-1 != s_streamIndex);
199 }
static thread_local int s_streamIndex
std::vector< cond::Time_t > m_currentTimes
void cond::service::PoolDBOutputService::disconnect ( )
private
cond::Time_t PoolDBOutputService::endOfTime ( ) const

Definition at line 186 of file PoolDBOutputService.cc.

References cond::TimeTypeSpecs::endValue, and cond::timeTypeSpecs.

Referenced by SiStripBadChannelBuilder::algoAnalyze(), EcalDQMStatusWriter::analyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetBuilder::beginRun(), PGeometricDetExtraBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), EcalDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), ESDBCopy::copyToDB(), CocoaDBMgr::DumpCocoaResults(), PhysicsTools::MVATrainerSave::endJob(), PhysicsTools::MVATrainerContainerSave::endJob(), BeamSpotWrite2DB::endJob(), BeamProfile2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), HLTPrescaleRecorder::endRun(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), and writeOne().

186  {
188 }
const TimeTypeSpecs timeTypeSpecs[]
Definition: Time.cc:22
Time_t endValue
Definition: Time.h:46
void PoolDBOutputService::fillRecord ( edm::ParameterSet pset)
private

Definition at line 24 of file PoolDBOutputService.cc.

References edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_callbacks, cond::service::PoolDBOutputService::Record::m_closeIOV, m_closeIOV, cond::service::PoolDBOutputService::Record::m_idName, cond::service::PoolDBOutputService::Record::m_tag, cond::service::PoolDBOutputService::Record::m_timetype, m_timetypestr, AlCaHLTBitMon_QueryRunRegistry::string, and cond::time::timeTypeFromName().

24  {
25  Record thisrecord;
26 
27  thisrecord.m_idName = pset.getParameter<std::string>("record");
28  thisrecord.m_tag = pset.getParameter<std::string>("tag");
29 
30  thisrecord.m_closeIOV =
31  pset.getUntrackedParameter<bool>("closeIOV", m_closeIOV);
32 
33  //thisrecord.m_timetype=cond::findSpecs(pset.getUntrackedParameter< std::string >("timetype",m_timetypestr)).type;
34  thisrecord.m_timetype = cond::time::timeTypeFromName( pset.getUntrackedParameter< std::string >("timetype",m_timetypestr) );
35 
36  m_callbacks.insert(std::make_pair(thisrecord.m_idName,thisrecord));
37 
38  // *** THE LOGGING has still to be defined and implemented.
39  //if( !m_logConnectionString.empty() ){
40  // cond::UserLogInfo userloginfo;
41  // m_logheaders.insert(std::make_pair(thisrecord.m_idName,userloginfo));
42  //}
43 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
TimeType timeTypeFromName(const std::string &name)
Definition: Time.cc:24
std::map< std::string, Record > m_callbacks
void PoolDBOutputService::initDB ( bool  forReading = true)
private

Definition at line 121 of file PoolDBOutputService.cc.

References cppFunctionSkipper::exception, fff_deleter::lock(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().

Referenced by createNewIOV(), and writeOne().

122 {
123  std::lock_guard<std::recursive_mutex> lock(m_mutex);
124  m_session.transaction().start(false);
126  try{
127  if(!forReading) {
129  }
130  //init logdb if required
131  //if(!m_logConnectionString.empty()){
132  // m_logdb->connect( m_logConnectionString );
133  // m_logdb->createLogDBIfNonExist();
134  //}
135  } catch( const std::exception& er ){
136  cond::throwException( std::string(er.what()),"PoolDBOutputService::initDB" );
137  }
138  scope.close();
139  m_dbstarted=true;
140 }
void start(bool readOnly=true)
Definition: Session.cc:22
Transaction & transaction()
Definition: Session.cc:66
cond::persistency::Session m_session
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
bool PoolDBOutputService::isNewTagRequest ( const std::string &  recordName)

Definition at line 115 of file PoolDBOutputService.cc.

References cond::service::PoolDBOutputService::Record::m_isNewTag.

Referenced by SiStripBadChannelBuilder::algoAnalyze(), DBWriter::analyze(), SiStripDetVOffFakeBuilder::analyze(), SiStripNoisesBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripSummaryBuilder::analyze(), SiStripThresholdBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripFEDErrorsDQM::analyze(), EcalTestDevDB::analyze(), XMLGeometryBuilder::beginJob(), GeometricDetLoader::beginJob(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob(), JetCorrectorDBWriter::beginJob(), QGLikelihoodSystematicsDBWriter::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob(), PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV::beginJob(), QGLikelihoodDBWriter::beginJob(), WriteOneGeometryFromXML::beginRun(), RPCRecoIdealDBLoader::beginRun(), SiStripFedCablingBuilder::beginRun(), CSCRecoIdealDBLoader::beginRun(), DTRecoIdealDBLoader::beginRun(), PGeometricDetExtraBuilder::beginRun(), PGeometricDetBuilder::beginRun(), GEMRecoIdealDBLoader::beginRun(), CocoaDBMgr::DumpCocoaResults(), BeamSpotWrite2DB::endJob(), StoreEcalCondition::endJob(), CentralityTableProducer::endJob(), SiStripFedCablingManipulator::endRun(), AlcaBeamSpotHarvester::endRun(), HLTPrescaleRecorder::endRun(), popcon::PopCon::initialize(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), l1t::DataWriter::updateIOV(), CaloGeometryDBWriter::write(), BeamFitter::write2DB(), AlCaRecoTriggerBitsRcdUpdate::writeBitsToDB(), SiPixelHistoricInfoEDAClient::writeDB(), SiPixelHistoricInfoDQMClient::writeDB(), CaloGeometryDBWriter::writeIndexed(), writeOne(), and DTCalibDBUtils::writeToDB().

115  {
116  Record& myrecord=this->lookUpRecord(recordName);
117  return myrecord.m_isNewTag;
118 }
Record & lookUpRecord(const std::string &recordName)
cond::service::PoolDBOutputService::Record & PoolDBOutputService::lookUpRecord ( const std::string &  recordName)
private

Definition at line 315 of file PoolDBOutputService.cc.

References fff_deleter::lock(), and cond::throwException().

315  {
316  std::lock_guard<std::recursive_mutex> lock(m_mutex);
317  if (!m_dbstarted) this->initDB( false );
319  std::map<std::string,Record>::iterator it=m_callbacks.find(recordName);
320  if(it==m_callbacks.end()) {
321  cond::throwException("The record \""+recordName +"\" has not been registered.","PoolDBOutputService::lookUpRecord");
322  }
323  if( !m_session.existsIov( it->second.m_tag) ){
324  it->second.m_isNewTag=true;
325  } else {
326  it->second.m_isNewTag=false;
327  }
328  scope.close();
329  return it->second;
330 }
Transaction & transaction()
Definition: Session.cc:66
cond::persistency::Session m_session
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
bool existsIov(const std::string &tag)
Definition: Session.cc:88
std::map< std::string, Record > m_callbacks
void PoolDBOutputService::postEndJob ( )

Definition at line 143 of file PoolDBOutputService.cc.

144 {
145  if( m_dbstarted) {
147  m_dbstarted = false;
148  }
149 }
Transaction & transaction()
Definition: Session.cc:66
cond::persistency::Session m_session
void PoolDBOutputService::postModuleEvent ( edm::StreamContext const &  iContext,
edm::ModuleCallingContext const &   
)
private

Definition at line 163 of file PoolDBOutputService.cc.

References s_streamIndex.

163  {
164  s_streamIndex = -1;
165 }
static thread_local int s_streamIndex
void PoolDBOutputService::preEventProcessing ( edm::StreamContext const &  iContext)
private

Definition at line 152 of file PoolDBOutputService.cc.

References edm::StreamContext::streamID(), edm::StreamContext::timestamp(), edm::StreamID::value(), and edm::Timestamp::value().

153 {
154  m_currentTimes[iContext.streamID().value()] = iContext.timestamp().value();
155 }
std::vector< cond::Time_t > m_currentTimes
void PoolDBOutputService::preGlobalBeginLumi ( edm::GlobalContext const &  iContext)
private

Definition at line 175 of file PoolDBOutputService.cc.

References edm::GlobalContext::luminosityBlockID(), cond::rpcobgas::time, and edm::LuminosityBlockID::value().

175  {
176  for( auto& time : m_currentTimes) {
177  time = iContext.luminosityBlockID().value();
178  }
179 }
std::vector< cond::Time_t > m_currentTimes
void PoolDBOutputService::preGlobalBeginRun ( edm::GlobalContext const &  iContext)
private

Definition at line 168 of file PoolDBOutputService.cc.

References edm::GlobalContext::luminosityBlockID(), edm::LuminosityBlockID::run(), and cond::rpcobgas::time.

168  {
169  for( auto& time : m_currentTimes) {
170  time = iContext.luminosityBlockID().run();
171  }
172 }
std::vector< cond::Time_t > m_currentTimes
void PoolDBOutputService::preModuleEvent ( edm::StreamContext const &  iContext,
edm::ModuleCallingContext const &   
)
private

Definition at line 158 of file PoolDBOutputService.cc.

References s_streamIndex, edm::StreamContext::streamID(), and edm::StreamID::value().

158  {
159  s_streamIndex = iContext.streamID().value();
160 }
static thread_local int s_streamIndex
cond::persistency::Session PoolDBOutputService::session ( ) const
void PoolDBOutputService::setLogHeaderForRecord ( const std::string &  recordName,
const std::string &  provenance,
const std::string &  usertext 
)

Definition at line 359 of file PoolDBOutputService.cc.

Referenced by popcon::PopCon::write().

360 {
361  //cond::UserLogInfo& myloginfo=this->lookUpUserLogInfo(recordName);
362  //myloginfo.provenance=dataprovenance;
363  //myloginfo.usertext=usertext;
364 }
std::string PoolDBOutputService::tag ( const std::string &  recordName)
void PoolDBOutputService::tagInfo ( const std::string &  recordName,
cond::TagInfo_t result 
)

Definition at line 375 of file PoolDBOutputService.cc.

References cond::persistency::IOVProxy::getLast(), o2o::iov, prof2calltree::last, cond::TagInfo_t::lastInterval, cond::TagInfo_t::lastPayloadToken, fff_deleter::lock(), cond::service::PoolDBOutputService::Record::m_tag, cond::TagInfo_t::name, cond::Iov_t::payloadId, record, cond::persistency::IOVProxy::sequenceSize(), cond::Iov_t::since, cond::TagInfo_t::size, and cond::Iov_t::till.

Referenced by popcon::PopCon::initialize(), l1t::DataWriter::lastPayloadToken(), and l1t::DataWriter::updateIOV().

375  {
376  //
377  std::lock_guard<std::recursive_mutex> lock(m_mutex);
379  result.name=record.m_tag;
380  //use iovproxy to find out.
382  result.size=iov.sequenceSize();
383  if (result.size>0) {
384  cond::Iov_t last = iov.getLast();
385  result.lastInterval = cond::ValidityInterval( last.since, last.till );
386  result.lastPayloadToken = last.payloadId;
387  }
388 }
JetCorrectorParameters::Record record
Definition: classes.h:7
Time_t since
Definition: Types.h:51
size_t size
Definition: Types.h:72
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
std::string name
Definition: Types.h:68
cond::ValidityInterval lastInterval
Definition: Types.h:70
IOVProxy readIov(const std::string &tag, bool full=false)
Definition: Session.cc:81
tuple iov
Definition: o2o.py:307
Record & lookUpRecord(const std::string &recordName)
Hash payloadId
Definition: Types.h:53
cond::persistency::Session m_session
std::string lastPayloadToken
Definition: Types.h:71
Time_t till
Definition: Types.h:52
template<typename T >
void cond::service::PoolDBOutputService::writeOne ( T payload,
Time_t  time,
const std::string &  recordName,
bool  withlogging = false 
)
inline

Definition at line 58 of file PoolDBOutputService.h.

References appendSinceTime(), createNewIOV(), ora::ClassUtils::demangledName(), endOfTime(), initDB(), isNewTagRequest(), fff_deleter::lock(), m_dbstarted, m_mutex, m_session, cond::persistency::Session::storePayload(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::throwException().

Referenced by EcalDQMStatusWriter::analyze(), SurveyInputTrackerFromDB::analyze(), TrackerSystematicMisalignments::analyze(), BoostIODBWriter< DataType >::analyze(), FFTJetCorrectorDBWriter::analyze(), TrackerGeometryCompare::analyze(), MoveFlatParamsToDB::analyze(), DTUserKeyedConfigHandler::chkConfigList(), DTKeyedConfigHandler::chkConfigList(), EcalDBCopy::copyToDB(), SurveyDBUploader::endJob(), Mixing2DB::endJob(), DTKeyedConfigDBInit::endJob(), SiStripLorentzAngleCalibration::endOfJob(), SiStripBackplaneCalibration::endOfJob(), SiPixelLorentzAngleCalibration::endOfJob(), AlcaBeamSpotHarvester::endRun(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), LaserAlignment::endRunProduce(), MisalignedTrackerESProducer::produce(), MuonAlignment::saveCSCSurveyToDB(), MuonAlignment::saveCSCtoDB(), MuonAlignment::saveDTSurveyToDB(), MuonAlignment::saveDTtoDB(), TrackerAlignment::saveToDB(), MisalignedMuonESProducer::saveToDB(), ConditionDBWriter< SiStripApvGain >::storeOnDb(), WriteESAlignments::write(), AlignmentProducer::writeDB(), GlobalTrackerMuonAlignment::writeGlPosRcd(), popcon::PopCon::writeOne(), and DTCalibDBUtils::writeToDB().

58  {
59  if( !payload ) throwException( "Provided payload pointer is invalid.","PoolDBOutputService::writeOne");
60  std::lock_guard<std::recursive_mutex> lock(m_mutex);
61  if (!m_dbstarted) this->initDB( false );
62  Hash payloadId = m_session.storePayload( *payload );
63  std::string payloadType = cond::demangledName(typeid(T));
65  createNewIOV(payloadId, payloadType, time, endOfTime(), recordName, withlogging);
66  } else {
67  appendSinceTime(payloadId, time, recordName, withlogging);
68  }
69  }
std::string demangledName(const std::type_info &typeInfo)
Definition: ClassUtils.cc:82
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
bool isNewTagRequest(const std::string &recordName)
std::string Hash
Definition: Types.h:43
cond::persistency::Session m_session
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
void throwException(std::string const &message, std::string const &methodName)
Definition: Exception.cc:17
cond::Hash storePayload(const T &payload, const boost::posix_time::ptime &creationTime=boost::posix_time::microsec_clock::universal_time())
Definition: Session.h:182
long double T

Member Data Documentation

std::map<std::string, Record> cond::service::PoolDBOutputService::m_callbacks
private

Definition at line 206 of file PoolDBOutputService.h.

Referenced by fillRecord().

bool cond::service::PoolDBOutputService::m_closeIOV
private

Definition at line 208 of file PoolDBOutputService.h.

Referenced by fillRecord().

std::vector<cond::Time_t> cond::service::PoolDBOutputService::m_currentTimes
private

Definition at line 199 of file PoolDBOutputService.h.

bool cond::service::PoolDBOutputService::m_dbstarted
private

Definition at line 204 of file PoolDBOutputService.h.

Referenced by createNewIOV(), and writeOne().

std::recursive_mutex cond::service::PoolDBOutputService::m_mutex
private

Definition at line 196 of file PoolDBOutputService.h.

Referenced by createNewIOV(), and writeOne().

cond::persistency::Session cond::service::PoolDBOutputService::m_session
private

Definition at line 201 of file PoolDBOutputService.h.

Referenced by appendSinceTime(), createNewIOV(), and writeOne().

cond::TimeType cond::service::PoolDBOutputService::m_timetype
private

Definition at line 197 of file PoolDBOutputService.h.

std::string cond::service::PoolDBOutputService::m_timetypestr
private

Definition at line 198 of file PoolDBOutputService.h.

Referenced by fillRecord().