Public Member Functions | |
virtual void | endJob () override |
virtual bool | filter (edm::Event &evt, const edm::EventSetup &es) override |
RecoTauDifferenceAnalyzer (const edm::ParameterSet &pset) | |
virtual | ~RecoTauDifferenceAnalyzer () |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
size_t | allPassed1_ |
size_t | allPassed2_ |
size_t | differences_ |
edm::InputTag | disc1_ |
edm::InputTag | disc2_ |
size_t | eventsExamined_ |
bool | filter_ |
double | maxDeltaR_ |
size_t | passed1_ |
size_t | passed2_ |
edm::InputTag | src1_ |
edm::InputTag | src2_ |
size_t | tausExamined_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
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) |
Definition at line 10 of file RecoTauDifferenceAnalyzer.cc.
|
explicit |
Definition at line 32 of file RecoTauDifferenceAnalyzer.cc.
References allPassed1_, allPassed2_, differences_, disc1_, disc2_, eventsExamined_, Exception, edm::ParameterSet::exists(), filter_, edm::ParameterSet::getParameter(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::jetRef(), passed1_, passed2_, reco::PFTau::pfTauTagInfoRef(), src1_, src2_, metsig::tau, and tausExamined_.
|
inlinevirtual |
Definition at line 13 of file RecoTauDifferenceAnalyzer.cc.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 120 of file RecoTauDifferenceAnalyzer.cc.
References allPassed1_, allPassed2_, gather_cfg::cout, DEFINE_FWK_MODULE, differences_, disc1_, disc2_, eventsExamined_, passed1_, passed2_, src1_, src2_, and tausExamined_.
Referenced by ~RecoTauDifferenceAnalyzer().
|
overridevirtual |
Definition at line 58 of file RecoTauDifferenceAnalyzer.cc.
References allPassed1_, allPassed2_, deltar::bestMatch(), gather_cfg::cout, deltaR(), differences_, disc1_, disc2_, eventsExamined_, filter_, edm::Event::getByLabel(), edm::Ref< C, T, F >::isNull(), passed1_, passed2_, src1_, src2_, and tausExamined_.
Referenced by ~RecoTauDifferenceAnalyzer().
|
private |
Definition at line 27 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 28 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 24 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 19 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 20 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 22 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 29 of file RecoTauDifferenceAnalyzer.cc.
Referenced by filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 21 of file RecoTauDifferenceAnalyzer.cc.
|
private |
Definition at line 25 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 26 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 17 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 18 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().
|
private |
Definition at line 23 of file RecoTauDifferenceAnalyzer.cc.
Referenced by endJob(), filter(), and RecoTauDifferenceAnalyzer().