|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef dqutilsHistogramDataCOOL_h
6 #define dqutilsHistogramDataCOOL_h
11 #include "CoolKernel/pointers.h"
12 #include "CoolKernel/ValidityKey.h"
15 class IDatabasePtr {};
28 #include "CoralBase/AttributeList.h"
31 #include "CoolApplication/Application.h"
34 #include "CoolKernel/types.h"
35 #include "CoolKernel/ChannelId.h"
36 #include "CoolKernel/RecordSpecification.h"
37 #include "CoolKernel/ChannelSelection.h"
44 #include <TDirectory.h>
47 #include <TGraphErrors.h>
50 #include <TIterator.h>
65 class RecordSpecification;
66 class ChannelSelection;
76 cool::ValidityKey m_since {};
77 cool::ValidityKey m_until {};
78 cool::IDatabasePtr m_coolDb {};
79 cool::IFolderPtr m_coolFolder {};
80 cool::IFolderPtr m_coolFolderH {};
93 void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU);
99 cool::RecordSpecification&
spec);
102 const std::string& algo,
103 int entries,
float par1,
float par2,
float par3,
float par4,
float par5,
const
104 cool::RecordSpecification& specH);
107 HistogramDataCOOL(
const std::string& dbStr,
const std::string& folderStr,
int runS,
int lumiS,
int runU,
int lumiU);
115 int dumpCode(
const std::string& channelName,
const std::string& tag_name);
119 const std::string& algo,
120 int entries,
float par1,
float par2,
float par3,
float par4,
float par5,
121 const std::string& tag_name);
122 void insertH(std::string channelName,
int code, std::string algo,
int entries,
float par1,
float par2,
float par3,
123 float par4,
float par5, std::string tag_name);
125 virtual void ntupleDB(
int HistoId,
const std::string&
nameHisto,
const std::string& configuration,
int Irun,
void getImageBuffer ATLAS_NOT_THREAD_SAFE(TImage **img, TCanvas *myC, char **x, int *y)
void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU)
virtual void formatGraph(TCanvas *c, TGraphErrors *gr) const
virtual void ntupleDB(int HistoId, const std::string &nameHisto, const std::string &configuration, int Irun, int Frun)
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()
virtual ~HistogramDataCOOL()
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)
CLHEP::Hep3Vector thrust(const I4MomIter_t &iBeg, const I4MomIter_t &iEnd, double &thrust_major, double &thrust_minor, bool useThreeD=false)
void dump(cool::ChannelSelection selection, std::string tag_name)
int dumpCode(const std::string &channelName, const std::string &tag_name)
cool::RecordSpecification createSpec()
virtual void historyDB(int HistoId, const std::string &nameHisto, const std::string &tag_name)
void setSince(cool::Int64 run, cool::Int64 lumi)
void setIOV(cool::Int64 run)
const std::string selection
cool::IDatabasePtr coolDbInstance(const std::string &dbStr, bool readOnly)
void insertH(std::string channelName, int code, std::string algo, int entries, float par1, float par2, float par3, float par4, float par5, std::string tag_name)
std::string defParName(const std::string &Algorithm, const std::string &nameHisto, int i)
cool::RecordSpecification createSpecH()
void setUntil(cool::Int64 run, cool::Int64 lumi)
std::string dumpHisto(cool::ChannelId channelId, std::string field, std::string tag_name)
void dumpall(const std::string &tag_name)
coral::AttributeList createPayload(int colourCode, float dfrac, float thrust, const cool::RecordSpecification &spec)
cool::IFolderPtr getCoolFolderH()
cool::IFolderPtr coolFolderInstance(const std::string &folderStr)
Define macros for attributes used to control the static checker.
HistogramDataCOOL(const std::string &dbStr, const std::string &folderStr, int runS, int lumiS, int runU, int lumiU)
HistogramDataCOOL(int runS, int lumiS, int runU, int lumiU)