1 #ifndef DQMOffline_CalibTracker_SiStripDQMPopConSourceHandler_H 2 #define DQMOffline_CalibTracker_SiStripDQMPopConSourceHandler_H 24 m_since{
pset.getUntrackedParameter<uint32_t>(
"since", 5)},
69 <<
"[SiStripPopConDbObjHandler::getNewObjects] for PopCon application " <<
m_name;
73 ss <<
"\n\n------- " <<
m_name <<
" - > getNewObjects\n";
93 ss <<
" First object for this tag ";
102 <<
"[SiStripPopConDbObjHandler::getNewObjects] for PopCon application " <<
m_name <<
" Done\n--------------\n";
105 template <
typename T>
107 edm::LogInfo(
"SiStripPopConDbObjHandler") <<
"[SiStripPopConDbObjHandler::isTransferNeeded] checking for transfer ";
111 <<
"[SiStripPopConDbObjHandler::isTransferNeeded] \nthe current starting iov " <<
m_since 112 <<
"\nis not compatible with the last iov (" << this->
tagInfo().
lastInterval.first <<
") open for the object " 114 <<
" \n NO TRANSFER NEEDED";
129 <<
"[SiStripPopConDbObjHandler::isTransferNeeded] \nthe selected conditions will be uploaded: " << ss
130 <<
"\n Current MetaData - " << ss <<
"\n Last Uploaded MetaData- " << ss_logdb <<
"\n Fine";
135 <<
"[SiStripPopConDbObjHandler::isTransferNeeded] \nthe current MetaData conditions " << ss
136 <<
"\nare not compatible with the MetaData Conditions of the last iov (" << this->
tagInfo().
lastInterval.first
145 template <
typename T>
148 <<
"[SiStripPopConDbObjHandler::setForTransfer] " <<
m_name <<
" getting data to be transferred ";
161 <<
"[SiStripPopConDbObjHandler::setForTransfer] " <<
m_name <<
" : NULL pointer of obj " <<
typeid(
T).
name()
162 <<
" reported by SiStripCondObjBuilderFromDb\n Transfer aborted";
168 std::cout <<
"SiStripPedestalsDQMService::getMetaDataString" << std::endl;
169 std::stringstream
ss;
174 #endif // DQMOffline_CalibTracker_SiStripDQMPopConSourceHandler_H
T getUntrackedParameter(std::string const &, T const &) const
std::string m_userTextLog
std::string const & userTextLog() const
virtual void initES(const edm::EventSetup &)
SiStripDQMPopConSourceHandler(const edm::ParameterSet &pset)
std::string id() const override
virtual std::string getMetaDataString() const
OldContainer m_to_transfer
cond::ValidityInterval lastInterval
dqm::legacy::DQMStore DQMStore
cond::LogDBEntry_t const & logDBEntry() const
void getNewObjects() override
~SiStripDQMPopConSourceHandler() override
std::string destinationDB
uint32_t getRunNumber() const
virtual void dqmEndJob(DQMStore::IBooker &booker, DQMStore::IGetter &getter)
std::string lastPayloadToken
virtual bool checkForCompatibility(const std::string &otherMetaData) const
unsigned long long m_since
virtual T * getObj() const =0
cond::TagInfo_t const & tagInfo() const