CMS 3D CMS Logo

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

#include <FFTJetCorrectorParameters.h>

Public Member Functions

bool empty () const
 
 FFTJetCorrectorParameters ()
 
 FFTJetCorrectorParameters (const std::string &s)
 
 FFTJetCorrectorParameters (const char *c, std::size_t len)
 
 FFTJetCorrectorParameters (std::size_t len)
 
const char * getBuffer () const
 
char * getBuffer ()
 
std::size_t length () const
 
void setStr (const std::string &s)
 
const std::string & str () const
 

Private Attributes

std::string m_buffer
 

Detailed Description

Definition at line 12 of file FFTJetCorrectorParameters.h.

Constructor & Destructor Documentation

FFTJetCorrectorParameters::FFTJetCorrectorParameters ( )
inline

Definition at line 16 of file FFTJetCorrectorParameters.h.

16 {}
FFTJetCorrectorParameters::FFTJetCorrectorParameters ( const std::string &  s)
inlineexplicit

Definition at line 17 of file FFTJetCorrectorParameters.h.

FFTJetCorrectorParameters::FFTJetCorrectorParameters ( const char *  c,
std::size_t  len 
)
inline

Definition at line 19 of file FFTJetCorrectorParameters.h.

20  : m_buffer(c, len) {}
FFTJetCorrectorParameters::FFTJetCorrectorParameters ( std::size_t  len)
inlineexplicit

Definition at line 21 of file FFTJetCorrectorParameters.h.

22  : m_buffer(len, '\0') {}

Member Function Documentation

bool FFTJetCorrectorParameters::empty ( ) const
inline
const char* FFTJetCorrectorParameters::getBuffer ( ) const
inline

Definition at line 28 of file FFTJetCorrectorParameters.h.

References m_buffer.

29  {return m_buffer.empty() ? static_cast<const char*>(0) : &m_buffer[0];}
char* FFTJetCorrectorParameters::getBuffer ( )
inline

Definition at line 32 of file FFTJetCorrectorParameters.h.

References m_buffer.

33  {return m_buffer.empty() ? static_cast<char*>(0) : &m_buffer[0];}
std::size_t FFTJetCorrectorParameters::length ( ) const
inline
void FFTJetCorrectorParameters::setStr ( const std::string &  s)
inline

Definition at line 34 of file FFTJetCorrectorParameters.h.

References m_buffer, and alignCSCRings::s.

const std::string& FFTJetCorrectorParameters::str ( ) const
inline

Definition at line 25 of file FFTJetCorrectorParameters.h.

References m_buffer.

Referenced by buildCorrectorSequence(), and buildLookupTables().

25 {return m_buffer;}

Member Data Documentation

std::string FFTJetCorrectorParameters::m_buffer
private

Definition at line 37 of file FFTJetCorrectorParameters.h.

Referenced by empty(), getBuffer(), length(), setStr(), and str().