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

#include <StatusFlagCOOL.h>

Inheritance diagram for dqutils::StatusFlagCOOL:
Collaboration diagram for dqutils::StatusFlagCOOL:

Public Member Functions

cool::RecordSpecification createSpec ()
 
coral::AttributeList createPayload (int colourCode, float dfrac, float thrust, const cool::RecordSpecification &spec)
 
 StatusFlagCOOL (const std::string &dbStr, const std::string &folderStr, int runS, int lumiS, int runU, int lumiU)
 
 StatusFlagCOOL (int runS, int lumiS, int runU, int lumiU)
 
 StatusFlagCOOL ()
 
virtual ~StatusFlagCOOL ()
 
void insert (cool::ChannelId channelId, int code, float dfrac, float thrust, std::string tag_name)
 
void insert (std::string channelName, int code, float dfrac, float thrust, std::string tag_name)
 
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)
 
void flush ()
 
void dump (cool::ChannelSelection selection, std::string tag_name)
 
std::string dumpField (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)
 
cool::IFolderPtr getCoolFolder ()
 
cool::IDatabasePtr getCoolDb ()
 

Protected Member Functions

void insert_helper (cool::ChannelId channelId, coral::AttributeList &payload, const std::string &tag_name)
 
void Initialize (const std::string &dbStr, const std::string &folderStr, int runS, int lumiS, int runU, int lumiU)
 

Protected Attributes

cool::ValidityKey m_since
 
cool::ValidityKey m_until
 
cool::IDatabasePtr m_coolDb
 
cool::IFolderPtr m_coolFolder
 

Detailed Description

Definition at line 42 of file StatusFlagCOOL.h.

Constructor & Destructor Documentation

◆ StatusFlagCOOL() [1/3]

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

◆ StatusFlagCOOL() [2/3]

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

◆ StatusFlagCOOL() [3/3]

dqutils::StatusFlagCOOL::StatusFlagCOOL ( )

◆ ~StatusFlagCOOL()

virtual dqutils::StatusFlagCOOL::~StatusFlagCOOL ( )
inlinevirtual

Definition at line 53 of file StatusFlagCOOL.h.

53 {};

Member Function Documentation

◆ coolDbInstance()

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

◆ coolFolderInstance()

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

◆ createPayload()

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

◆ createSpec()

cool::RecordSpecification dqutils::StatusFlagCOOL::createSpec ( )

◆ dump()

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

◆ dumpall()

void dqutils::StatusFlagCOOLBase::dumpall ( const std::string &  tag_name)
inherited

◆ dumpCode()

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

◆ dumpField()

std::string dqutils::StatusFlagCOOLBase::dumpField ( cool::ChannelId  channelId,
std::string  field,
std::string  tag_name 
)
inherited

◆ flush()

void dqutils::StatusFlagCOOLBase::flush ( )
inherited

◆ getCoolDb()

cool::IDatabasePtr dqutils::StatusFlagCOOLBase::getCoolDb ( )
inherited

◆ getCoolFolder()

cool::IFolderPtr dqutils::StatusFlagCOOLBase::getCoolFolder ( )
inherited

◆ Initialize()

void dqutils::StatusFlagCOOLBase::Initialize ( const std::string &  dbStr,
const std::string &  folderStr,
int  runS,
int  lumiS,
int  runU,
int  lumiU 
)
protectedinherited

◆ insert() [1/2]

void dqutils::StatusFlagCOOL::insert ( cool::ChannelId  channelId,
int  code,
float  dfrac,
float  thrust,
std::string  tag_name 
)

◆ insert() [2/2]

void dqutils::StatusFlagCOOL::insert ( std::string  channelName,
int  code,
float  dfrac,
float  thrust,
std::string  tag_name 
)

◆ insert_helper()

void dqutils::StatusFlagCOOLBase::insert_helper ( cool::ChannelId  channelId,
coral::AttributeList &  payload,
const std::string &  tag_name 
)
protectedinherited

◆ printIOV()

void dqutils::StatusFlagCOOLBase::printIOV ( )
inherited

◆ setIOV() [1/2]

void dqutils::StatusFlagCOOLBase::setIOV ( cool::Int64  run)
inherited

◆ setIOV() [2/2]

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

◆ setSince()

void dqutils::StatusFlagCOOLBase::setSince ( cool::Int64  run,
cool::Int64  lumi 
)
inherited

◆ setUntil()

void dqutils::StatusFlagCOOLBase::setUntil ( cool::Int64  run,
cool::Int64  lumi 
)
inherited

Member Data Documentation

◆ m_coolDb

cool::IDatabasePtr dqutils::StatusFlagCOOLBase::m_coolDb
protectedinherited

Definition at line 58 of file StatusFlagCOOLBase.h.

◆ m_coolFolder

cool::IFolderPtr dqutils::StatusFlagCOOLBase::m_coolFolder
protectedinherited

Definition at line 59 of file StatusFlagCOOLBase.h.

◆ m_since

cool::ValidityKey dqutils::StatusFlagCOOLBase::m_since
protectedinherited

Definition at line 56 of file StatusFlagCOOLBase.h.

◆ m_until

cool::ValidityKey dqutils::StatusFlagCOOLBase::m_until
protectedinherited

Definition at line 57 of file StatusFlagCOOLBase.h.


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