14 m_doc(params.existsAs<std::
string>(
"doc") ? params.getParameter<std::
string>(
"doc") :
""),
15 m_extension(params.existsAs<bool>(
"extension") ? params.getParameter<bool>(
"extension") :
true),
18 produces<nanoaod::FlatTable>();
43 template <
typename VALUES>
46 table->template addColumn<value_type>(
name,
values, doc);
auto const & tracks
cannot be loose
SiStripOnTrackClusterTableProducerBase(const edm::ParameterSet ¶ms)
Container::value_type value_type
OnTrackCluster(uint32_t detId, const SiStripCluster *stripCluster, const Trajectory *trajectory, const reco::Track *track_, const TrajectoryMeasurement &measurement_)
const reco::Track * track
const SiStripCluster * cluster
const edm::EDGetTokenT< TrajTrackAssociationCollection > m_association_token
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) final
const TrajectoryMeasurement & measurement
static void addColumn(nanoaod::FlatTable *table, const std::string &name, VALUES &&values, const std::string &doc)
const edm::EDGetTokenT< edm::View< reco::Track > > m_tracks_token
virtual void fillTable(const std::vector< OnTrackCluster > &clusters, const edm::View< reco::Track > &tracks, nanoaod::FlatTable *table, const edm::EventSetup &iSetup)=0
~SiStripOnTrackClusterTableProducerBase() override