#include <HypothesisAnalyzer.h>
Public Member Functions | |
HypothesisAnalyzer (const edm::ParameterSet &) | |
~HypothesisAnalyzer () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
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 & | itemsToGetFrom (BranchType iType) 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 Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
TH1F * | genMatchDr_ |
TH2F * | genMatchDrVsHadTopPullMass_ |
TH1F * | hadTopEta_ |
TH1F * | hadTopMass_ |
TH1F * | hadTopPt_ |
TH1F * | hadTopPullEta_ |
TH1F * | hadTopPullMass_ |
TH1F * | hadTopPullPt_ |
TH1F * | hadWEta_ |
TH1F * | hadWMass_ |
TH1F * | hadWPt_ |
TH1F * | hadWPullEta_ |
TH1F * | hadWPullMass_ |
TH1F * | hadWPullPt_ |
const std::string | hypoClassKey_ |
TH1F * | kinFitProb_ |
TH2F * | kinFitProbVsHadTopPullMass_ |
TH1F * | lepTopEta_ |
TH1F * | lepTopMass_ |
TH1F * | lepTopPt_ |
TH1F * | lepTopPullEta_ |
TH1F * | lepTopPullMass_ |
TH1F * | lepTopPullPt_ |
TH1F * | lepWEta_ |
TH1F * | lepWMass_ |
TH1F * | lepWPt_ |
TH1F * | lepWPullEta_ |
TH1F * | lepWPullMass_ |
TH1F * | lepWPullPt_ |
TH1F * | neutrinoEta_ |
TH1F * | neutrinoPullEta_ |
const edm::EDGetTokenT< TtSemiLeptonicEvent > | semiLepEvtToken_ |
TH1F * | topPairMass_ |
TH1F * | topPairPullMass_ |
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) |
Definition at line 11 of file HypothesisAnalyzer.h.
|
explicit |
Definition at line 9 of file HypothesisAnalyzer.cc.
|
inlineoverride |
Definition at line 16 of file HypothesisAnalyzer.h.
References analyze(), beginJob(), and endJob().
|
overrideprivate |
Definition at line 16 of file HypothesisAnalyzer.cc.
References reco::Candidate::eta(), TtEvent::fitProb(), genMatchDr_, genMatchDrVsHadTopPullMass_, TtEvent::genMatchSumDR(), TtSemiLeptonicEvent::hadronicDecayTop(), TtSemiLeptonicEvent::hadronicDecayW(), hadTopEta_, hadTopMass_, hadTopPt_, hadTopPullEta_, hadTopPullMass_, hadTopPullPt_, hadWEta_, hadWMass_, hadWPt_, hadWPullEta_, hadWPullMass_, hadWPullPt_, hypoClassKey_, TtEvent::isHypoValid(), kinFitProb_, kinFitProbVsHadTopPullMass_, TtSemiLeptonicEvent::leptonicDecayTop(), TtSemiLeptonicEvent::leptonicDecayW(), lepTopEta_, lepTopMass_, lepTopPt_, lepTopPullEta_, lepTopPullMass_, lepTopPullPt_, lepWEta_, lepWMass_, lepWPt_, lepWPullEta_, lepWPullMass_, lepWPullPt_, reco::Candidate::mass(), neutrinoEta_, neutrinoPullEta_, reco::Candidate::pt(), semiLepEvtToken_, TtSemiLeptonicEvent::singleNeutrino(), TtEvent::topPair(), topPairMass_, and topPairPullMass_.
Referenced by ~HypothesisAnalyzer().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 131 of file HypothesisAnalyzer.cc.
References edm::errors::Configuration, Exception, genMatchDr_, genMatchDrVsHadTopPullMass_, hadTopEta_, hadTopMass_, hadTopPt_, hadTopPullEta_, hadTopPullMass_, hadTopPullPt_, hadWEta_, hadWMass_, hadWPt_, hadWPullEta_, hadWPullMass_, hadWPullPt_, kinFitProb_, kinFitProbVsHadTopPullMass_, lepTopEta_, lepTopMass_, lepTopPt_, lepTopPullEta_, lepTopPullMass_, lepTopPullPt_, lepWEta_, lepWMass_, lepWPt_, lepWPullEta_, lepWPullMass_, lepWPullPt_, TFileService::make(), neutrinoEta_, neutrinoPullEta_, topPairMass_, and topPairPullMass_.
Referenced by ~HypothesisAnalyzer().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 190 of file HypothesisAnalyzer.cc.
Referenced by ~HypothesisAnalyzer().
|
private |
Definition at line 65 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 68 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 39 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 40 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 38 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 43 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 44 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 42 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 31 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 32 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 30 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 35 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 36 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 34 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 25 of file HypothesisAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 66 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 55 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 56 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 54 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 63 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 61 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 47 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 48 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 46 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 51 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 52 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 50 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 27 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 28 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 24 of file HypothesisAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 58 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file HypothesisAnalyzer.h.
Referenced by analyze(), and beginJob().