7 template <
typename TIn,
typename TCol, nanoaod::FlatTable::ColumnType CT>
14 produces<nanoaod::FlatTable>();
23 const auto&
in = *
src;
24 auto out = std::make_unique<nanoaod::FlatTable>(
in.size(),
name_,
false,
false);
26 (*out).template addColumn<TCol>(this->
name_,
in, this->
doc_, CT);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
NativeArrayTableProducer< std::vector< bool >, uint8_t, nanoaod::FlatTable::UInt8Column > BoolArrayTableProducer
bool getByToken(EDGetToken token, Handle< PROD > &result) const
NativeArrayTableProducer(edm::ParameterSet const ¶ms)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
const edm::EDGetTokenT< TIn > src_
NativeArrayTableProducer< std::vector< int >, int, nanoaod::FlatTable::IntColumn > IntArrayTableProducer
#define DEFINE_FWK_MODULE(type)
NativeArrayTableProducer< std::vector< float >, float, nanoaod::FlatTable::FloatColumn > FloatArrayTableProducer
NativeArrayTableProducer< std::vector< double >, float, nanoaod::FlatTable::FloatColumn > DoubleArrayTableProducer
~NativeArrayTableProducer() override