11#ifndef dqutilsCoolTgc_h
12#define dqutilsCoolTgc_h
17 #include "CoolKernel/pointers.h"
18 #include "CoolKernel/ValidityKey.h"
21 class IDatabasePtr {};
32#include "CoralBase/AttributeList.h"
35#include "CoolApplication/Application.h"
38#include "CoolKernel/types.h"
39#include "CoolKernel/ChannelId.h"
40#include "CoolKernel/RecordSpecification.h"
41#include "CoolKernel/ChannelSelection.h"
51 class RecordSpecification;
52 class ChannelSelection;
57 class CoolTgc:
public cool::Application,
public TObject {
76 void coolDbFolder(
const std::string& dbStr,
const std::string& folderStr);
80 void setIOV(cool::Int64 runS, cool::Int64 lumiS, cool::Int64 runU, cool::Int64 lumiU);
87 const std::string& NoisyMultilayer,
88 const std::string& NoisyTube,
89 const cool::RecordSpecification& spec);
91 const std::string& DeadMultilayer,
92 const std::string& DeadTube,
93 const cool::RecordSpecification& spec);
103 std::string
dumpField(cool::ChannelId channelId, std::string field);
109 cool::ChannelId channelId,
110 const std::string& ChamberName,
111 const std::string& NoisyMultilayer,
112 const std::string& NoisyTube);
114 cool::ChannelId channelId,
115 const std::string& ChamberName,
116 const std::string& NoisyMultilayer,
117 const std::string& NoisyTube,
118 const std::string& cool_tag);
121 cool::ChannelId channelId,
122 const std::string& ChamberName,
123 const std::string& DeadMultilayer,
124 const std::string& DeadTube);
126 cool::ChannelId channelId,
127 const std::string& ChamberName,
128 const std::string& DeadMultilayer,
129 const std::string& DeadTube,
130 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
int run(int argc, char *argv[])