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 135 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,
nanoaod::FlatTable::ColumnType  atype,
const edm::ParameterSet cfg,
edm::ConsumesCollector &&  cc 
)
inline

Definition at line 137 of file GlobalVariablesTableProducer.cc.

141  : Variable(aname, atype, 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 142 of file GlobalVariablesTableProducer.cc.

142 {}

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
patZpeak.handle
handle
Definition: patZpeak.py:23
edm::Handle
Definition: AssociativeIterator.h:50
GlobalVariablesTableProducer::Variable::Variable
Variable(const std::string &aname, nanoaod::FlatTable::ColumnType atype, const edm::ParameterSet &cfg)
Definition: GlobalVariablesTableProducer.cc:54
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:150
iEvent
int iEvent
Definition: GenABIO.cc:224
cc
looper.cfg
cfg
Definition: looper.py:297
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
GlobalVariablesTableProducer::Variable::type_
nanoaod::FlatTable::ColumnType type_
Definition: GlobalVariablesTableProducer.cc:63
edm::InputTag
Definition: InputTag.h:15