#include <SiStripOnTrackClusterTableProducerBase.h>
|
template<typename VALUES > |
static void | addColumn (nanoaod::FlatTable *table, const std::string &name, VALUES &&values, const std::string &doc) |
|
◆ SiStripOnTrackClusterTableProducerBase()
SiStripOnTrackClusterTableProducerBase::SiStripOnTrackClusterTableProducerBase |
( |
const edm::ParameterSet & |
params | ) |
|
|
inlineexplicit |
◆ ~SiStripOnTrackClusterTableProducerBase()
SiStripOnTrackClusterTableProducerBase::~SiStripOnTrackClusterTableProducerBase |
( |
| ) |
|
|
override |
◆ addColumn()
template<typename VALUES >
static void SiStripOnTrackClusterTableProducerBase::addColumn |
( |
nanoaod::FlatTable * |
table, |
|
|
const std::string & |
name, |
|
|
VALUES && |
values, |
|
|
const std::string & |
doc |
|
) |
| |
|
inlinestatic |
◆ fillTable()
◆ produce()
Definition at line 20 of file SiStripOnTrackClusterTableProducerBase.cc.
26 std::vector<OnTrackCluster>
clusters{};
28 for (
const auto&
assoc : *trajTrackAssociations) {
29 const auto traj =
assoc.key.get();
32 for (
const auto& meas : traj->measurements()) {
33 const auto& trajState = meas.updatedState();
34 if (!trajState.isValid())
38 const auto trechit = meas.recHit()->hit();
39 const auto simple1d = dynamic_cast<const SiStripRecHit1D*>(trechit);
40 const auto simple = dynamic_cast<const SiStripRecHit2D*>(trechit);
41 const auto matched = dynamic_cast<const SiStripMatchedRecHit2D*>(trechit);
46 clusters.emplace_back(simple->geographicalId().rawId(), simple->cluster().get(), traj,
track, meas);
47 }
else if (simple1d) {
48 clusters.emplace_back(simple1d->geographicalId().rawId(), simple1d->cluster().get(), traj,
track, meas);
55 std::vector<int> c_trackindex;
56 c_trackindex.reserve(
clusters.size());
57 std::vector<uint32_t> c_rawid;
61 c_rawid.push_back(clus.det);
63 addColumn(
out.get(),
"trackindex", c_trackindex,
"Track index");
References addColumn(), trackingPlots::assoc, bsc_activity_cfg::clusters, fillTable(), shallow::findTrackIndex(), iEvent, m_association_token, m_extension, m_name, m_tracks_token, muonTagProbeFilters_cff::matched, eostools::move(), MillePedeFileConverter_cfg::out, HLT_FULL_cff::track, and tracks.
◆ m_association_token
◆ m_doc
const std::string SiStripOnTrackClusterTableProducerBase::m_doc |
|
private |
◆ m_extension
bool SiStripOnTrackClusterTableProducerBase::m_extension |
|
private |
◆ m_name
const std::string SiStripOnTrackClusterTableProducerBase::m_name |
|
private |
◆ m_tracks_token
Container::value_type value_type