5#ifndef dqutilsHistogramDataCOOL_h
6#define dqutilsHistogramDataCOOL_h
11 #include "CoolKernel/pointers.h"
12 #include "CoolKernel/ValidityKey.h"
15 class IDatabasePtr {};
27#include "CoralBase/AttributeList.h"
30#include "CoolApplication/Application.h"
33#include "CoolKernel/types.h"
34#include "CoolKernel/ChannelId.h"
35#include "CoolKernel/RecordSpecification.h"
36#include "CoolKernel/ChannelSelection.h"
50 class RecordSpecification;
51 class ChannelSelection;
78 void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU);
83 coral::AttributeList
createPayload(
int colourCode,
float dfrac,
float thrust,
const
84 cool::RecordSpecification& spec);
87 const std::string& algo,
88 int entries,
float par1,
float par2,
float par3,
float par4,
float par5,
const
89 cool::RecordSpecification& specH);
92 HistogramDataCOOL(
const std::string& dbStr,
const std::string& folderStr,
int runS,
int lumiS,
int runU,
int lumiU);
98 void dump(cool::ChannelSelection
selection,
const std::string & tag_name);
99 std::string
dumpHisto(cool::ChannelId channelId,
const std::string &field,
const std::string &tag_name);
100 int dumpCode(
const std::string& channelName,
const std::string& tag_name);
103 void insertH(cool::ChannelId channelId,
int code,
104 const std::string& algo,
105 int entries,
float par1,
float par2,
float par3,
float par4,
float par5,
106 const std::string& tag_name);
107 void insertH(
const std::string & channelName,
int code,
const std::string & algo,
int entries,
float par1,
float par2,
float par3,
108 float par4,
float par5,
const std::string & tag_name);
110 virtual void ntupleDB(
int HistoId,
const std::string& nameHisto,
const std::string& configuration,
int Irun,
112 virtual void historyDB(
int HistoId,
const std::string& nameHisto,
const std::string& tag_name);
113 std::string
defParName(
const std::string& Algorithm,
const std::string& nameHisto,
int i);
Define macros for attributes used to control the static checker.
cool::ValidityKey m_until
std::string defParName(const std::string &Algorithm, const std::string &nameHisto, int i)
void dumpall(const std::string &tag_name)
void dump(cool::ChannelSelection selection, const std::string &tag_name)
cool::ValidityKey m_since
cool::IFolderPtr coolFolderInstance(const std::string &folderStr)
void setIOV(cool::Int64 run)
void insertH(cool::ChannelId channelId, int code, const std::string &algo, int entries, float par1, float par2, float par3, float par4, float par5, const std::string &tag_name)
cool::IDatabasePtr getCoolDb()
cool::IFolderPtr m_coolFolderH
void setUntil(cool::Int64 run, cool::Int64 lumi)
virtual void historyDB(int HistoId, const std::string &nameHisto, const std::string &tag_name)
cool::IDatabasePtr coolDbInstance(const std::string &dbStr, bool readOnly)
cool::IFolderPtr m_coolFolder
void insertH(const std::string &channelName, int code, const std::string &algo, int entries, float par1, float par2, float par3, float par4, float par5, const std::string &tag_name)
HistogramDataCOOL(const std::string &dbStr, const std::string &folderStr, int runS, int lumiS, int runU, int lumiU)
std::string dumpHisto(cool::ChannelId channelId, const std::string &field, const std::string &tag_name)
HistogramDataCOOL(int runS, int lumiS, int runU, int lumiU)
void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU)
cool::IDatabasePtr m_coolDb
cool::RecordSpecification createSpec()
virtual void ntupleDB(int HistoId, const std::string &nameHisto, const std::string &configuration, int Irun, int Frun)
int dumpCode(const std::string &channelName, const std::string &tag_name)
cool::RecordSpecification createSpecH()
virtual ~HistogramDataCOOL()
void setSince(cool::Int64 run, cool::Int64 lumi)
virtual void formatGraph(TCanvas *c, TGraphErrors *gr) const
cool::IFolderPtr getCoolFolderH()
coral::AttributeList createPayloadH(int colourCode, const std::string &algo, int entries, float par1, float par2, float par3, float par4, float par5, const cool::RecordSpecification &specH)
coral::AttributeList createPayload(int colourCode, float dfrac, float thrust, const cool::RecordSpecification &spec)
const std::string selection
void getImageBuffer ATLAS_NOT_THREAD_SAFE(TImage **img, TCanvas *myC, char **x, int *y)
int run(int argc, char *argv[])