109 m_nduplicate = tfserv->
make<TH1F>(
"nduplicate",
"Number of duplicated clusters per track", 10, -0.5, 9.5);
110 m_nduplmod = tfserv->make<TH1F>(
"nduplmod",
"Number of duplicated clusters per module", 10, -0.5, 9.5);
131 for (reco::TrackCollection::const_iterator it =
tracks->begin(); it !=
tracks->end(); it++) {
132 std::set<SiPixelRecHit::ClusterRef::key_type>
clusters;
141 std::stringstream detidstr;
144 LogDebug(
"DuplicateHitFinder") <<
"Track with " << it->recHitsSize() <<
" RecHits";
145 LogTrace(
"DuplicateHitFinder") <<
"Duplicate found " << ttrh->det()->geographicalId().rawId() <<
" " ClusterRef cluster() const
static const std::string kSharedResource
T getParameter(std::string const &) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
std::vector< Track > TrackCollection
collection of Tracks
~DuplicateRecHits() override
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > m_builderToken
const GeomDet * det() const
const TransientTrackingRecHitBuilder * m_builder
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
void endRun(const edm::Run &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
DetId geographicalId() const
The label of this GeomDet.
std::shared_ptr< TrackingRecHit const > RecHitPointer
Log< level::Info, false > LogInfo
constexpr uint32_t rawId() const
get the raw id
edm::EDGetTokenT< reco::TrackCollection > m_trkcollToken
T * make(const Args &...args) const
make new ROOT object
DuplicateRecHits(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginRun(const edm::Run &, const edm::EventSetup &) override