ATLAS Offline Software
Public Member Functions | List of all members
top::ObjectLoaderBase Class Referenceabstract

People seem to want to be able to configure the objects used in their anaysis for some reason. More...

#include <ObjectLoaderBase.h>

Inheritance diagram for top::ObjectLoaderBase:
Collaboration diagram for top::ObjectLoaderBase:

Public Member Functions

virtual ~ObjectLoaderBase ()
 This will inherit from this, but it doesn't do anything really. More...
 
virtual top::TopObjectSelectioninit (std::shared_ptr< top::TopConfig > topConfig)=0
 Must implement this to load your own object selection. More...
 

Detailed Description

People seem to want to be able to configure the objects used in their anaysis for some reason.

This is a common base class for doing just that. It only has one function, init, and once that has run and made the object selection object then this can be deleted.

Definition at line 22 of file ObjectLoaderBase.h.

Constructor & Destructor Documentation

◆ ~ObjectLoaderBase()

virtual top::ObjectLoaderBase::~ObjectLoaderBase ( )
inlinevirtual

This will inherit from this, but it doesn't do anything really.

Definition at line 27 of file ObjectLoaderBase.h.

27 {}

Member Function Documentation

◆ init()

virtual top::TopObjectSelection* top::ObjectLoaderBase::init ( std::shared_ptr< top::TopConfig topConfig)
pure virtual

Must implement this to load your own object selection.

We have two examples top::ObjectLoaderStandardCuts and top::ObjectLoaderTtres.

Parameters
topConfigSince you might need access to the user configuration loaded from the config file at run time.
Returns

Implemented in top::ObjectLoaderStandardCuts.


The documentation for this class was generated from the following file: