CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
PhysicsTools::MVATrainerLooper::TrainerContainer Class Reference

#include <MVATrainerLooper.h>

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().

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().

66  { content.push_back(trainer); }
const_iterator PhysicsTools::MVATrainerLooper::TrainerContainer::begin ( void  ) const
inline
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().

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

Definition at line 63 of file MVATrainerLooper.h.

References content.

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

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

Member Data Documentation

std::vector<Trainer*> PhysicsTools::MVATrainerLooper::TrainerContainer::content
private