|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef COLLECTIONuTILITIES_COLLSPLITGUIDBASE_H
6 #define COLLECTIONuTILITIES_COLLSPLITGUIDBASE_H
25 class CollectionService;
36 virtual bool init( std::vector<std::string> argv_v );
38 virtual int execute( std::vector<std::string> argv_v );
virtual std::string collectionNameForGuid(const std::string &guid)
get a user-specified output collection for a given GUID (empty string if none given)
virtual void setCollectionPool(CollectionPool *)
use a different collection pool handler than the default one
virtual void openDestCollections()
int m_maxSplit
maximum number of allowed output collections
virtual bool init(std::vector< std::string > argv_v)
std::vector< int > m_srcCountVec
CollSplitByGUIDBase(const std::string &name="CollSplitByGUID")
std::map< std::string, std::string > CollNameforGuidMap
virtual ~CollSplitByGUIDBase()
std::string m_thisProgram
std::string m_splitRef
name of the Token attribute that is used for splitting
virtual bool readGuidList(const std::string &filename)
read user-prepared list of GUIDs and output collection names
virtual std::string generateNextCollName()
generate next output collection name
coral::MessageStream m_log
CollectionPool * m_collectionPool
pool of output collections
std::vector< bool > m_dstCollExistVec
DbStatus DbObjectHandle< T >::makeLink ATLAS_NOT_THREAD_SAFE(const Token *pToken, Token::OID_t &linkH) const
Add persistent association entry.
virtual int execute(std::vector< std::string > argv_v)
Define macros for attributes used to control the static checker.
pool::CollectionService * m_collectionService
CollSplitByGUIDBase(const CollSplitByGUIDBase &)=delete
virtual void openSourceCollections()
std::vector< pool::ICollection * > m_srcCollections
std::vector< std::string > m_inputQuery