11#ifndef dqutilsCoolTgc_h
12#define dqutilsCoolTgc_h
17 #include "CoolKernel/pointers.h"
18 #include "CoolKernel/ValidityKey.h"
21 class IDatabasePtr {};
34#include "CoralBase/AttributeList.h"
37#include "CoolApplication/Application.h"
40#include "CoolKernel/types.h"
41#include "CoolKernel/ChannelId.h"
42#include "CoolKernel/RecordSpecification.h"
43#include "CoolKernel/ChannelSelection.h"
50#include <TDirectory.h>
53#include <TGraphErrors.h>
72 class RecordSpecification;
73 class ChannelSelection;
78 class CoolTgc:
public cool::Application,
public TObject {
97 void coolDbFolder(
const std::string& dbStr,
const std::string& folderStr);
101 void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU);
108 const std::string& NoisyMultilayer,
109 const std::string& NoisyTube,
110 const cool::RecordSpecification& spec);
112 const std::string& DeadMultilayer,
113 const std::string& DeadTube,
114 const cool::RecordSpecification& spec);
124 std::string
dumpField(cool::ChannelId channelId, std::string field);
130 cool::ChannelId channelId,
131 const std::string& ChamberName,
132 const std::string& NoisyMultilayer,
133 const std::string& NoisyTube);
135 cool::ChannelId channelId,
136 const std::string& ChamberName,
137 const std::string& NoisyMultilayer,
138 const std::string& NoisyTube,
139 const std::string& cool_tag);
142 cool::ChannelId channelId,
143 const std::string& ChamberName,
144 const std::string& DeadMultilayer,
145 const std::string& DeadTube);
147 cool::ChannelId channelId,
148 const std::string& ChamberName,
149 const std::string& DeadMultilayer,
150 const std::string& DeadTube,
151 const std::string& cool_tag);
cool::IDatabasePtr m_coolDb
cool::RecordSpecification createSpecDataDead()
void CoolOpen(const std::string &dbStr)
std::string dumpField(cool::ChannelId channelId, std::string field)
void insertDeadFlag_withTag(cool::Int64, cool::ChannelId channelId, const std::string &ChamberName, const std::string &DeadMultilayer, const std::string &DeadTube, const std::string &cool_tag)
void coolDbFolder(const std::string &dbStr, const std::string &folderStr)
void setSince(cool::Int64 run, cool::Int64 lumi)
void setIOV(cool::Int64 run)
void insertNoisyFlag(cool::Int64 run, cool::ChannelId channelId, const std::string &ChamberName, const std::string &NoisyMultilayer, const std::string &NoisyTube)
cool::IFolderPtr m_coolFolder
cool::IFolderPtr getCoolFolder()
void dump(cool::ChannelSelection selection)
cool::IFolderPtr coolFolderInstance(const std::string &folderStr)
void insertDeadFlag(cool::Int64 run, cool::ChannelId channelId, const std::string &ChamberName, const std::string &DeadMultilayer, const std::string &DeadTube)
coral::AttributeList createPayloadDataNoisy(const std::string &ChamberName, const std::string &NoisyMultilayer, const std::string &NoisyTube, const cool::RecordSpecification &spec)
cool::ValidityKey m_since
cool::ValidityKey m_until
void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU)
cool::IDatabasePtr getCoolDb()
cool::RecordSpecification createSpecDataNoisy()
coral::AttributeList createPayloadDataDead(const std::string &ChamberName, const std::string &DeadMultilayer, const std::string &DeadTube, const cool::RecordSpecification &spec)
void insertNoisyFlag_withTag(cool::Int64 run, cool::ChannelId channelId, const std::string &ChamberName, const std::string &NoisyMultilayer, const std::string &NoisyTube, const std::string &cool_tag)
void setUntil(cool::Int64 run, cool::Int64 lumi)
int dumpCode(const std::string &channelName)
cool::IDatabasePtr coolDbInstance(const std::string &dbStr, bool readOnly)
const std::string selection