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"))) {}

◆ ~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
GlobalVariablesTableProducer::Variable::Variable
Variable(const std::string &aname, const edm::ParameterSet &cfg)
Definition: GlobalVariablesTableProducer.cc:55
GlobalVariablesTableProducer::Variable::doc_
std::string doc_
Definition: GlobalVariablesTableProducer.cc:62
fileCollector.convert
def convert(infile, ofile)
Definition: fileCollector.py:47
GlobalVariablesTableProducer::Variable::name_
std::string name_
Definition: GlobalVariablesTableProducer.cc:62
GlobalVariablesTableProducer::VariableT::src_
edm::EDGetTokenT< ValType > src_
Definition: GlobalVariablesTableProducer.cc:144
cc
looper.cfg
cfg
Definition: looper.py:296
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
edm::Event::get
bool get(ProductID const &oid, Handle< PROD > &result) const
Definition: Event.h:346
edm::InputTag
Definition: InputTag.h:15