CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
cond::SmallWORMDict::IterHelp Struct Reference

#include <SmallWORMDict.h>

Public Types

typedef Frame result_type
 

Public Member Functions

Frame const & frame (char const *b, unsigned int l, unsigned int ind) const
 
 IterHelp ()
 
 IterHelp (SmallWORMDict const &iv)
 
result_type const & operator() (int i) const
 

Private Attributes

Frame f
 
SmallWORMDict const * v
 

Detailed Description

Definition at line 43 of file SmallWORMDict.h.

Member Typedef Documentation

Definition at line 44 of file SmallWORMDict.h.

Constructor & Destructor Documentation

cond::SmallWORMDict::IterHelp::IterHelp ( )
inline

Definition at line 45 of file SmallWORMDict.h.

45 : v(nullptr){}
SmallWORMDict const * v
Definition: SmallWORMDict.h:61
cond::SmallWORMDict::IterHelp::IterHelp ( SmallWORMDict const &  iv)
inline

Definition at line 46 of file SmallWORMDict.h.

46 : v(&iv){}
SmallWORMDict const * v
Definition: SmallWORMDict.h:61

Member Function Documentation

Frame const& cond::SmallWORMDict::IterHelp::frame ( char const *  b,
unsigned int  l,
unsigned int  ind 
) const
inline

Definition at line 53 of file SmallWORMDict.h.

References b, f, and checklumidiff::l.

55  {
56  f.b = b; f.l=l; f.ind=ind;
57  return f;
58  }
double b
Definition: hdecay.h:120
result_type const& cond::SmallWORMDict::IterHelp::operator() ( int  i) const
inline

Definition at line 48 of file SmallWORMDict.h.

References mps_fire::i, gen::k, and findQualityFiles::v.

48  {
49  int k = (0==i) ? 0 : v->m_index[i-1];
50  return frame(&v->m_data[k], v->m_index[i]-k, i);
51  }
SmallWORMDict const * v
Definition: SmallWORMDict.h:61
std::vector< unsigned int > m_index
Frame const & frame(char const *b, unsigned int l, unsigned int ind) const
Definition: SmallWORMDict.h:53
std::vector< char > m_data
int k[5][pyjets_maxn]

Member Data Documentation

Frame cond::SmallWORMDict::IterHelp::f
mutableprivate
SmallWORMDict const* cond::SmallWORMDict::IterHelp::v
private

Definition at line 61 of file SmallWORMDict.h.