CMS 3D CMS Logo

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

#include <LHERunInfoProduct.h>

Inheritance diagram for LHERunInfoProduct::Header:
lhef::LHERunInfo::Header

Public Types

typedef std::vector
< std::string >
::const_iterator 
const_iterator
 
typedef std::vector
< std::string >::size_type 
size_type
 

Public Member Functions

void addLine (const std::string &line)
 
const_iterator begin () const
 
const_iterator end () const
 
 Header ()
 
 Header (const std::string &tag)
 
const std::vector< std::string > & lines () const
 
bool operator!= (const Header &other) const
 
bool operator== (const Header &other) const
 
size_type size () const
 
const std::string & tag () const
 
 ~Header ()
 

Private Attributes

std::vector< std::string > lines_
 
std::string tag_
 

Detailed Description

Definition at line 16 of file LHERunInfoProduct.h.

Member Typedef Documentation

typedef std::vector<std::string>::const_iterator LHERunInfoProduct::Header::const_iterator

Definition at line 18 of file LHERunInfoProduct.h.

typedef std::vector<std::string>::size_type LHERunInfoProduct::Header::size_type

Definition at line 19 of file LHERunInfoProduct.h.

Constructor & Destructor Documentation

LHERunInfoProduct::Header::Header ( )
inline

Definition at line 21 of file LHERunInfoProduct.h.

21 {}
LHERunInfoProduct::Header::Header ( const std::string &  tag)
inline

Definition at line 22 of file LHERunInfoProduct.h.

22 : tag_(tag) {}
const std::string & tag() const
LHERunInfoProduct::Header::~Header ( )
inline

Definition at line 23 of file LHERunInfoProduct.h.

23 {}

Member Function Documentation

void LHERunInfoProduct::Header::addLine ( const std::string &  line)
inline
const_iterator LHERunInfoProduct::Header::begin ( void  ) const
inline

Definition at line 31 of file LHERunInfoProduct.h.

References lines_.

Referenced by AlpgenSource::AlpgenSource().

31 { return lines_.begin(); }
std::vector< std::string > lines_
const_iterator LHERunInfoProduct::Header::end ( void  ) const
inline

Definition at line 32 of file LHERunInfoProduct.h.

References lines_.

Referenced by AlpgenSource::AlpgenSource().

32 { return lines_.end(); }
std::vector< std::string > lines_
const std::vector<std::string>& LHERunInfoProduct::Header::lines ( ) const
inline

Definition at line 28 of file LHERunInfoProduct.h.

References lines_.

28 { return lines_; }
std::vector< std::string > lines_
bool LHERunInfoProduct::Header::operator!= ( const Header other) const
inline

Definition at line 35 of file LHERunInfoProduct.h.

35 { return !(*this == other); }
bool LHERunInfoProduct::Header::operator== ( const Header other) const
inline

Definition at line 34 of file LHERunInfoProduct.h.

References lines_, and tag_.

34 { return tag_ == other.tag_ && lines_ == other.lines_; }
std::vector< std::string > lines_
size_type LHERunInfoProduct::Header::size ( void  ) const
inline

Definition at line 30 of file LHERunInfoProduct.h.

References lines_.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

30 { return lines_.size(); }
std::vector< std::string > lines_
const std::string& LHERunInfoProduct::Header::tag ( ) const
inline

Definition at line 27 of file LHERunInfoProduct.h.

References tag_.

Referenced by DTTtrigWorkflow.DTttrigWorkflow::prepare_timeboxes_correction().

27 { return tag_; }

Member Data Documentation

std::vector<std::string> LHERunInfoProduct::Header::lines_
private

Definition at line 39 of file LHERunInfoProduct.h.

Referenced by addLine(), begin(), end(), lines(), operator==(), and size().

std::string LHERunInfoProduct::Header::tag_
private

Definition at line 38 of file LHERunInfoProduct.h.

Referenced by operator==(), and tag().