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