CMS 3D CMS Logo

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

◆ const_iterator

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

Definition at line 18 of file LHERunInfoProduct.h.

◆ size_type

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

Definition at line 19 of file LHERunInfoProduct.h.

Constructor & Destructor Documentation

◆ Header() [1/2]

LHERunInfoProduct::Header::Header ( )
inline

Definition at line 21 of file LHERunInfoProduct.h.

21 {}

◆ Header() [2/2]

LHERunInfoProduct::Header::Header ( const std::string &  tag)
inline

Definition at line 22 of file LHERunInfoProduct.h.

22 : tag_(tag) {}

◆ ~Header()

LHERunInfoProduct::Header::~Header ( )
inline

Definition at line 23 of file LHERunInfoProduct.h.

23 {}

Member Function Documentation

◆ addLine()

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

◆ begin()

const_iterator LHERunInfoProduct::Header::begin ( void  ) const
inline

Definition at line 31 of file LHERunInfoProduct.h.

31 { return lines_.begin(); }

References lines_.

Referenced by AlpgenSource::AlpgenSource().

◆ end()

const_iterator LHERunInfoProduct::Header::end ( void  ) const
inline

Definition at line 32 of file LHERunInfoProduct.h.

32 { return lines_.end(); }

References lines_.

Referenced by AlpgenSource::AlpgenSource().

◆ lines()

const std::vector<std::string>& LHERunInfoProduct::Header::lines ( ) const
inline

Definition at line 28 of file LHERunInfoProduct.h.

28 { return lines_; }

References lines_.

◆ operator!=()

bool LHERunInfoProduct::Header::operator!= ( const Header other) const
inline

Definition at line 35 of file LHERunInfoProduct.h.

35 { return !(*this == other); }

References trackingPlots::other.

◆ operator==()

bool LHERunInfoProduct::Header::operator== ( const Header other) const
inline

Definition at line 34 of file LHERunInfoProduct.h.

34 { return tag_ == other.tag_ && lines_ == other.lines_; }

References lines_, trackingPlots::other, and tag_.

◆ size()

size_type LHERunInfoProduct::Header::size ( void  ) const
inline

Definition at line 30 of file LHERunInfoProduct.h.

30 { return lines_.size(); }

References lines_.

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

◆ tag()

const std::string& LHERunInfoProduct::Header::tag ( ) const
inline

Definition at line 27 of file LHERunInfoProduct.h.

27 { return tag_; }

References tag_.

Member Data Documentation

◆ lines_

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

◆ tag_

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

Definition at line 38 of file LHERunInfoProduct.h.

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

trackingPlots.other
other
Definition: trackingPlots.py:1460
LHERunInfoProduct::Header::tag
const std::string & tag() const
Definition: LHERunInfoProduct.h:27
LHERunInfoProduct::Header::lines_
std::vector< std::string > lines_
Definition: LHERunInfoProduct.h:39
LHERunInfoProduct::Header::tag_
std::string tag_
Definition: LHERunInfoProduct.h:38
mps_splice.line
line
Definition: mps_splice.py:76