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, const edm::ParameterSet &cfg, edm::ConsumesCollector &&cc)
 
 ~VariableT () override
 
- Public Member Functions inherited from GlobalVariablesTableProducer::Variable
const std::string & name () const
 
 Variable (const std::string &aname, const edm::ParameterSet &cfg)
 
virtual ~Variable ()
 

Protected Attributes

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

Detailed Description

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

Definition at line 134 of file GlobalVariablesTableProducer.cc.

Constructor & Destructor Documentation

◆ VariableT()

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

Definition at line 136 of file GlobalVariablesTableProducer.cc.

137  : Variable(aname, cfg), src_(cc.consumes<ValType>(cfg.getParameter<edm::InputTag>("src"))) {}
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Variable(const std::string &aname, const edm::ParameterSet &cfg)

◆ ~VariableT()

template<typename ValType , typename ColType = ValType, typename Converter = Identity<ValType>>
GlobalVariablesTableProducer::VariableT< ValType, ColType, Converter >::~VariableT ( )
inlineoverride

Definition at line 138 of file GlobalVariablesTableProducer.cc.

138 {}

Member Function Documentation

◆ fill()

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

◆ src_

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