13#ifndef LUMICALC_LUMIBLOCKCOLLECTIONCONVERTER_H
14#define LUMICALC_LUMIBLOCKCOLLECTIONCONVERTER_H
51 const TString& xmlfilename=
"",
const TString& prefix=
"" );
std::map< TString, TString > grlmetadatamap
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
LumiBlockCollectionConverter()
Root::TGoodRunsList * GetGRLObject(const LumiBlockCollection &lbc, const grlmetadatamap &metadata=grlmetadatamap(), const char *version="") const
LumiBlockCollection * GetLumiBlockCollectionFromString(const TString &xmlstring)
LumiBlockCollection * GetLumiBlockCollection(const Root::TGoodRunsList &grl, std::map< TString, TString > &metadata, TString &version)
Root::TGoodRunsList * GetGRLObjectFromString(const TString &xmlstring)
Root::TGRLCollection * GetGRLCollection(const char *xmlfile)
const std::vector< TString > GetXMLStrings(const Root::TGRLCollection &grlcollection)
void CreateXMLFile(const Root::TGoodRunsList &grl, const TString &xmlfilename="", const TString &prefix="")
LumiBlockCollectionConverter(const LumiBlockCollectionConverter &)=delete
Root::TGoodRunsListWriter * m_writer
Root::TGoodRunsListReader * m_reader
const TString GetXMLString(const Root::TGoodRunsList &grl)
const TString GetSuggestedName(const LumiBlockCollection &lbc) const
Root::TGRLCollection * GetGRLCollectionFromString(const TString &xmlstring)
void CreateXMLFiles(const Root::TGRLCollection &grlcollection, const char *prefix)
static std::vector< std::string > xmlfile