ATLAS Offline Software
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 
17 namespace 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
EL::Detail::TreeCacheModule::onCloseInputFile
virtual StatusCode onCloseInputFile(ModuleData &data) override
actions before closing an input file
Definition: TreeCacheModule.cxx:43
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
PropertyWrapper.h
EL::Detail::TreeCacheModule
a Module for setting the TTreeCache parameters on the input
Definition: TreeCacheModule.h:25
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition: ModuleData.h:64
EL::Detail::TreeCacheModule::cacheLearnEntries
Gaudi::Property< std::int64_t > cacheLearnEntries
Definition: TreeCacheModule.h:38
Module.h
EL::Detail::TreeCacheModule::printPerFileStats
Gaudi::Property< bool > printPerFileStats
Definition: TreeCacheModule.h:39
EL::Detail::TreeCacheModule::onNewInputFile
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
Definition: TreeCacheModule.cxx:28
EL::Detail::Module
the base class for EventLoop instrumentation module
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Module.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AsgComponentFactories.h:16
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
Global.h
EL::Detail::TreeCacheModule::cacheSize
Gaudi::Property< std::int64_t > cacheSize
Definition: TreeCacheModule.h:37