CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

PhysicsTools::MVATrainerLooper::TrainerContainer Class Reference

#include <MVATrainerLooper.h>

List of all members.

Public Types

typedef std::vector< Trainer * >
::const_iterator 
const_iterator

Public Member Functions

void add (Trainer *trainer)
const_iterator begin () const
void clear ()
bool empty () const
const_iterator end () const
 ~TrainerContainer ()

Private Attributes

std::vector< Trainer * > content

Detailed Description

Definition at line 54 of file MVATrainerLooper.h.


Member Typedef Documentation

Definition at line 59 of file MVATrainerLooper.h.


Constructor & Destructor Documentation

PhysicsTools::MVATrainerLooper::TrainerContainer::~TrainerContainer ( )

Definition at line 60 of file MVATrainerLooper.cc.

References hitfit::clear().

{
        clear();
}

Member Function Documentation

void PhysicsTools::MVATrainerLooper::TrainerContainer::add ( Trainer trainer) [inline]

Definition at line 65 of file MVATrainerLooper.h.

References content.

Referenced by PhysicsTools::MVATrainerLooper::addTrainer().

                { content.push_back(trainer); }
const_iterator PhysicsTools::MVATrainerLooper::TrainerContainer::begin ( void  ) const [inline]

Definition at line 61 of file MVATrainerLooper.h.

References content.

Referenced by PhysicsTools::MVATrainerLooper::duringLoop(), and PhysicsTools::MVATrainerLooper::startingNewLoop().

{ return content.begin(); }
void PhysicsTools::MVATrainerLooper::TrainerContainer::clear ( void  )

Definition at line 65 of file MVATrainerLooper.cc.

References begin, ws_sso_content_reader::content, and end.

Referenced by PhysicsTools::MVATrainerLooper::duringLoop().

{
        std::for_each(begin(), end(), deleter<Trainer>());
        content.clear();
}
bool PhysicsTools::MVATrainerLooper::TrainerContainer::empty ( void  ) const [inline]

Definition at line 63 of file MVATrainerLooper.h.

References content.

Referenced by PhysicsTools::MVATrainerLooper::duringLoop().

{ return content.empty(); }
const_iterator PhysicsTools::MVATrainerLooper::TrainerContainer::end ( void  ) const [inline]

Member Data Documentation

Definition at line 69 of file MVATrainerLooper.h.

Referenced by add(), begin(), empty(), and end().