#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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob () |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
TauValidation (const edm::ParameterSet &) | |
virtual | ~TauValidation () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | findFSRandBrem (const HepMC::GenParticle *p, bool doBrem, std::vector< const HepMC::GenParticle * > &ListofFSR, std::vector< const HepMC::GenParticle * > &ListofBrem) |
int | findMother (const HepMC::GenParticle *) |
void | FindPhotosFSR (const HepMC::GenParticle *p, std::vector< const HepMC::GenParticle * > &ListofFSR, double &BosonScale) |
void | findTauList (const HepMC::GenParticle *tau, std::vector< const HepMC::GenParticle * > &TauList) |
const HepMC::GenParticle * | GetMother (const HepMC::GenParticle *tau) |
const std::vector < HepMC::GenParticle * > | GetMothers (const HepMC::GenParticle *boson) |
bool | isLastTauinChain (const HepMC::GenParticle *tau) |
double | leadingPionMomentum (const HepMC::GenParticle *, double weight) |
TLorentzVector | leadingPionP4 (const HepMC::GenParticle *) |
TLorentzVector | motherP4 (const HepMC::GenParticle *) |
void | photons (const HepMC::GenParticle *, double weight) |
void | rtau (const HepMC::GenParticle *, int, int, double weight) |
void | spinEffects (const HepMC::GenParticle *, int, int, std::vector< HepMC::GenParticle * > &part, double weight) |
void | spinEffectsZ (const HepMC::GenParticle *boson, double weight) |
int | tauDecayChannel (const HepMC::GenParticle *, double weight=0.0) |
int | tauMother (const HepMC::GenParticle *, double weight) |
int | tauProngs (const HepMC::GenParticle *, double weight) |
double | visibleTauEnergy (const HepMC::GenParticle *) |
double | Zstoa (double zs) |
Additional Inherited Members | |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 36 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
undetermined | |
electron | |
muon | |
pi | |
rho | |
a1 | |
K | |
Kstar | |
pi1pi0 | |
pinpi0 | |
tripi | |
tripinpi0 | |
stable |
Definition at line 40 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
other | |
B | |
D | |
gamma | |
Z | |
W | |
HSM | |
H0 | |
A0 | |
Hpm |
Definition at line 54 of file TauValidation.h.
|
explicit |
Definition at line 20 of file TauValidation.cc.
References dbe, and cppFunctionSkipper::operator.
|
virtual |
Definition at line 33 of file TauValidation.cc.
|
virtual |
Gathering the HepMCProduct information
Implements edm::EDAnalyzer.
Definition at line 158 of file TauValidation.cc.
References _wmanager, abs, TauDecay_CMSSW::AnalyzeTau(), MonitorElement::Fill(), TauDecay_CMSSW::Get_TauDecayProducts(), edm::Event::getByLabel(), hepmcCollection_, i, isLastTauinChain(), TauDecay::isTauFinalStateParticle(), TauDecay::JAK_A1_3PI, TauDecay::JAK_KPIK, TauDecay::JAK_KPIPI, JAKID, JAKInvMass, PdtPdgMini::K_plus, NJAKID, nPrimeTaus, TauDecay::nProng(), nTaus, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, photons(), PdtPdgMini::pi_plus, rtau(), spinEffects(), spinEffectsZ(), tauDecayChannel(), TauEta, tauMother(), TauPhi, tauProngs(), TauPt, WeightManager::weight(), and histoStyle::weight.
|
virtual |
Setting the DQM top directories
Reimplemented from edm::EDAnalyzer.
Definition at line 35 of file TauValidation.cc.
References A0, a1, DQMStore::book1D(), D, dbe, electron, gamma, H0, Hpm, HSM, i, TauDecay::JAK_A1_3PI, TauDecay::JAK_KPIK, TauDecay::JAK_KPIPI, JAKID, JAKInvMass, K, Kstar, muon, NJAKID, nPrimeTaus, nTaus, other, pi, pi1pi0, pinpi0, rho, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), stable, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauDecayChannels, TauEta, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, TauMothers, TauPhi, TauProngs, TauPt, TauRtauHpm, TauRtauW, TauSpinEffectsH_eX, TauSpinEffectsH_muX, TauSpinEffectsH_MVis, 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_Xb, TauSpinEffectsZ_Xf, TauSpinEffectsZ_Zs, tmp, tripi, tripinpi0, undetermined, W, Z, zsbins, zsmax, and zsmin.
|
virtual |
Get PDT Table
Reimplemented from edm::EDAnalyzer.
Definition at line 151 of file TauValidation.cc.
References fPDGTable, and edm::EventSetup::getData().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 147 of file TauValidation.cc.
|
virtual |
|
private |
Definition at line 325 of file TauValidation.cc.
References abs, and isLastTauinChain().
Referenced by photons().
|
private |
Definition at line 288 of file TauValidation.cc.
References parents.
Referenced by spinEffectsZ(), and tauMother().
|
private |
Definition at line 349 of file TauValidation.cc.
References abs, configurableAnalysis::GenParticle, GetMother(), and m.
Referenced by photons().
|
private |
Definition at line 313 of file TauValidation.cc.
References parents, and metsig::tau.
Referenced by photons().
|
private |
Definition at line 263 of file TauValidation.cc.
References parents, and metsig::tau.
Referenced by FindPhotosFSR(), and motherP4().
|
private |
Definition at line 275 of file TauValidation.cc.
References parents.
Referenced by spinEffectsZ().
|
private |
Definition at line 301 of file TauValidation.cc.
Referenced by analyze(), and findFSRandBrem().
|
private |
Definition at line 618 of file TauValidation.cc.
References leadingPionP4().
Referenced by rtau().
|
private |
Definition at line 622 of file TauValidation.cc.
References abs, p4, and evf::utils::pid.
Referenced by leadingPionMomentum(), spinEffects(), and spinEffectsZ().
|
private |
Definition at line 648 of file TauValidation.cc.
References configurableAnalysis::GenParticle, GetMother(), and m.
Referenced by spinEffects().
|
private |
Definition at line 679 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 470 of file TauValidation.cc.
References abs, MonitorElement::Fill(), leadingPionMomentum(), pi1pi0, tauEtCut, TauRtauHpm, TauRtauW, and visibleTauEnergy().
Referenced by analyze().
|
private |
Definition at line 486 of file TauValidation.cc.
References a1, abs, relval_parameters_module::energy, MonitorElement::Fill(), gamma, i, TauDecay::JAK_A1_3PI, TauDecay::JAK_ELECTRON, TauDecay::JAK_MUON, TauDecay::JAK_PION, TauDecay::JAK_RHO_PIPI0, leadingPionP4(), 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 535 of file TauValidation.cc.
References abs, PdtPdgMini::anti_d, PdtPdgMini::anti_u, DeDxDiscriminatorTools::charge(), PdtPdgMini::d, electron, MonitorElement::Fill(), findMother(), fPDGTable, GetMothers(), PdtPdgMini::Higgs0, i, leadingPionP4(), m, muon, pi, evf::utils::pid, lumiQueryAPI::q, tauDecayChannel(), TauSpinEffectsH_eX, TauSpinEffectsH_muX, TauSpinEffectsH_MVis, TauSpinEffectsH_Xb, TauSpinEffectsH_Xf, TauSpinEffectsH_Zs, TauSpinEffectsZ_eX, TauSpinEffectsZ_muX, TauSpinEffectsZ_MVis, 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 417 of file TauValidation.cc.
References a1, abs, electron, MonitorElement::Fill(), K, Kstar, muon, pi, pi1pi0, evf::utils::pid, pinpi0, rho, stable, TauDecayChannels, tripi, tripinpi0, and undetermined.
Referenced by analyze(), and spinEffectsZ().
|
private |
Definition at line 372 of file TauValidation.cc.
References A0, abs, B, D, MonitorElement::Fill(), findMother(), gamma, H0, Hpm, HSM, diffTwoXMLs::label, other, TauMothers, W, and Z.
Referenced by analyze().
|
private |
Definition at line 397 of file TauValidation.cc.
References abs, DeDxDiscriminatorTools::charge(), MonitorElement::Fill(), fPDGTable, evf::utils::pid, and TauProngs.
Referenced by analyze().
|
private |
Definition at line 653 of file TauValidation.cc.
References abs, p4, and evf::utils::pid.
Referenced by rtau().
|
private |
Definition at line 609 of file TauValidation.cc.
References a, and mathSSE::sqrt().
Referenced by spinEffectsZ().
|
private |
Definition at line 96 of file TauValidation.h.
Referenced by analyze().
|
private |
ME's "container".
Definition at line 106 of file TauValidation.h.
Referenced by beginJob(), and TauValidation().
|
private |
PDT table.
Definition at line 103 of file TauValidation.h.
Referenced by beginRun(), spinEffectsZ(), and tauProngs().
|
private |
Definition at line 98 of file TauValidation.h.
Referenced by analyze().
|
private |
Definition at line 119 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 118 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 108 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 108 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and photons().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and photons().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and photons().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and tauDecayChannel().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 100 of file TauValidation.h.
Referenced by rtau().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and photons().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and photons().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and photons().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and tauMother().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and tauProngs().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and rtau().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and rtau().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffects().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 109 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 122 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 123 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().
|
private |
Definition at line 123 of file TauValidation.h.
Referenced by beginJob(), and spinEffectsZ().