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