#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::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 26 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
undetermined | |
electron | |
muon | |
pi | |
rho | |
a1 | |
K | |
Kstar | |
pi1pi0 | |
pinpi0 | |
tripi | |
tripinpi0 | |
stable |
Definition at line 30 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
other | |
B | |
D | |
gamma | |
Z | |
W | |
HSM | |
H0 | |
A0 | |
Hpm |
Definition at line 44 of file TauValidation.h.
|
explicit |
Definition at line 18 of file TauValidation.cc.
References genparticleCollection_, and genparticleCollectionToken_.
|
override |
Definition at line 29 of file TauValidation.cc.
|
overridevirtual |
Gathering the reco::GenParticleCollection information
Reimplemented from DQMEDAnalyzer.
Definition at line 156 of file TauValidation.cc.
References funct::abs(), TauDecay_GenParticle::AnalyzeTau(), beta, EnergyCorrector::c, DecayLength, MonitorElement::Fill(), genparticleCollectionToken_, GenHFHadronMatcher_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, 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 35 of file TauValidation.cc.
References A0, a1, B, DQMHelper::book1dHisto(), D, DecayLength, TauDecay::DecayMode(), electron, gamma, H0, Hpm, HSM, 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, 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 388 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), mps_fire::i, reco::CompositeRefCandidateT< D >::numberOfDaughters(), reco::LeafCandidate::pdgId(), and sysUtil::pid.
Referenced by tauDecayChannel().
|
override |
Definition at line 31 of file TauValidation.cc.
References fPDGTable, and edm::EventSetup::getData().
|
private |
Definition at line 295 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), mps_fire::i, isLastTauinChain(), reco::CompositeRefCandidateT< D >::numberOfDaughters(), common_cff::pdgId, and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 274 of file TauValidation.cc.
References GetMother(), and reco::LeafCandidate::pdgId().
Referenced by spinEffectsZH(), and tauMother().
|
private |
Definition at line 313 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), GetMother(), mps_fire::i, funct::m, reco::CompositeRefCandidateT< D >::numberOfDaughters(), and reco::LeafCandidate::pdgId().
Referenced by photons().
|
private |
Definition at line 285 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 255 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 264 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 278 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 678 of file TauValidation.cc.
References leadingPionP4().
|
private |
Definition at line 682 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), mps_fire::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 694 of file TauValidation.cc.
References reco::LeafCandidate::energy(), GetMother(), funct::m, reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::pz().
Referenced by spinEffectsWHpm().
|
private |
Definition at line 712 of file TauValidation.cc.
References MonitorElement::Fill(), findFSRandBrem(), FindPhotosFSR(), findTauList(), mps_fire::i, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, and mps_merge::weight.
Referenced by analyze().
|
private |
Definition at line 408 of file TauValidation.cc.
References a1, funct::abs(), 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 mps_merge::weight.
Referenced by analyze().
|
private |
Definition at line 456 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(), MonitorElement::Fill(), findMother(), fPDGTable, TauDecay_GenParticle::Get_TauDecayProducts(), GetMothers(), PdtPdgMini::Higgs0, mps_fire::i, createfilelist::int, leadingPionP4(), funct::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, mps_merge::weight, globals_cff::x1, globals_cff::x2, Z, PdtPdgMini::Z0, zsbins, zsmax, zsmin, and Zstoa().
Referenced by analyze().
|
private |
Definition at line 354 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 334 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 699 of file TauValidation.cc.
References funct::abs(), reco::CompositeRefCandidateT< D >::daughter(), reco::LeafCandidate::energy(), mps_fire::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 669 of file TauValidation.cc.
References a, and mathSSE::sqrt().
Referenced by spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
PDT table.
Definition at line 89 of file TauValidation.h.
Referenced by dqmBeginRun(), and spinEffectsZH().
|
private |
Definition at line 86 of file TauValidation.h.
Referenced by TauValidation().
|
private |
Definition at line 111 of file TauValidation.h.
Referenced by analyze(), and TauValidation().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 105 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 104 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 91 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 91 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and tauDecayChannel().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and tauMother().
|
private |
Definition at line 92 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 92 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 92 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 108 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().