#include <TauValidation.h>
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 void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr < DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
unsigned int | streamId_ |
Definition at line 25 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
undetermined | |
electron | |
muon | |
pi | |
rho | |
a1 | |
K | |
Kstar | |
pi1pi0 | |
pinpi0 | |
tripi | |
tripinpi0 | |
stable |
Definition at line 28 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
other | |
B | |
D | |
gamma | |
Z | |
W | |
HSM | |
H0 | |
A0 | |
Hpm |
Definition at line 30 of file TauValidation.h.
|
explicit |
Definition at line 18 of file TauValidation.cc.
References fPDGTableToken, genparticleCollection_, and genparticleCollectionToken_.
|
override |
Definition at line 29 of file TauValidation.cc.
|
overridevirtual |
Gathering the reco::GenParticleCollection information
Reimplemented from DQMEDAnalyzer.
Definition at line 371 of file TauValidation.cc.
References funct::abs(), TauDecay_GenParticle::AnalyzeTau(), HLT_FULL_cff::beta, c, DecayLength, dqm::impl::MonitorElement::Fill(), genparticleCollectionToken_, genParticleCandidates2GenParticles_cfi::genParticles, TauDecay_GenParticle::Get_TauDecayProducts(), edm::Event::getByToken(), PdtPdgMini::Higgs0, mps_fire::i, isLastTauinChain(), TauDecay::isTauFinalStateParticle(), 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, B, DQMHelper::book1dHisto(), D, DecayLength, TauDecay::DecayMode(), electron, gamma, H0, Hpm, HSM, dqmiolumiharvest::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, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::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, createJobs::tmp, tripi, tripinpi0, undetermined, W, Z, zsbins, zsmax, and zsmin.
|
private |
Definition at line 639 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), mps_fire::i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), and reco::LeafCandidate::pdgId().
Referenced by tauDecayChannel().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 31 of file TauValidation.cc.
References fPDGTable, fPDGTableToken, and edm::EventSetup::getHandle().
|
private |
Definition at line 509 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), mps_fire::i, isLastTauinChain(), reco::CompositeRefCandidateT< D >::numberOfDaughters(), and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 489 of file TauValidation.cc.
References GetMother(), and reco::LeafCandidate::pdgId().
Referenced by spinEffectsZH(), and tauMother().
|
private |
Definition at line 536 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), GetMother(), mps_fire::i, visualization-live-secondInstance_cfg::m, reco::CompositeRefCandidateT< D >::numberOfDaughters(), and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 499 of file TauValidation.cc.
References mps_fire::i, reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), reco::LeafCandidate::pdgId(), and metsig::tau.
Referenced by photons().
|
private |
Definition at line 468 of file TauValidation.cc.
References mps_fire::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 478 of file TauValidation.cc.
References mps_fire::i, reco::CompositeRefCandidateT< D >::mother(), reco::CompositeRefCandidateT< D >::numberOfMothers(), and reco::LeafCandidate::pdgId().
Referenced by spinEffectsZH().
|
private |
Definition at line 491 of file TauValidation.cc.
References reco::CompositeRefCandidateT< D >::daughter(), mps_fire::i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::Candidate::pdgId(), and reco::LeafCandidate::pdgId().
Referenced by analyze(), and findFSRandBrem().
|
private |
Definition at line 1021 of file TauValidation.cc.
References leadingPionP4().
|
private |
Definition at line 1025 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), mps_fire::i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::p(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by leadingPionMomentum(), spinEffectsWHpm(), and spinEffectsZH().
|
private |
Definition at line 1040 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 1059 of file TauValidation.cc.
References dqm::impl::MonitorElement::Fill(), findFSRandBrem(), FindPhotosFSR(), findTauList(), mps_fire::i, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, and histoStyle::weight.
Referenced by analyze().
|
private |
Definition at line 673 of file TauValidation.cc.
References a1, funct::abs(), relval_parameters_module::energy, dqm::impl::MonitorElement::Fill(), gamma, mps_fire::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 743 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(), dqm::impl::MonitorElement::Fill(), findMother(), fPDGTable, TauDecay_GenParticle::Get_TauDecayProducts(), GetMothers(), PdtPdgMini::Higgs0, mps_fire::i, leadingPionP4(), visualization-live-secondInstance_cfg::m, TauDecay::MODE_ELECTRON, TauDecay::MODE_MUON, TauDecay::MODE_PION, TauDecay::MODE_PIPI0, dqmiodumpmetadata::n, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::pdgId(), Pi, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), submitPVResolutionJobs::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 598 of file TauValidation.cc.
References a1, countParticles(), electron, dqm::impl::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 566 of file TauValidation.cc.
References A0, funct::abs(), B, D, dqm::impl::MonitorElement::Fill(), findMother(), gamma, H0, Hpm, HSM, label, other, reco::LeafCandidate::pdgId(), TauMothers, W, and Z.
Referenced by analyze().
|
private |
|
private |
Definition at line 1045 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), mps_fire::i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::pdgId(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
|
private |
Definition at line 1013 of file TauValidation.cc.
References a, and mathSSE::sqrt().
Referenced by spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
PDT table.
Definition at line 77 of file TauValidation.h.
Referenced by dqmBeginRun(), and spinEffectsZH().
|
private |
Definition at line 78 of file TauValidation.h.
Referenced by dqmBeginRun(), and TauValidation().
|
private |
Definition at line 74 of file TauValidation.h.
Referenced by TauValidation().
|
private |
Definition at line 100 of file TauValidation.h.
Referenced by analyze(), and TauValidation().
|
private |
Definition at line 81 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 95 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 80 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and tauDecayChannel().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and tauMother().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 81 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 97 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 98 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 98 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().