ATLAS Offline Software
Loading...
Searching...
No Matches
TreeCacheModule.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef EVENT_LOOP__TREE_CACHE_MODULE_H
10#define EVENT_LOOP__TREE_CACHE_MODULE_H
11
12#include <EventLoop/Global.h>
13
15#include <EventLoop/Module.h>
16
17namespace EL
18{
19 namespace Detail
20 {
23
24 class TreeCacheModule : public Module
25 {
26 //
27 // public interface
28 //
29
30 public:
31
32 using Module::Module;
33
34 virtual StatusCode onNewInputFile (ModuleData& data) override;
35 virtual StatusCode onCloseInputFile (ModuleData& data) override;
36
37 Gaudi::Property<std::int64_t> cacheSize {this, "cacheSize", 0};
38 Gaudi::Property<std::int64_t> cacheLearnEntries {this, "cacheLearnEntries", 0};
39 Gaudi::Property<bool> printPerFileStats {this, "printPerFileStats", false};
40 };
41 }
42}
43
44#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
the base class for EventLoop instrumentation module
a Module for setting the TTreeCache parameters on the input
virtual StatusCode onCloseInputFile(ModuleData &data) override
actions before closing an input file
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
Gaudi::Property< std::int64_t > cacheLearnEntries
Gaudi::Property< bool > printPerFileStats
Gaudi::Property< std::int64_t > cacheSize
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
the data the EventLoop core classes are sharing with the Module implementation
Definition ModuleData.h:64