CMS 3D CMS Logo

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

Public Member Functions

void fill (const edm::Event &iEvent, nanoaod::FlatTable &out) const override
 
 VariableT (const std::string &aname, nanoaod::FlatTable::ColumnType atype, const edm::ParameterSet &cfg, edm::ConsumesCollector &&cc)
 
 ~VariableT () override
 
- Public Member Functions inherited from GlobalVariablesTableProducer::Variable
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

edm::EDGetTokenT< ValType > src_
 
- Protected Attributes inherited from GlobalVariablesTableProducer::Variable
std::string doc_
 
std::string name_
 
nanoaod::FlatTable::ColumnType type_
 

Detailed Description

template<typename ValType, typename ColType = ValType, typename Converter = Identity<ValType>>
class GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >

Definition at line 122 of file GlobalVariablesTableProducer.cc.

Constructor & Destructor Documentation

template<typename ValType , typename ColType = ValType, typename Converter = Identity<ValType>>
GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >::VariableT ( const std::string &  aname,
nanoaod::FlatTable::ColumnType  atype,
const edm::ParameterSet cfg,
edm::ConsumesCollector &&  cc 
)
inline

Definition at line 124 of file GlobalVariablesTableProducer.cc.

124  :
125  Variable(aname, atype, cfg), src_(cc.consumes<ValType>(cfg.getParameter<edm::InputTag>("src"))) {}
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
Variable(const std::string &aname, nanoaod::FlatTable::ColumnType atype, const edm::ParameterSet &cfg)
template<typename ValType , typename ColType = ValType, typename Converter = Identity<ValType>>
GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >::~VariableT ( )
inlineoverride

Definition at line 126 of file GlobalVariablesTableProducer.cc.

126 {}

Member Function Documentation

template<typename ValType , typename ColType = ValType, typename Converter = Identity<ValType>>
void GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >::fill ( const edm::Event iEvent,
nanoaod::FlatTable out 
) const
inlineoverridevirtual

Member Data Documentation

template<typename ValType , typename ColType = ValType, typename Converter = Identity<ValType>>
edm::EDGetTokenT<ValType> GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >::src_
protected

Definition at line 133 of file GlobalVariablesTableProducer.cc.