root_mcp.core.io.file_manager module
File manager for opening, caching, and managing ROOT files.
- class root_mcp.core.io.file_manager.FileCache(max_size)[source]
Bases:
objectLRU cache for open ROOT files.
- Parameters:
max_size (int)
- __init__(max_size)[source]
Initialize file cache.
- Parameters:
max_size (int) – Maximum number of files to keep open
- class root_mcp.core.io.file_manager.FileManager(config)[source]
Bases:
objectManages opening and caching of ROOT files.
Provides safe, efficient access to local and remote ROOT files with automatic caching and connection pooling.
- Parameters:
config (Config)
- __init__(config)[source]
Initialize file manager.
- Parameters:
config (Config) – Server configuration
- get_branch_schema(path, tree_name, branch_name=None)[source]
Get detailed schema information for branches.