CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
GlobalVariablesTableProducer::Variable Class Referenceabstract
Inheritance diagram for GlobalVariablesTableProducer::Variable:
GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >

Public Member Functions

virtual void fill (const edm::Event &iEvent, nanoaod::FlatTable &out) const =0
 
const std::string & name () const
 
const nanoaod::FlatTable::ColumnTypetype () const
 
 Variable (const std::string &aname, nanoaod::FlatTable::ColumnType atype, const edm::ParameterSet &cfg)
 
virtual ~Variable ()
 

Protected Attributes

std::string doc_
 
std::string name_
 
nanoaod::FlatTable::ColumnType type_
 

Detailed Description

Definition at line 52 of file GlobalVariablesTableProducer.cc.

Constructor & Destructor Documentation

◆ Variable()

GlobalVariablesTableProducer::Variable::Variable ( const std::string &  aname,
nanoaod::FlatTable::ColumnType  atype,
const edm::ParameterSet cfg 
)
inline

Definition at line 54 of file GlobalVariablesTableProducer.cc.

55  : name_(aname), doc_(cfg.getParameter<std::string>("doc")), type_(atype) {}

◆ ~Variable()

virtual GlobalVariablesTableProducer::Variable::~Variable ( )
inlinevirtual

Definition at line 57 of file GlobalVariablesTableProducer.cc.

57 {}

Member Function Documentation

◆ fill()

virtual void GlobalVariablesTableProducer::Variable::fill ( const edm::Event iEvent,
nanoaod::FlatTable out 
) const
pure virtual

◆ name()

const std::string& GlobalVariablesTableProducer::Variable::name ( void  ) const
inline

◆ type()

const nanoaod::FlatTable::ColumnType& GlobalVariablesTableProducer::Variable::type ( ) const
inline

Definition at line 59 of file GlobalVariablesTableProducer.cc.

59 { return type_; }

References type_.

Member Data Documentation

◆ doc_

std::string GlobalVariablesTableProducer::Variable::doc_
protected

◆ name_

std::string GlobalVariablesTableProducer::Variable::name_
protected

◆ type_

nanoaod::FlatTable::ColumnType GlobalVariablesTableProducer::Variable::type_
protected
GlobalVariablesTableProducer::Variable::doc_
std::string doc_
Definition: GlobalVariablesTableProducer.cc:62
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GlobalVariablesTableProducer::Variable::name_
std::string name_
Definition: GlobalVariablesTableProducer.cc:62
looper.cfg
cfg
Definition: looper.py:297
GlobalVariablesTableProducer::Variable::type_
nanoaod::FlatTable::ColumnType type_
Definition: GlobalVariablesTableProducer.cc:63