1 #ifndef RecoLuminosity_LumiProducer_RevisionDML_H 2 #define RecoLuminosity_LumiProducer_RevisionDML_H 19 DataID() : lumi_id(0), trg_id(0), hlt_id(0) {}
28 Entry() : revision_id(0), entry_id(0), data_id(0), entry_name(
"") {}
67 unsigned long long getEntryInBranchByName(coral::ISchema& schema,
78 void bookNewRevision(coral::ISchema& schema,
const std::string& datatableName,
Entry& revision);
87 void addEntry(coral::ISchema& schema,
90 unsigned long long branch_id,
98 void addRevision(coral::ISchema& schema,
100 const Entry& revision,
101 unsigned long long branch_id,
103 void insertLumiRunData(coral::ISchema& schema,
const LumiEntry& lumientry);
104 void insertTrgRunData(coral::ISchema& schema,
const TrgEntry& trgentry);
105 void insertHltRunData(coral::ISchema& schema,
const HltEntry& hltentry);
107 unsigned long long currentHFDataTagId(coral::ISchema& schema);
108 unsigned long long HFDataTagIdByName(coral::ISchema& schema,
const std::string& datatagname);
109 unsigned long long addRunToCurrentHFDataTag(coral::ISchema& schema,
111 unsigned long long lumiid,
112 unsigned long long trgid,
113 unsigned long long hltid,
115 DataID dataIDForRun(coral::ISchema& schema,
unsigned int runnum,
unsigned long long tagid);
unsigned long long hlt_id
unsigned long long data_id
unsigned long long revision_id
unsigned long long entry_id
unsigned int ncollidingbunches
unsigned long long lumi_id
static std::string const source
unsigned long long trg_id