ant
A2 ant: class-based analysis framework
ant::WrapTFileInput Class Reference

#include <WrapTFile.h>

+ Inheritance diagram for ant::WrapTFileInput:
+ Collaboration diagram for ant::WrapTFileInput:

Public Member Functions

 WrapTFileInput ()
 
 WrapTFileInput (const std::string &filename)
 
virtual ~WrapTFileInput ()
 
void OpenFile (const std::string &filename)
 
std::size_t NumberOfFiles () const
 
std::string FileNames () const
 
 WrapTFileInput (const WrapTFileInput &)=delete
 
WrapTFileInputoperator= (const WrapTFileInput &)=delete
 
- Public Member Functions inherited from ant::WrapTFile
void Traverse (std::function< void(TKey *)> func) const
 Traverse applies given function to each leaf in the tree of TDirectory. More...
 
template<class T >
std::list< T * > GetListOf () const
 GetListOf Generate a list with all Object in File of provided Type. More...
 
template<typename T >
bool GetObject (const std::string &name, T *&ptr) const
 Find TObject of type T and given name in the file(s). More...
 
template<typename Hist >
std::shared_ptr< Hist > GetSharedHist (const std::string &name) const
 
template<typename T >
std::shared_ptr< T > GetSharedClone (const std::string &name) const
 
template<typename T >
bool GetObjectClone (const std::string &name, T &object) const
 
virtual ~WrapTFile ()
 
 WrapTFile (const WrapTFile &)=delete
 
WrapTFileoperator= (const WrapTFile &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from ant::WrapTFile
std::unique_ptr< TFile > openFile (const std::string &filename, const std::string mode)
 
 WrapTFile ()
 
- Static Protected Member Functions inherited from ant::WrapTFile
static bool hasROOTmagic (const std::string &filename)
 
- Protected Attributes inherited from ant::WrapTFile
std::list< std::unique_ptr< TFile > > files
 

Constructor & Destructor Documentation

◆ WrapTFileInput() [1/3]

WrapTFileInput::WrapTFileInput ( )

◆ WrapTFileInput() [2/3]

WrapTFileInput::WrapTFileInput ( const std::string &  filename)
explicit

◆ ~WrapTFileInput()

WrapTFileInput::~WrapTFileInput ( )
virtual

◆ WrapTFileInput() [3/3]

ant::WrapTFileInput::WrapTFileInput ( const WrapTFileInput )
delete

Member Function Documentation

◆ FileNames()

string WrapTFileInput::FileNames ( ) const

◆ NumberOfFiles()

size_t WrapTFileInput::NumberOfFiles ( ) const

◆ OpenFile()

void WrapTFileInput::OpenFile ( const std::string &  filename)

◆ operator=()

WrapTFileInput& ant::WrapTFileInput::operator= ( const WrapTFileInput )
delete

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