ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
dqutils::HistogramDataCOOL Class Reference

#include <HistogramDataCOOL.h>

Inheritance diagram for dqutils::HistogramDataCOOL:
Collaboration diagram for dqutils::HistogramDataCOOL:

Public Member Functions

cool::IDatabasePtr coolDbInstance (const std::string &dbStr, bool readOnly)
 
cool::IFolderPtr coolFolderInstance (const std::string &folderStr)
 
void setSince (cool::Int64 run, cool::Int64 lumi)
 
void setUntil (cool::Int64 run, cool::Int64 lumi)
 
void printIOV ()
 
void setIOV (cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU)
 
void setIOV (cool::Int64 run)
 
cool::RecordSpecification createSpec ()
 
coral::AttributeList createPayload (int colourCode, float dfrac, float thrust, const cool::RecordSpecification &spec)
 
cool::RecordSpecification createSpecH ()
 
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)
 
 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)
 
 HistogramDataCOOL ()
 
virtual ~HistogramDataCOOL ()
 
void dump (cool::ChannelSelection selection, std::string tag_name)
 
std::string dumpHisto (cool::ChannelId channelId, std::string field, std::string tag_name)
 
int dumpCode (const std::string &channelName, const std::string &tag_name)
 
void dumpall (const std::string &tag_name)
 
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)
 
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)
 
virtual void ntupleDB (int HistoId, const std::string &nameHisto, const std::string &configuration, int Irun, int Frun)
 
virtual void historyDB (int HistoId, const std::string &nameHisto, const std::string &tag_name)
 
std::string defParName (const std::string &Algorithm, const std::string &nameHisto, int i)
 
virtual void formatGraph (TCanvas *c, TGraphErrors *gr) const
 
cool::IFolderPtr getCoolFolderH ()
 
cool::IDatabasePtr getCoolDb ()
 

Private Attributes

cool::ValidityKey m_since {}
 
cool::ValidityKey m_until {}
 
cool::IDatabasePtr m_coolDb {}
 
cool::IFolderPtr m_coolFolder {}
 
cool::IFolderPtr m_coolFolderH {}
 

Detailed Description

Definition at line 71 of file HistogramDataCOOL.h.

Constructor & Destructor Documentation

◆ HistogramDataCOOL() [1/3]

dqutils::HistogramDataCOOL::HistogramDataCOOL ( const std::string &  dbStr,
const std::string &  folderStr,
int  runS,
int  lumiS,
int  runU,
int  lumiU 
)

◆ HistogramDataCOOL() [2/3]

dqutils::HistogramDataCOOL::HistogramDataCOOL ( int  runS,
int  lumiS,
int  runU,
int  lumiU 
)

◆ HistogramDataCOOL() [3/3]

dqutils::HistogramDataCOOL::HistogramDataCOOL ( )

◆ ~HistogramDataCOOL()

virtual dqutils::HistogramDataCOOL::~HistogramDataCOOL ( )
virtual

Member Function Documentation

◆ coolDbInstance()

cool::IDatabasePtr dqutils::HistogramDataCOOL::coolDbInstance ( const std::string &  dbStr,
bool  readOnly 
)

◆ coolFolderInstance()

cool::IFolderPtr dqutils::HistogramDataCOOL::coolFolderInstance ( const std::string &  folderStr)

◆ createPayload()

coral::AttributeList dqutils::HistogramDataCOOL::createPayload ( int  colourCode,
float  dfrac,
float  thrust,
const cool::RecordSpecification &  spec 
)

◆ createPayloadH()

coral::AttributeList dqutils::HistogramDataCOOL::createPayloadH ( int  colourCode,
const std::string &  algo,
int  entries,
float  par1,
float  par2,
float  par3,
float  par4,
float  par5,
const cool::RecordSpecification &  specH 
)

◆ createSpec()

cool::RecordSpecification dqutils::HistogramDataCOOL::createSpec ( )

◆ createSpecH()

cool::RecordSpecification dqutils::HistogramDataCOOL::createSpecH ( )

◆ defParName()

std::string dqutils::HistogramDataCOOL::defParName ( const std::string &  Algorithm,
const std::string &  nameHisto,
int  i 
)

◆ dump()

void dqutils::HistogramDataCOOL::dump ( cool::ChannelSelection  selection,
std::string  tag_name 
)

◆ dumpall()

void dqutils::HistogramDataCOOL::dumpall ( const std::string &  tag_name)

◆ dumpCode()

int dqutils::HistogramDataCOOL::dumpCode ( const std::string &  channelName,
const std::string &  tag_name 
)

◆ dumpHisto()

std::string dqutils::HistogramDataCOOL::dumpHisto ( cool::ChannelId  channelId,
std::string  field,
std::string  tag_name 
)

◆ formatGraph()

virtual void dqutils::HistogramDataCOOL::formatGraph ( TCanvas *  c,
TGraphErrors *  gr 
) const
virtual

◆ getCoolDb()

cool::IDatabasePtr dqutils::HistogramDataCOOL::getCoolDb ( )

◆ getCoolFolderH()

cool::IFolderPtr dqutils::HistogramDataCOOL::getCoolFolderH ( )

◆ historyDB()

virtual void dqutils::HistogramDataCOOL::historyDB ( int  HistoId,
const std::string &  nameHisto,
const std::string &  tag_name 
)
virtual

◆ insertH() [1/2]

void dqutils::HistogramDataCOOL::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 
)

◆ insertH() [2/2]

void dqutils::HistogramDataCOOL::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 
)

◆ ntupleDB()

virtual void dqutils::HistogramDataCOOL::ntupleDB ( int  HistoId,
const std::string &  nameHisto,
const std::string &  configuration,
int  Irun,
int  Frun 
)
virtual

◆ printIOV()

void dqutils::HistogramDataCOOL::printIOV ( )

◆ setIOV() [1/2]

void dqutils::HistogramDataCOOL::setIOV ( cool::Int64  run)

◆ setIOV() [2/2]

void dqutils::HistogramDataCOOL::setIOV ( cool::Int64  runS,
cool::Int64  lumiS,
cool::Int64  runU,
cool::Int64  lumiU 
)

◆ setSince()

void dqutils::HistogramDataCOOL::setSince ( cool::Int64  run,
cool::Int64  lumi 
)

◆ setUntil()

void dqutils::HistogramDataCOOL::setUntil ( cool::Int64  run,
cool::Int64  lumi 
)

Member Data Documentation

◆ m_coolDb

cool::IDatabasePtr dqutils::HistogramDataCOOL::m_coolDb {}
private

Definition at line 78 of file HistogramDataCOOL.h.

◆ m_coolFolder

cool::IFolderPtr dqutils::HistogramDataCOOL::m_coolFolder {}
private

Definition at line 79 of file HistogramDataCOOL.h.

◆ m_coolFolderH

cool::IFolderPtr dqutils::HistogramDataCOOL::m_coolFolderH {}
private

Definition at line 80 of file HistogramDataCOOL.h.

◆ m_since

cool::ValidityKey dqutils::HistogramDataCOOL::m_since {}
private

Definition at line 76 of file HistogramDataCOOL.h.

◆ m_until

cool::ValidityKey dqutils::HistogramDataCOOL::m_until {}
private

Definition at line 77 of file HistogramDataCOOL.h.


The documentation for this class was generated from the following file: