#include <trackCount/DuplicateRecHits/src/DuplicateRecHits.cc>
Public Member Functions | |
DuplicateRecHits (const edm::ParameterSet &) | |
~DuplicateRecHits () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
Private Attributes | |
const TransientTrackingRecHitBuilder * | m_builder |
std::string | m_buildername |
TH1F * | m_nduplicate |
TH1F * | m_nduplmod |
edm::EDGetTokenT < reco::TrackCollection > | m_trkcollToken |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 63 of file DuplicateRecHits.cc.
|
explicit |
Definition at line 98 of file DuplicateRecHits.cc.
References edm::ParameterSet::getParameter(), diffTwoXMLs::label, m_nduplicate, m_nduplmod, and TFileService::make().
DuplicateRecHits::~DuplicateRecHits | ( | ) |
Definition at line 118 of file DuplicateRecHits.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 133 of file DuplicateRecHits.cc.
References TransientTrackingRecHitBuilder::build(), SiPixelRecHit::cluster(), HLT_25ns14e33_v1_cff::clusters, TrackingRecHit::det(), GeomDet::geographicalId(), edm::Event::getByToken(), edm::Ref< C, T, F >::index(), LogDebug, LogTrace, m_builder, m_nduplicate, m_nduplmod, m_trkcollToken, DetId::rawId(), and testEve_cfg::tracks.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 169 of file DuplicateRecHits.cc.
References edm::EventSetup::get(), m_builder, m_buildername, and edm::ESHandle< class >::product().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 80 of file DuplicateRecHits.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 79 of file DuplicateRecHits.cc.
Referenced by beginRun().
|
private |
Definition at line 82 of file DuplicateRecHits.cc.
Referenced by analyze(), and DuplicateRecHits().
|
private |
Definition at line 83 of file DuplicateRecHits.cc.
Referenced by analyze(), and DuplicateRecHits().
|
private |
Definition at line 78 of file DuplicateRecHits.cc.
Referenced by analyze().