ant
A2 ant: class-based analysis framework
ant::analysis::input::GoatReader Class Reference

#include <GoatReader.h>

+ Inheritance diagram for ant::analysis::input::GoatReader:
+ Collaboration diagram for ant::analysis::input::GoatReader:

Classes

struct  treeDetectorHitInput_t
 
struct  treeTaggerInput_t
 
struct  treeTrackInput_t
 
struct  treeTriggerInput_t
 

Public Member Functions

 GoatReader (const std::shared_ptr< const WrapTFileInput > &rootfiles)
 
virtual ~GoatReader ()
 
virtual reader_flags_t GetFlags () const override
 
virtual bool ReadNextEvent (event_t &event) override
 
double PercentDone () const override
 
- Public Member Functions inherited from ant::analysis::input::DataReader
 DataReader ()=default
 
virtual ~DataReader ()
 

Protected Types

using trees_t = std::set< std::reference_wrapper< TTree > >
 

Static Protected Member Functions

template<typename... Args>
static void insert_trees (trees_t &trees, const Args &... args)
 

Protected Attributes

std::shared_ptr< const WrapTFileInputinputfiles
 
std::shared_ptr< const expconfig::detector::Triggertrigger
 
treeDetectorHitInput_t treeDetectorHitInput
 
treeTaggerInput_t treeTaggerInput
 
treeTriggerInput_t treeTriggerInput
 
treeTrackInput_t treeTrackInput
 
trees_t trees
 
long long current_entry
 
long long max_entries
 
bool init
 

Member Typedef Documentation

◆ trees_t

using ant::analysis::input::GoatReader::trees_t = std::set<std::reference_wrapper<TTree> >
protected

Constructor & Destructor Documentation

◆ GoatReader()

GoatReader::GoatReader ( const std::shared_ptr< const WrapTFileInput > &  rootfiles)

◆ ~GoatReader()

GoatReader::~GoatReader ( )
virtual

Member Function Documentation

◆ GetFlags()

reader_flags_t GoatReader::GetFlags ( ) const
overridevirtual

◆ insert_trees()

template<typename... Args>
static void ant::analysis::input::GoatReader::insert_trees ( trees_t trees,
const Args &...  args 
)
inlinestaticprotected

◆ PercentDone()

double GoatReader::PercentDone ( ) const
overridevirtual

◆ ReadNextEvent()

bool GoatReader::ReadNextEvent ( event_t event)
overridevirtual
Todo:
think of some better timestamp?

Implements ant::analysis::input::DataReader.

Member Data Documentation

◆ current_entry

long long ant::analysis::input::GoatReader::current_entry
protected

◆ init

bool ant::analysis::input::GoatReader::init
protected

◆ inputfiles

std::shared_ptr<const WrapTFileInput> ant::analysis::input::GoatReader::inputfiles
protected

◆ max_entries

long long ant::analysis::input::GoatReader::max_entries
protected

◆ treeDetectorHitInput

treeDetectorHitInput_t ant::analysis::input::GoatReader::treeDetectorHitInput
protected

◆ trees

trees_t ant::analysis::input::GoatReader::trees
protected

◆ treeTaggerInput

treeTaggerInput_t ant::analysis::input::GoatReader::treeTaggerInput
protected

◆ treeTrackInput

treeTrackInput_t ant::analysis::input::GoatReader::treeTrackInput
protected

◆ treeTriggerInput

treeTriggerInput_t ant::analysis::input::GoatReader::treeTriggerInput
protected

◆ trigger

std::shared_ptr<const expconfig::detector::Trigger> ant::analysis::input::GoatReader::trigger
protected

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