#include <TauValidation.h>
Public Types | |
enum | { undetermined, electron, muon, pi, rho, a1, K, Kstar, pi1pi0, pinpi0, tripi, tripinpi0, stable } |
enum | { other, B, D, gamma, Z, W, HSM, H0, A0, Hpm } |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Private Member Functions | |
void | countParticles (const reco::GenParticle *p, int &allCount, int &eCount, int &muCount, int &pi0Count, int &piCount, int &rhoCount, int &a1Count, int &KCount, int &KstarCount) |
void | findFSRandBrem (const reco::GenParticle *p, bool doBrem, std::vector< const reco::GenParticle * > &ListofFSR, std::vector< const reco::GenParticle * > &ListofBrem) |
int | findMother (const reco::GenParticle *) |
void | FindPhotosFSR (const reco::GenParticle *p, std::vector< const reco::GenParticle * > &ListofFSR, double &BosonScale) |
void | findTauList (const reco::GenParticle *tau, std::vector< const reco::GenParticle * > &TauList) |
const reco::GenParticle * | GetMother (const reco::GenParticle *tau) |
const std::vector< const reco::GenParticle * > | GetMothers (const reco::GenParticle *boson) |
bool | isLastTauinChain (const reco::GenParticle *tau) |
double | leadingPionMomentum (const reco::GenParticle *, double weight) |
TLorentzVector | leadingPionP4 (const reco::GenParticle *) |
TLorentzVector | motherP4 (const reco::GenParticle *) |
void | photons (const reco::GenParticle *, double weight) |
void | spinEffectsWHpm (const reco::GenParticle *, int, int, std::vector< const reco::GenParticle * > &part, double weight) |
void | spinEffectsZH (const reco::GenParticle *boson, double weight) |
int | tauDecayChannel (const reco::GenParticle *tau, int jak_id, unsigned int TauBitMask, double weight) |
int | tauMother (const reco::GenParticle *, double weight) |
int | tauProngs (const reco::GenParticle *, double weight) |
double | visibleTauEnergy (const reco::GenParticle *) |
double | Zstoa (double zs) |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::stream::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 28 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
undetermined | |
electron | |
muon | |
pi | |
rho | |
a1 | |
K | |
Kstar | |
pi1pi0 | |
pinpi0 | |
tripi | |
tripinpi0 | |
stable |
Definition at line 32 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
other | |
B | |
D | |
gamma | |
Z | |
W | |
HSM | |
H0 | |
A0 | |
Hpm |
Definition at line 46 of file TauValidation.h.
|
explicit |
Definition at line 18 of file TauValidation.cc.
References genparticleCollection_, and genparticleCollectionToken_.
|
virtual |
Definition at line 29 of file TauValidation.cc.
|
overridevirtual |
Gathering the reco::GenParticleCollection information
Implements edm::stream::EDAnalyzerBase.
Definition at line 162 of file TauValidation.cc.
References funct::abs(), TauDecay_GenParticle::AnalyzeTau(), beta, EnergyCorrector::c, DecayLength, MonitorElement::Fill(), genparticleCollectionToken_, genParticleCandidates2GenParticles_cfi::genParticles, TauDecay_GenParticle::Get_TauDecayProducts(), edm::Event::getByToken(), PdtPdgMini::Higgs0, i, isLastTauinChain(), TauDecay::isTauFinalStateParticle(), getDQMSummary::iter, PdtPdgMini::K_plus, LifeTime, TauDecay::MODE_3PI, TauDecay::MODE_KPIK, TauDecay::MODE_KPIPI, TauDecay::MODE_PI2PI0, MODEID, MODEInvMass, NMODEID, nPrimeTaus, TauDecay::nProng(), nTaus, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, photons(), PdtPdgMini::pi_plus, spinEffectsWHpm(), spinEffectsZH(), tauDecayChannel(), TauEta, tauMother(), TauPhi, TauProngs, TauPt, histoStyle::weight, and PdtPdgMini::Z0.
|
overridevirtual |
Setting the DQM top directories
Implements DQMEDAnalyzer.
Definition at line 35 of file TauValidation.cc.
References A0, a1, DQMHelper::book1dHisto(), D, DecayLength, TauDecay::DecayMode(), electron, gamma, H0, Hpm, HSM, j, K, Kstar, LifeTime, TauDecay::MODE_3PI, TauDecay::MODE_KPIK, TauDecay::MODE_KPIPI, TauDecay::MODE_PI2PI0, MODEID, MODEInvMass, muon, NMODEID, nPrimeTaus, nTaus, other, Pi, pi, pi1pi0, pinpi0, rho, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), stable, AlCaHLTBitMon_QueryRunRegistry::string, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauDecayChannels, TauEta, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, TauMothers, TauPhi, TauProngs, TauPt, TauSpinEffectsH_eX, TauSpinEffectsH_muX, TauSpinEffectsH_MVis, TauSpinEffectsH_pipiAcollinearity, TauSpinEffectsH_pipiAcollinearityzoom, TauSpinEffectsH_pipiAcoplanarity, TauSpinEffectsH_rhorhoAcoplanarityminus, TauSpinEffectsH_rhorhoAcoplanarityplus, TauSpinEffectsH_X, TauSpinEffectsH_Xb, TauSpinEffectsH_Xf, TauSpinEffectsH_Zs, TauSpinEffectsHpm_eX, TauSpinEffectsHpm_muX, TauSpinEffectsHpm_UpsilonA1, TauSpinEffectsHpm_UpsilonRho, TauSpinEffectsHpm_X, TauSpinEffectsW_eX, TauSpinEffectsW_muX, TauSpinEffectsW_UpsilonA1, TauSpinEffectsW_UpsilonRho, TauSpinEffectsW_X, TauSpinEffectsZ_eX, TauSpinEffectsZ_muX, TauSpinEffectsZ_MVis, TauSpinEffectsZ_X, TauSpinEffectsZ_X100to120, TauSpinEffectsZ_X120UP, TauSpinEffectsZ_X50to75, TauSpinEffectsZ_X75to88, TauSpinEffectsZ_X88to100, TauSpinEffectsZ_Xb, TauSpinEffectsZ_Xf, TauSpinEffectsZ_Zs, tmp, tripi, tripinpi0, undetermined, W, Z, zsbins, zsmax, and zsmin.
|
private |
Definition at line 394 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::pdgId(), and sysUtil::pid.
Referenced by tauDecayChannel().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 31 of file TauValidation.cc.
References fPDGTable, and edm::EventSetup::getData().
|
private |
Definition at line 301 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), i, isLastTauinChain(), reco::CompositeRefCandidateT< D >::numberOfDaughters(), benchmark_cfg::pdgId, and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 280 of file TauValidation.cc.
References GetMother(), and reco::LeafCandidate::pdgId().
Referenced by spinEffectsZH(), and tauMother().
|
private |
Definition at line 319 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), GetMother(), i, visualization-live-secondInstance_cfg::m, reco::CompositeRefCandidateT< D >::numberOfDaughters(), and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 291 of file TauValidation.cc.
References i, reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::LeafCandidate::pdgId(), and metsig::tau.
Referenced by photons().
|
private |
Definition at line 261 of file TauValidation.cc.
References i, reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::LeafCandidate::pdgId(), and metsig::tau.
Referenced by findMother(), FindPhotosFSR(), and motherP4().
|
private |
Definition at line 270 of file TauValidation.cc.
References i, reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), and reco::LeafCandidate::pdgId().
Referenced by spinEffectsZH().
|
private |
Definition at line 284 of file TauValidation.cc.
References reco::CompositeRefCandidateT< D >::daughter(), i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::Candidate::pdgId(), and reco::LeafCandidate::pdgId().
Referenced by analyze(), and findFSRandBrem().
|
private |
Definition at line 684 of file TauValidation.cc.
References leadingPionP4().
|
private |
Definition at line 688 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::p(), p4, reco::LeafCandidate::pdgId(), sysUtil::pid, reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by leadingPionMomentum(), spinEffectsWHpm(), and spinEffectsZH().
|
private |
Definition at line 700 of file TauValidation.cc.
References reco::LeafCandidate::energy(), GetMother(), visualization-live-secondInstance_cfg::m, reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by spinEffectsWHpm().
|
private |
Definition at line 718 of file TauValidation.cc.
References MonitorElement::Fill(), findFSRandBrem(), FindPhotosFSR(), findTauList(), i, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, and histoStyle::weight.
Referenced by analyze().
|
private |
Definition at line 414 of file TauValidation.cc.
References a1, funct::abs(), relval_parameters_module::energy, MonitorElement::Fill(), gamma, i, leadingPionP4(), TauDecay::MODE_3PI, TauDecay::MODE_ELECTRON, TauDecay::MODE_MUON, TauDecay::MODE_PI2PI0, TauDecay::MODE_PION, TauDecay::MODE_PIPI0, motherP4(), pi, PdtPdgMini::pi0, PdtPdgMini::pi_minus, PdtPdgMini::pi_plus, rho, TauSpinEffectsHpm_eX, TauSpinEffectsHpm_muX, TauSpinEffectsHpm_UpsilonA1, TauSpinEffectsHpm_UpsilonRho, TauSpinEffectsHpm_X, TauSpinEffectsW_eX, TauSpinEffectsW_muX, TauSpinEffectsW_UpsilonA1, TauSpinEffectsW_UpsilonRho, TauSpinEffectsW_X, and histoStyle::weight.
Referenced by analyze().
|
private |
Definition at line 462 of file TauValidation.cc.
References funct::abs(), TauDecay_GenParticle::AnalyzeTau(), PdtPdgMini::anti_d, PdtPdgMini::anti_u, RecoTauCleanerPlugins::charge, PdtPdgMini::d, reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), MonitorElement::Fill(), findMother(), fPDGTable, TauDecay_GenParticle::Get_TauDecayProducts(), GetMothers(), PdtPdgMini::Higgs0, i, leadingPionP4(), visualization-live-secondInstance_cfg::m, TauDecay::MODE_ELECTRON, TauDecay::MODE_MUON, TauDecay::MODE_PION, TauDecay::MODE_PIPI0, gen::n, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::pdgId(), Pi, sysUtil::pid, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), lumiQueryAPI::q, TauSpinEffectsH_eX, TauSpinEffectsH_muX, TauSpinEffectsH_MVis, TauSpinEffectsH_pipiAcollinearity, TauSpinEffectsH_pipiAcollinearityzoom, TauSpinEffectsH_pipiAcoplanarity, TauSpinEffectsH_rhorhoAcoplanarityminus, TauSpinEffectsH_rhorhoAcoplanarityplus, TauSpinEffectsH_X, TauSpinEffectsH_Xb, TauSpinEffectsH_Xf, TauSpinEffectsH_Zs, TauSpinEffectsZ_eX, TauSpinEffectsZ_muX, TauSpinEffectsZ_MVis, TauSpinEffectsZ_X, TauSpinEffectsZ_X100to120, TauSpinEffectsZ_X120UP, TauSpinEffectsZ_X50to75, TauSpinEffectsZ_X75to88, TauSpinEffectsZ_X88to100, TauSpinEffectsZ_Xb, TauSpinEffectsZ_Xf, TauSpinEffectsZ_Zs, PdtPdgMini::u, histoStyle::weight, Z, PdtPdgMini::Z0, zsbins, zsmax, zsmin, and Zstoa().
Referenced by analyze().
|
private |
Definition at line 360 of file TauValidation.cc.
References a1, countParticles(), electron, MonitorElement::Fill(), K, Kstar, muon, pi, pi1pi0, pinpi0, rho, stable, reco::LeafCandidate::status(), TauDecayChannels, tripi, tripinpi0, and undetermined.
Referenced by analyze().
|
private |
Definition at line 340 of file TauValidation.cc.
References A0, funct::abs(), B, D, MonitorElement::Fill(), findMother(), gamma, H0, Hpm, HSM, diffTwoXMLs::label, other, reco::LeafCandidate::pdgId(), TauMothers, W, and Z.
Referenced by analyze().
|
private |
|
private |
Definition at line 705 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), p4, reco::LeafCandidate::pdgId(), sysUtil::pid, reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
|
private |
Definition at line 675 of file TauValidation.cc.
References a, and mathSSE::sqrt().
Referenced by spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
PDT table.
Definition at line 91 of file TauValidation.h.
Referenced by dqmBeginRun(), and spinEffectsZH().
|
private |
Definition at line 88 of file TauValidation.h.
Referenced by TauValidation().
|
private |
Definition at line 113 of file TauValidation.h.
Referenced by analyze(), and TauValidation().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 107 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 108 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 106 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 93 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 93 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and tauDecayChannel().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and tauMother().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 110 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 111 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 111 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().