#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 DQMEDAnalyzer | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > | |
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 |
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 |
anonymous enum |
|
explicit |
Definition at line 18 of file TauValidation.cc.
References genparticleCollection_, and genparticleCollectionToken_.
|
override |
Definition at line 28 of file TauValidation.cc.
|
overridevirtual |
Gathering the reco::GenParticleCollection information
Reimplemented from DQMEDAnalyzer.
Definition at line 368 of file TauValidation.cc.
References funct::abs(), TauDecay_GenParticle::AnalyzeTau(), zMuMuMuonUserData::beta, HltBtagPostValidation_cff::c, DecayLength, dqm::impl::MonitorElement::Fill(), genparticleCollectionToken_, genParticles2HepMC_cfi::genParticles, TauDecay_GenParticle::Get_TauDecayProducts(), PdtPdgMini::Higgs0, mps_fire::i, iEvent, 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, nanoDQM_cfi::PV, spinEffectsWHpm(), spinEffectsZH(), nanoDQM_cfi::SV, tauDecayChannel(), TauEta, tauMother(), TauPhi, TauProngs, TauPt, mps_merge::weight, and PdtPdgMini::Z0.
|
overridevirtual |
Setting the DQM top directories
Implements DQMEDAnalyzer.
Definition at line 32 of file TauValidation.cc.
References A0, a1, B, D, DecayLength, TauDecay::DecayMode(), electron, gamma, H0, Hpm, HSM, mps_fire::i, dqmiolumiharvest::j, K, Kstar, LifeTime, TauDecay::MODE_3PI, TauDecay::MODE_KPIK, TauDecay::MODE_KPIPI, TauDecay::MODE_PI2PI0, MODEID, MODEInvMass, NMODEID, nPrimeTaus, nTaus, other, Pi, pi, pi1pi0, pinpi0, rho, dqm::impl::MonitorElement::setBinLabel(), 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 636 of file TauValidation.cc.
References funct::abs(), mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and reco::LeafCandidate::pdgId().
Referenced by tauDecayChannel().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 30 of file TauValidation.cc.
References HltBtagPostValidation_cff::c, and fPDGTable.
|
private |
Definition at line 506 of file TauValidation.cc.
References funct::abs(), mps_fire::i, isLastTauinChain(), AlCaHLTBitMon_ParallelJobs::p, and EgammaValidation_cff::pdgId.
Referenced by photons().
|
private |
Definition at line 486 of file TauValidation.cc.
References GetMother(), reco::LeafCandidate::pdgId(), and metsig::tau.
Referenced by spinEffectsZH(), and tauMother().
|
private |
Definition at line 533 of file TauValidation.cc.
References funct::abs(), GetMother(), mps_fire::i, visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 496 of file TauValidation.cc.
References mps_fire::i, reco::LeafCandidate::pdgId(), and metsig::tau.
Referenced by photons().
|
private |
Definition at line 465 of file TauValidation.cc.
References mps_fire::i, reco::LeafCandidate::pdgId(), and metsig::tau.
Referenced by findMother(), FindPhotosFSR(), and motherP4().
|
private |
Definition at line 475 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 488 of file TauValidation.cc.
References mps_fire::i, and metsig::tau.
Referenced by analyze(), and findFSRandBrem().
|
private |
Definition at line 1018 of file TauValidation.cc.
References leadingPionP4(), and metsig::tau.
|
private |
Definition at line 1022 of file TauValidation.cc.
References funct::abs(), reco::LeafCandidate::energy(), mps_fire::i, reco::LeafCandidate::p(), p4, reco::LeafCandidate::pdgId(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), and metsig::tau.
Referenced by leadingPionMomentum(), spinEffectsWHpm(), and spinEffectsZH().
|
private |
Definition at line 1037 of file TauValidation.cc.
References GetMother(), visualization-live-secondInstance_cfg::m, and metsig::tau.
Referenced by spinEffectsWHpm().
|
private |
Definition at line 1056 of file TauValidation.cc.
References dqm::impl::MonitorElement::Fill(), findFSRandBrem(), FindPhotosFSR(), findTauList(), mps_fire::i, metsig::tau, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, and mps_merge::weight.
Referenced by analyze().
|
private |
Definition at line 670 of file TauValidation.cc.
References a1, funct::abs(), PA_ZEESkim_cff::decay, HCALHighEnergyHPDFilter_cfi::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, metsig::tau, TauSpinEffectsHpm_eX, TauSpinEffectsHpm_muX, TauSpinEffectsHpm_UpsilonA1, TauSpinEffectsHpm_UpsilonRho, TauSpinEffectsHpm_X, TauSpinEffectsW_eX, TauSpinEffectsW_muX, TauSpinEffectsW_UpsilonA1, TauSpinEffectsW_UpsilonRho, TauSpinEffectsW_X, and mps_merge::weight.
Referenced by analyze().
|
private |
Definition at line 740 of file TauValidation.cc.
References funct::abs(), TauDecay_GenParticle::AnalyzeTau(), PdtPdgMini::anti_d, PdtPdgMini::anti_u, ALCARECOTkAlJpsiMuMu_cff::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, createfilelist::int, 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, mps_merge::weight, testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, Z, PdtPdgMini::Z0, zsbins, zsmax, zsmin, and Zstoa().
Referenced by analyze().
|
private |
Definition at line 595 of file TauValidation.cc.
References a1, countParticles(), electron, dqm::impl::MonitorElement::Fill(), K, Kstar, muon, pi, pi1pi0, pinpi0, rho, stable, metsig::tau, TauDecayChannels, tripi, tripinpi0, and undetermined.
Referenced by analyze().
|
private |
Definition at line 563 of file TauValidation.cc.
References A0, funct::abs(), B, D, dqm::impl::MonitorElement::Fill(), findMother(), gamma, H0, Hpm, HSM, label, other, metsig::tau, TauMothers, W, and Z.
Referenced by analyze().
|
private |
|
private |
Definition at line 1042 of file TauValidation.cc.
References funct::abs(), reco::LeafCandidate::energy(), mps_fire::i, p4, reco::LeafCandidate::pdgId(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), and metsig::tau.
|
private |
Definition at line 1010 of file TauValidation.cc.
References a, and mathSSE::sqrt().
Referenced by spinEffectsZH().
|
private |
Definition at line 80 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 74 of file TauValidation.h.
Referenced by TauValidation().
|
private |
Definition at line 99 of file TauValidation.h.
Referenced by analyze(), and TauValidation().
|
private |
Definition at line 80 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 analyze(), and bookHistograms().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 79 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 79 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and tauDecayChannel().
|
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 bookHistograms(), and photons().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and tauMother().
|
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 80 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 80 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 96 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 97 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().