CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
SimpleFlatTableProducerBase< T, TProd >::VariableBase Class Reference

#include <SimpleFlatTableProducer.h>

Inheritance diagram for SimpleFlatTableProducerBase< T, TProd >::VariableBase:
SimpleFlatTableProducerBase< T, TProd >::Variable SimpleFlatTableProducerBase< T, TProd >::FuncVariable< StringFunctor, ValType >

Public Member Functions

const std::string & name () const
 
 VariableBase (const std::string &aname, const edm::ParameterSet &cfg)
 
virtual ~VariableBase ()
 

Protected Attributes

std::string doc_
 
std::string name_
 
int precision_
 

Detailed Description

template<typename T, typename TProd>
class SimpleFlatTableProducerBase< T, TProd >::VariableBase

Definition at line 63 of file SimpleFlatTableProducer.h.

Constructor & Destructor Documentation

◆ VariableBase()

template<typename T, typename TProd>
SimpleFlatTableProducerBase< T, TProd >::VariableBase::VariableBase ( const std::string &  aname,
const edm::ParameterSet cfg 
)
inline

Definition at line 65 of file SimpleFlatTableProducer.h.

66  : name_(aname),
67  doc_(cfg.getParameter<std::string>("doc")),
68  precision_(cfg.existsAs<int>("precision") ? cfg.getParameter<int>("precision")
69  : (cfg.existsAs<std::string>("precision") ? -2 : -1)) {}

◆ ~VariableBase()

template<typename T, typename TProd>
virtual SimpleFlatTableProducerBase< T, TProd >::VariableBase::~VariableBase ( )
inlinevirtual

Definition at line 70 of file SimpleFlatTableProducer.h.

70 {}

Member Function Documentation

◆ name()

template<typename T, typename TProd>
const std::string& SimpleFlatTableProducerBase< T, TProd >::VariableBase::name ( void  ) const
inline

Member Data Documentation

◆ doc_

template<typename T, typename TProd>
std::string SimpleFlatTableProducerBase< T, TProd >::VariableBase::doc_
protected

Definition at line 74 of file SimpleFlatTableProducer.h.

◆ name_

template<typename T, typename TProd>
std::string SimpleFlatTableProducerBase< T, TProd >::VariableBase::name_
protected

◆ precision_

template<typename T, typename TProd>
int SimpleFlatTableProducerBase< T, TProd >::VariableBase::precision_
protected
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SimpleFlatTableProducerBase::VariableBase::name_
std::string name_
Definition: SimpleFlatTableProducer.h:74
looper.cfg
cfg
Definition: looper.py:297
SimpleFlatTableProducerBase::VariableBase::precision_
int precision_
Definition: SimpleFlatTableProducer.h:75
SimpleFlatTableProducerBase::VariableBase::doc_
std::string doc_
Definition: SimpleFlatTableProducer.h:74