TTTT Analysis  0.1
Public Member Functions | Protected Attributes | List of all members
fv::Container< H > Class Template Reference

A class that is used to "hold" values. More...

#include <container.hpp>

Inheritance diagram for fv::Container< H >:
Inheritance graph
[legend]
Collaboration diagram for fv::Container< H >:
Collaboration graph
[legend]

Public Member Functions

 Container (const std::string &name, H *container)
 
virtual H * get_container ()
 
- Public Member Functions inherited from fv::GenContainer
 GenContainer (const std::string name, const std::string &desc)
 
 GenContainer (const std::string name)
 
GenContaineradd_filter (GenValue *filter)
 
void fill ()
 
void set_description (const std::string &description)
 
const std::string & get_name ()
 
virtual void save_as (const std::string &fname, const SaveOption &option)=0
 
virtual void save (const SaveOption &option=SaveOption::PNG)
 

Protected Attributes

H * container
 

Additional Inherited Members

- Protected Member Functions inherited from fv::GenContainer
virtual void _fill ()=0
 

Detailed Description

template<typename H>
class fv::Container< H >

A class that is used to "hold" values.

When an event is loaded, the associated filters on this container are checked. If they all pass, the _fill() method is called and the Container can access the stored Value object to process it. For example, if the Container is a ROOT Histogram object, it may call container->Fill(value->get_value()).


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