1 #ifndef LHCInfoPerLSPopConSourceHandler_h 2 #define LHCInfoPerLSPopConSourceHandler_h 32 unsigned short fillId,
33 const boost::posix_time::ptime& beginFillTime,
34 const boost::posix_time::ptime& endFillTime);
36 const boost::posix_time::ptime& beginFillTime,
37 const boost::posix_time::ptime& endFillTime);
74 std::vector<std::pair<cond::Time_t, std::shared_ptr<LHCInfoPerLS>>>
m_tmpBuffer;
79 std::map<std::pair<cond::Time_t, unsigned int>, std::pair<cond::Time_t, unsigned int>>
m_lsIdMap;
cond::Time_t m_startFillTime
void addDefaultPayload(cond::Time_t iov, unsigned short fill, const cond::OMSService &oms)
bool makeFillPayload(std::unique_ptr< LHCInfoPerLS > &targetPayload, const cond::OMSServiceResult &queryResult)
boost::posix_time::ptime m_startTime
void getNewObjects() override
std::shared_ptr< LHCInfoPerLS > m_prevPayload
std::string id() const override
LHCInfoPerLSPopConSourceHandler(edm::ParameterSet const &pset)
std::vector< std::pair< cond::Time_t, std::shared_ptr< LHCInfoPerLS > > > m_tmpBuffer
cond::Time_t m_prevEndFillTime
bool isPayloadValid(const LHCInfoPerLS &payload) const
~LHCInfoPerLSPopConSourceHandler() override
float m_defaultCrossingAngleX
float m_defaultCrossingAngleY
unsigned long long Time_t
size_t bufferAllLS(const cond::OMSServiceResult &queryResult)
cond::Time_t m_endFillTime
std::string m_connectionString
void addPayloadToBuffer(cond::OMSServiceResultRef &row)
std::map< std::pair< cond::Time_t, unsigned int >, std::pair< cond::Time_t, unsigned int > > m_lsIdMap
boost::posix_time::ptime m_endTime
cond::Time_t m_endStableBeamTime
std::unique_ptr< LHCInfoPerLS > m_fillPayload
void addEmptyPayload(cond::Time_t iov)
bool getCTPPSData(cond::persistency::Session &session, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime)
cond::Time_t m_startStableBeamTime
cond::Time_t m_prevStartFillTime
size_t getLumiData(const cond::OMSService &oms, unsigned short fillId, const boost::posix_time::ptime &beginFillTime, const boost::posix_time::ptime &endFillTime)
void filterInvalidPayloads()