ATLAS Offline Software
CatalogInfo.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 #ifndef UTILITIES_COLLECTION_CATALOGINFO
6 #define UTILITIES_COLLECTION_CATALOGINFO
7 
11 
12 /**********************************************************
13 
14 CatalogInfo is an concretization of a CmdLineArgs2
15  to contain catalog info.
16 
17 Qualifiers: -ccread, -fcread
18 
19 **********************************************************/
20 
21 namespace pool
22 {
23  class ICollectionService;
24  class IFileCatalog;
25 
26 
27  class CatalogInfo : public CmdLineArgs2
28  {
29  public:
30 
32  CatalogInfo( );
33 
34  virtual ~CatalogInfo() {}
35 
37  bool evalArgs(std::vector<std::string>& argv);
38 
39  std::string collCatalogN(unsigned int i);
40  std::string fileCatalogN(unsigned int i);
41  bool useCC() {return m_valid;}
42 
43  void setCatalogs ATLAS_NOT_THREAD_SAFE ( pool::ICollectionService* );
45 
46  private:
47  bool m_valid;
48  std::vector<std::string> m_collCatalogReadVec;
49  std::vector<std::string> m_fileCatalogReadVec;
50 
51  };
52 
53 } //end pool namespace
54 
55 #endif // UTILITIES_COLLECTION_CATALOGINFO
56 
57 
pool::CatalogInfo::useCC
bool useCC()
Definition: CatalogInfo.h:48
ArgQual.h
pool::CatalogInfo::setFileCatalogs
void setFileCatalogs(pool::IFileCatalog *)
pool
pool namespace
Definition: libname.h:15
pool::CatalogInfo::fileCatalogN
std::string fileCatalogN(unsigned int i)
LArCellConditions.argv
argv
Definition: LArCellConditions.py:112
pool::CatalogInfo::~CatalogInfo
virtual ~CatalogInfo()
Definition: CatalogInfo.h:41
pool::CatalogInfo::CatalogInfo
CatalogInfo()
Constructors.
pool::CatalogInfo::m_collCatalogReadVec
std::vector< std::string > m_collCatalogReadVec
Definition: CatalogInfo.h:55
pool::IFileCatalog
Definition: IFileCatalog.h:23
pool::CatalogInfo::evalArgs
bool evalArgs(std::vector< std::string > &argv)
Apply the criteria in the QualList to the argv[].
lumiFormat.i
int i
Definition: lumiFormat.py:92
CmdLineArgs2.h
pool::CatalogInfo::collCatalogN
std::string collCatalogN(unsigned int i)
pool::ICollectionService
Definition: ICollectionService.h:33
pool::CatalogInfo::m_valid
bool m_valid
Definition: CatalogInfo.h:54
checker_macros.h
Define macros for attributes used to control the static checker.
pool::CatalogInfo::ATLAS_NOT_THREAD_SAFE
void setCatalogs ATLAS_NOT_THREAD_SAFE(pool::ICollectionService *)
pool::CatalogInfo::m_fileCatalogReadVec
std::vector< std::string > m_fileCatalogReadVec
Definition: CatalogInfo.h:56