ATLAS Offline Software
ToolLoaderBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef TOOLLOADERBASE_H_
6 #define TOOLLOADERBASE_H_
7 
8 #include <string>
9 #include <memory>
10 
11 #include "TClass.h"
12 
13 class TFile;
14 
15 namespace EL {
16  class Worker;
17 }
18 
19 namespace top {
20  class EventSelectorBase;
21  class TopConfig;
22 
34  public:
37 
39  virtual ~ToolLoaderBase() {}
40 
59  virtual top::EventSelectorBase* initTool(const std::string& name, const std::string& line, TFile* outputFile,
60  std::shared_ptr<top::TopConfig> config, EL::Worker* wk = nullptr) = 0;
61 
63  };
64 }
65 
66 #endif
checkFileSG.line
line
Definition: checkFileSG.py:75
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
top::ToolLoaderBase::ToolLoaderBase
ToolLoaderBase()
Constructor doesn't do anything.
Definition: ToolLoaderBase.h:36
config
Definition: PhysicsAnalysis/AnalysisCommon/AssociationUtils/python/config.py:1
compareGeometries.outputFile
string outputFile
Definition: compareGeometries.py:25
EL::Worker
Definition: Worker.h:25
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
top::ToolLoaderBase::initTool
virtual top::EventSelectorBase * initTool(const std::string &name, const std::string &line, TFile *outputFile, std::shared_ptr< top::TopConfig > config, EL::Worker *wk=nullptr)=0
If you make a new library and you want it to contain some event selection tools you must implement th...
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
top::EventSelectorBase
This should apply event-level cuts and perform simple plotting on top::Event objects.
Definition: EventSelectorBase.h:20
top::ToolLoaderBase
This allows user libraries (and TopEventSelectionTools and TopEventReconstructionTools) to supply eve...
Definition: ToolLoaderBase.h:33
top::ToolLoaderBase::ClassDef
ClassDef(top::ToolLoaderBase, 0)
top::ToolLoaderBase::~ToolLoaderBase
virtual ~ToolLoaderBase()
Destructor doesn't do anything.
Definition: ToolLoaderBase.h:39