#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 | 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 | spinEffectsWHpm (const HepMC::GenParticle *, int, int, std::vector< HepMC::GenParticle * > &part, double weight) |
void | spinEffectsZH (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 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 35 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
undetermined | |
electron | |
muon | |
pi | |
rho | |
a1 | |
K | |
Kstar | |
pi1pi0 | |
pinpi0 | |
tripi | |
tripinpi0 | |
stable |
Definition at line 39 of file TauValidation.h.
anonymous enum |
Enumerator | |
---|---|
other | |
B | |
D | |
gamma | |
Z | |
W | |
HSM | |
H0 | |
A0 | |
Hpm |
Definition at line 53 of file TauValidation.h.
|
explicit |
Definition at line 19 of file TauValidation.cc.
References hepmcCollection_, and hepmcCollectionToken_.
|
virtual |
Definition at line 31 of file TauValidation.cc.
|
overridevirtual |
Gathering the HepMCProduct information
Implements edm::stream::EDAnalyzerBase.
Definition at line 159 of file TauValidation.cc.
References funct::abs(), TauDecay_CMSSW::AnalyzeTau(), beta, trackerHits::c, DecayLength, MonitorElement::Fill(), TauDecay_CMSSW::Get_TauDecayProducts(), edm::Event::getByToken(), hepmcCollectionToken_, PdtPdgMini::Higgs0, i, isLastTauinChain(), TauDecay::isTauFinalStateParticle(), getDQMSummary::iter, TauDecay::JAK_A1_3PI, TauDecay::JAK_KPIK, TauDecay::JAK_KPIPI, JAKID, JAKInvMass, PdtPdgMini::K_plus, LifeTime, NJAKID, nPrimeTaus, TauDecay::nProng(), nTaus, PdtPdgMini::nu_e, PdtPdgMini::nu_mu, PdtPdgMini::nu_tau, photons(), PdtPdgMini::pi_plus, rtau(), spinEffectsWHpm(), spinEffectsZH(), tauDecayChannel(), TauEta, tauMother(), TauPhi, tauProngs(), TauPt, WeightManager::weight(), histoStyle::weight, wmanager_, and PdtPdgMini::Z0.
|
overridevirtual |
Setting the DQM top directories
Implements DQMEDAnalyzer.
Definition at line 37 of file TauValidation.cc.
References A0, a1, DQMStore::IBooker::book1D(), D, DecayLength, electron, gamma, H0, Hpm, HSM, j, TauDecay::JAK_A1_3PI, TauDecay::JAK_KPIK, TauDecay::JAK_KPIPI, JAKID, JAKInvMass, K, Kstar, LifeTime, muon, NJAKID, nPrimeTaus, nTaus, other, Pi, pi, pi1pi0, pinpi0, rho, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), stable, TauBremPhotonsN, TauBremPhotonsPt, TauBremPhotonsPtSum, TauDecayChannels, TauEta, TauFSRPhotonsN, TauFSRPhotonsPt, TauFSRPhotonsPtSum, TauMothers, TauPhi, TauProngs, TauPt, TauRtauHpm, TauRtauW, 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_Xb, TauSpinEffectsZ_Xf, TauSpinEffectsZ_Zs, tmp, tripi, tripinpi0, undetermined, W, Z, zsbins, zsmax, and zsmin.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 33 of file TauValidation.cc.
References fPDGTable, and edm::EventSetup::getData().
|
private |
Definition at line 329 of file TauValidation.cc.
References funct::abs(), and isLastTauinChain().
Referenced by photons().
|
private |
Definition at line 292 of file TauValidation.cc.
References parents.
Referenced by spinEffectsZH(), and tauMother().
|
private |
Definition at line 353 of file TauValidation.cc.
References funct::abs(), configurableAnalysis::GenParticle, GetMother(), and m.
Referenced by photons().
|
private |
Definition at line 317 of file TauValidation.cc.
References parents, and metsig::tau.
Referenced by photons().
|
private |
Definition at line 267 of file TauValidation.cc.
References parents, and metsig::tau.
Referenced by FindPhotosFSR(), and motherP4().
|
private |
Definition at line 279 of file TauValidation.cc.
References parents.
Referenced by spinEffectsZH().
|
private |
Definition at line 305 of file TauValidation.cc.
Referenced by analyze(), and findFSRandBrem().
|
private |
Definition at line 746 of file TauValidation.cc.
References leadingPionP4().
Referenced by rtau().
|
private |
Definition at line 750 of file TauValidation.cc.
References funct::abs(), p4, and sysUtil::pid.
Referenced by leadingPionMomentum(), spinEffectsWHpm(), and spinEffectsZH().
|
private |
Definition at line 776 of file TauValidation.cc.
References configurableAnalysis::GenParticle, GetMother(), and m.
Referenced by spinEffectsWHpm().
|
private |
Definition at line 807 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 474 of file TauValidation.cc.
References funct::abs(), MonitorElement::Fill(), leadingPionMomentum(), pi1pi0, tauEtCut, TauRtauHpm, TauRtauW, and visibleTauEnergy().
Referenced by analyze().
|
private |
Definition at line 490 of file TauValidation.cc.
References a1, funct::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 539 of file TauValidation.cc.
References funct::abs(), PdtPdgMini::anti_d, PdtPdgMini::anti_u, DeDxDiscriminatorTools::charge(), PdtPdgMini::d, electron, MonitorElement::Fill(), findMother(), fPDGTable, GetMothers(), PdtPdgMini::Higgs0, i, leadingPionP4(), m, muon, n, Pi, pi, pi1pi0, sysUtil::pid, lumiQueryAPI::q, rho, tauDecayChannel(), 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_Xb, TauSpinEffectsZ_Xf, TauSpinEffectsZ_Zs, PdtPdgMini::u, histoStyle::weight, Z, PdtPdgMini::Z0, zsbins, zsmax, zsmin, and Zstoa().
Referenced by analyze().
|
private |
Definition at line 421 of file TauValidation.cc.
References a1, funct::abs(), electron, MonitorElement::Fill(), K, Kstar, muon, pi, pi1pi0, sysUtil::pid, pinpi0, rho, stable, TauDecayChannels, tripi, tripinpi0, and undetermined.
Referenced by analyze(), and spinEffectsZH().
|
private |
Definition at line 376 of file TauValidation.cc.
References A0, funct::abs(), B, D, MonitorElement::Fill(), findMother(), gamma, H0, Hpm, HSM, diffTwoXMLs::label, other, TauMothers, W, and Z.
Referenced by analyze().
|
private |
Definition at line 401 of file TauValidation.cc.
References funct::abs(), DeDxDiscriminatorTools::charge(), MonitorElement::Fill(), fPDGTable, sysUtil::pid, and TauProngs.
Referenced by analyze().
|
private |
Definition at line 781 of file TauValidation.cc.
References funct::abs(), p4, and sysUtil::pid.
Referenced by rtau().
|
private |
Definition at line 737 of file TauValidation.cc.
References a, and mathSSE::sqrt().
Referenced by spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
PDT table.
Definition at line 99 of file TauValidation.h.
Referenced by dqmBeginRun(), spinEffectsZH(), and tauProngs().
|
private |
Definition at line 94 of file TauValidation.h.
Referenced by TauValidation().
|
private |
Definition at line 121 of file TauValidation.h.
Referenced by analyze(), and TauValidation().
|
private |
Definition at line 115 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 116 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 114 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 101 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 101 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and tauDecayChannel().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 96 of file TauValidation.h.
Referenced by rtau().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and photons().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and tauMother().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and tauProngs().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and rtau().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and rtau().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsWHpm().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 102 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 71 of file TauValidation.h.
Referenced by analyze().
|
private |
Definition at line 118 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 119 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().
|
private |
Definition at line 119 of file TauValidation.h.
Referenced by bookHistograms(), and spinEffectsZH().