1 #ifndef CondCore_CondDB_IOVSchema_h 2 #define CondCore_CondDB_IOVSchema_h 7 #include <boost/date_time/posix_time/posix_time.hpp> 11 namespace persistency {
26 explicit Table(coral::ISchema& schema);
28 bool exists()
override;
40 boost::posix_time::ptime& insertionTime,
41 boost::posix_time::ptime& modificationTime)
override;
49 const boost::posix_time::ptime& insertionTime)
override;
55 const boost::posix_time::ptime& updateTime)
override;
58 const boost::posix_time::ptime& updateTime)
override;
78 explicit Table(coral::ISchema& schema);
80 bool exists()
override;
92 const boost::posix_time::ptime& insertionTime);
96 const boost::posix_time::ptime& insertionTime)
override;
115 std::string sgroupSize = std::to_string(groupSize);
116 return "CAST(" + SINCE::fullyQualifiedName() +
"/" + sgroupSize +
" AS INT )*" + sgroupSize;
143 explicit Table(coral::ISchema& schema);
145 bool exists()
override;
149 unsigned long long groupSize,
150 std::vector<cond::Time_t>& groups)
override;
154 const boost::posix_time::ptime& snapshotTime,
155 std::vector<std::tuple<cond::Time_t, cond::Hash> >& iovs)
override;
157 const boost::posix_time::ptime& snapshotTime,
160 bool getSize(
const std::string& tag,
const boost::posix_time::ptime& snapshotTime,
size_t&
size)
override;
164 const boost::posix_time::ptime& snapshotTime,
165 std::vector<std::tuple<cond::Time_t, cond::Hash> >& iovs)
override;
169 const boost::posix_time::ptime& insertTime)
override;
172 const std::vector<std::tuple<cond::Time_t, cond::Hash, boost::posix_time::ptime> >& iovs)
override;
191 explicit Table(coral::ISchema& schema);
193 bool exists()
override;
196 const boost::posix_time::ptime& eventTime,
210 explicit IOVSchema(coral::ISchema& schema);
212 bool exists()
override;
static std::string tableName()
def create(alignables, pedeDump, additionalData, outputFile, config)
void setValidationMode() override
coral::ISchema & m_schema
static std::string tableName()
#define conddb_column(...)
PAYLOAD::Table m_payloadTable
coral::ISchema & m_schema
static std::string group(unsigned long long groupSize)
coral::ISchema & m_schema
unsigned long long Time_t
#define conddb_table(NAME)
bool insert(Storage &iStorage, ItemType *iItem, const IdTag &iIdTag)
static std::string fullyQualifiedName()
static std::string tableName()
static std::string tableName()
TAG_LOG::Table m_tagLogTable
static std::string fullyQualifiedName()
coral::ISchema & m_schema
static unsigned int PAYLOAD_HASH_SIZE
static std::string fullyQualifiedName()
select
when omitted electron plots will be filled w/o cut on electronId electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), cutValue = cms.double(0.5) ), when omitted electron plots will be filled w/o additional pre- selection of the electron candidates
static std::string fullyQualifiedName()