ATLAS Offline Software
CoolTagInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // CoolTagInfo.h - helper class for AtlCoolCopy, store info about a tag
6 // Richard Hawkings, 29/2/08
7 
8 #include<string>
9 #include "CoolKernel/HvsTagLock.h"
10 #include "CoolKernel/IDatabase.h"
11 
12 namespace cool {
13  class IHvsNode;
14 }
15 
16 class CoolTagInfo {
17  public:
18  // generate from a given COOL folder and tag
19  CoolTagInfo(const cool::IDatabasePtr& db, const std::string& folder,
20  const std::string& destfolder,
21  const std::string& sourcetag,const std::string& desttag,
22  const std::string& taglabel="");
23  // store into a given COOL folder in a destination DB
24  bool write(const cool::IDatabasePtr& db,const bool copylock) const;
25 
26  private:
27  std::string m_folder;
28  std::string m_tag;
29  std::string m_desc;
31 };
32 
CoolTagInfo::m_tag
std::string m_tag
Definition: CoolTagInfo.h:28
CoolTagInfo::CoolTagInfo
CoolTagInfo(const cool::IDatabasePtr &db, const std::string &folder, const std::string &destfolder, const std::string &sourcetag, const std::string &desttag, const std::string &taglabel="")
Definition: CoolTagInfo.cxx:13
CaloCondBlobAlgs_fillNoiseFromASCII.db
db
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:43
CoolTagInfo::m_desc
std::string m_desc
Definition: CoolTagInfo.h:29
cool
Definition: CoolTagInfo.h:12
CoolTagInfo::m_folder
std::string m_folder
Definition: CoolTagInfo.h:27
CoolTagInfo::write
bool write(const cool::IDatabasePtr &db, const bool copylock) const
Definition: CoolTagInfo.cxx:38
CoolTagInfo
Definition: CoolTagInfo.h:16
Athena::Status
Status
Athena specific StatusCode values.
Definition: AthStatusCode.h:22
CaloCondBlobAlgs_fillNoiseFromASCII.folder
folder
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:56
CoolTagInfo::m_status
cool::HvsTagLock::Status m_status
Definition: CoolTagInfo.h:30