MINT2
Public Member Functions | List of all members
PlotSet Class Reference

#include <PlotSet.h>

Inheritance diagram for PlotSet:
MINT::PolymorphVector< TObject * >

Public Member Functions

 PlotSet ()
 
 PlotSet (const PlotSet &other)
 
void save (const std::string &filename)
 
- Public Member Functions inherited from MINT::PolymorphVector< TObject * >
 PolymorphVector ()
 
 PolymorphVector (unsigned int N)
 
 PolymorphVector (unsigned int N, const TObject * &c)
 
 PolymorphVector (const PolymorphVector &other)
 
 PolymorphVector (const typename std::vector< TObject * > &other)
 
virtual ~PolymorphVector ()
 
std::vector< TObject * > & theVector ()
 
const std::vector< TObject * > & theVector () const
 
TObject * & operator[] (unsigned int i)
 
const TObject * & operator[] (unsigned int i) const
 
TObject * & at (unsigned int i)
 
const TObject * & at (unsigned int i) const
 
std::vector< TObject * >::iterator begin ()
 
std::vector< TObject * >::const_iterator begin () const
 
std::vector< TObject * >::iterator end ()
 
std::vector< TObject * >::const_iterator end () const
 
std::vector< TObject * >::iterator find (const TObject * &c)
 
std::vector< TObject * >::const_iterator find (const TObject * &c) const
 
TObject * & front ()
 
const TObject * & front () const
 
TObject * & back ()
 
const TObject * & back () const
 
unsigned int size () const
 
bool empty () const
 
void push_back (const TObject * &c)
 
void pop_back ()
 
void erase (typename std::vector< TObject * >::iterator pos)
 
void erase (typename std::vector< TObject * >::iterator first, typename std::vector< TObject * >::iterator last)
 
PolymorphVector< TObject * > & operator= (const PolymorphVector< TObject * > &other)
 
void clear ()
 
void resize (unsigned int N)
 
void resize (unsigned int N, const TObject * &c)
 
 operator const typename std::vector< TObject * > & () const
 
 operator typename std::vector< TObject * > & ()
 
bool operator== (const MINT::PolymorphVector< TObject * > &v2) const
 
bool operator!= (const MINT::PolymorphVector< TObject * > &v2) const
 
bool operator< (const MINT::PolymorphVector< TObject * > &v2) const
 
bool operator> (const MINT::PolymorphVector< TObject * > &v2) const
 

Additional Inherited Members

- Protected Attributes inherited from MINT::PolymorphVector< TObject * >
std::vector< TObject * > _vec
 

Detailed Description

Definition at line 14 of file PlotSet.h.

Constructor & Destructor Documentation

◆ PlotSet() [1/2]

PlotSet::PlotSet ( )
inline

◆ PlotSet() [2/2]

PlotSet::PlotSet ( const PlotSet other)
inline

Definition at line 20 of file PlotSet.h.

Member Function Documentation

◆ save()

void PlotSet::save ( const std::string &  filename)

Definition at line 6 of file PlotSet.cpp.

6  {
7  TFile f(filename.c_str(), "RECREATE");
8  f.cd();
9  for(unsigned int i=0; i< size(); i++){
10  ((*this)[i])->Write();
11  }
12  f.Close();
13 }

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