9#include <analysis/modules/TauDecayMode/TauDecayModeModule.h>
10#include <framework/datastore/StoreArray.h>
11#include <framework/datastore/StoreObjPtr.h>
12#include <framework/logging/Logger.h>
13#include <framework/particledb/EvtGenDatabasePDG.h>
16#include <TParticlePDG.h>
19#include <Math/LorentzRotation.h>
20#include <Math/Boost.h>
24std::map<std::string, int> make_map(
const std::string& file,
int chg)
29 B2INFO(
"Missing input mapping file: use mp_file_minus=basf2.find_file('data/analysis/modules/TauDecayMode/map_tauminus.txt') TauDecayMode.param('file_minus', mp_file_minus) to classify with default mapping.");
31 B2INFO(
"Missing input mapping file: use mp_file_plus=basf2.find_file('data/analysis/modules/TauDecayMode/map_tauplus.txt') TauDecayMode.param('file_plus', mp_file_plus) to classify with default mapping.");
42 std::map <std::string, int> map_tau;
45 istringstream ss(line);
62 m_mprong(0), m_pprong(0), m_megstar(0), m_pegstar(0),
63 tauPair(false), numOfTauMinus(0), numOfTauPlus(0), idOfTauMinus(-1), idOfTauPlus(-1),
64 m_isEtaPizPizPizFromTauMinus(false), m_isEtaPizPizPizFromTauPlus(false),
65 m_isOmegaPimPipFromTauMinus(false), m_isOmegaPimPipFromTauPlus(false)
68 setDescription(
"Module to identify generated tau pair decays, using MCParticle information.\n"
69 "By default, each tau decay is numbered as TauolaBelle2DecayMode [Ref: BELLE2-NOTE-PH-2020-055]");
71 addParam(
"printmode",
m_printmode,
"Printout more information from each event", std::string(
"default"));
72 addParam(
"file_minus",
m_file_minus,
"Path for an alternative mapping for tau- decays", std::string(
""));
73 addParam(
"file_plus",
m_file_plus,
"Path for an alternative mapping for tau+ decays", std::string(
""));
200 map<int, std::vector<int>> map_vec;
243 map_vec[9010221] =
vec_f0;
249 bool TauMinusIsLeptonicDecay =
false;
250 bool TauPlusIsLeptonicDecay =
false;
252 bool elecFirst =
true;
253 bool muonFirst =
true;
255 bool isPiPizGamTauMinusFirst =
true;
256 bool isPiPizGamTauPlusFirst =
true;
258 bool isLFVTauMinus2BodyDecayFirst =
true;
259 bool isLFVTauPlus2BodyDecayFirst =
true;
261 bool isChargedRhoFromTauMinusFirst =
true;
262 bool isChargedRhoFromTauPlusFirst =
true;
264 bool isChargedA1FromTauMinusFirst =
true;
265 bool isChargedA1FromTauPlusFirst =
true;
267 bool isEtaPPGFromTauMinusFirst =
true;
268 bool isEtaPPGFromTauPlusFirst =
true;
270 bool isOmegaPizGamFromTauMinusFirst =
true;
271 bool isOmegaPizGamFromTauPlusFirst =
true;
273 bool isEtaPizPizPizFromTauMinusFirst =
true;
274 bool isEtaPizPizPizFromTauPlusFirst =
true;
279 bool isOmegaPimPipFromTauMinusFirst =
true;
280 bool isOmegaPimPipFromTauPlusFirst =
true;
290 int pdgid = p.getPDG();
292 if (pdgid == -
Const::Klong.getPDGCode()) pdgid = -pdgid;
295 bool accept_photon =
false;
299 if (p.isInitial())
continue;
302 if (abs(pdgid) == 12 || abs(pdgid) == 14) {
303 int leptonicdecay = 0;
305 const vector<MCParticle*> daughters = mother->
getDaughters();
307 int dauid = abs(d->getPDG());
308 if (dauid == 11 || dauid == 12 || dauid == 13 || dauid == 14 || dauid == 16) {
312 if (leptonicdecay == 3) {
313 if (mother->
getPDG() == 15) TauMinusIsLeptonicDecay =
true;
314 if (mother->
getPDG() == -15) TauPlusIsLeptonicDecay =
true;
321 if (not mother)
continue;
322 const vector<MCParticle*> daughters = mother->
getDaughters();
325 stringstream elec_ss;
328 elec_ss << d->getPDG() <<
" ";
332 if (nElMinus == 1 && nElPlus == 1) {
333 B2DEBUG(19,
"Mother of elec pair is = " << mother->
getPDG() <<
" which has daughters : " << elec_ss.str());
337 else if (pdgid ==
Const::muon.getPDGCode() && muonFirst) {
340 if (not mother)
continue;
341 const vector<MCParticle*> daughters = mother->
getDaughters();
344 stringstream muon_ss;
347 muon_ss << d->getPDG() <<
" ";
351 if (nMuMinus == 1 && nMuPlus == 1) {
352 B2DEBUG(19,
"Mother of muon pair is = " << mother->
getPDG() <<
" which has daughters : " << muon_ss.str());
366 if (not mother)
continue;
367 int mothid = abs(mother->
getPDG());
370 bool isRadiationfromFinalStateChargedParticle =
false;
377 isRadiationfromFinalStateChargedParticle =
true;
381 bool isRadiationFromChargedRho =
false;
384 if (chg < 0 && isChargedRhoFromTauMinusFirst) {
385 isChargedRhoFromTauMinusFirst =
false;
386 isRadiationFromChargedRho =
true;
388 if (chg > 0 && isChargedRhoFromTauPlusFirst) {
389 isChargedRhoFromTauPlusFirst =
false;
390 isRadiationFromChargedRho =
true;
395 bool isRadiationFromChargedA1 =
false;
396 if (mothid == 20213) {
398 if (chg < 0 && isChargedA1FromTauMinusFirst) {
399 isChargedA1FromTauMinusFirst =
false;
400 isRadiationFromChargedA1 =
true;
402 if (chg > 0 && isChargedA1FromTauPlusFirst) {
403 isChargedA1FromTauPlusFirst =
false;
404 isRadiationFromChargedA1 =
true;
409 bool isRadiationfromIntermediateWBoson =
false;
410 if (mothid == 24) isRadiationfromIntermediateWBoson =
true;
415 bool isPiPizGam =
false;
416 if (isRadiationfromIntermediateWBoson) {
417 const vector<MCParticle*> daughters = mother->
getDaughters();
421 int nOtherSisters = 0;
434 if (nTotSisters >= 3 && nPiSisters == 1 && nPizSisters == 1 && nOtherSisters == 0) {
436 if (chg < 0 && isPiPizGamTauMinusFirst) {
437 isPiPizGamTauMinusFirst =
false;
440 if (chg > 0 && isPiPizGamTauPlusFirst) {
441 isPiPizGamTauPlusFirst =
false;
448 bool isRadiationfromTau =
false;
449 if (mothid == 15) isRadiationfromTau =
true;
452 if (isRadiationfromTau) {
459 bool isLFVTau2BodyDecay =
false;
460 if (isRadiationfromTau) {
461 bool hasNeutrinoAsSister =
false;
462 int numChargedSister = 0;
463 int numNeutralNonNeutrinoNonPhotonSister = 0;
464 const vector<MCParticle*> daughters = mother->
getDaughters();
468 if (hasNeutrinoAsSister)
break;
470 if (!hasNeutrinoAsSister) {
474 if (isChargedFinalState) {
477 numNeutralNonNeutrinoNonPhotonSister++;
480 if (numChargedSister == 1 && numNeutralNonNeutrinoNonPhotonSister == 0) {
481 if (mother->
getPDG() == 15 && isLFVTauMinus2BodyDecayFirst) {
482 isLFVTauMinus2BodyDecayFirst =
false;
483 isLFVTau2BodyDecay =
true;
485 if (mother->
getPDG() == -15 && isLFVTauPlus2BodyDecayFirst) {
486 isLFVTauPlus2BodyDecayFirst =
false;
487 isLFVTau2BodyDecay =
true;
491 B2DEBUG(19,
"hasNeutrinoAsSister = " << hasNeutrinoAsSister
492 <<
" numChargedSister = " << numChargedSister
493 <<
" numNeutralNonNeutrinoNonPhotonSister = " << numNeutralNonNeutrinoNonPhotonSister
494 <<
" isLFVTau2BodyDecay = " << isLFVTau2BodyDecay);
497 bool isPi0GG =
false;
498 bool isEtaGG =
false;
499 bool isEtpGG =
false;
500 bool isPi0GEE =
false;
501 bool isEtaPPG =
false;
502 bool isOmPizG =
false;
503 if (mothid == 111 || mothid == 221 || mothid == 331 || mothid == 223) {
504 const vector<MCParticle*> daughters = mother->
getDaughters();
505 int numberofTotalDaughters = 0;
506 int numberOfPhotonDaughters = 0;
507 int numberOfElectronDaughters = 0;
508 int numberOfPionDaughters = 0;
509 int numberOfPizDaughters = 0;
512 numberofTotalDaughters ++;
518 if (numberofTotalDaughters == 2 && numberOfPhotonDaughters == 2) {
519 if (mothid ==
Const::pi0.getPDGCode()) isPi0GG =
true;
520 if (mothid == 221) isEtaGG =
true;
521 if (mothid == 331) isEtpGG =
true;
523 if (numberofTotalDaughters >= 3 && numberOfPhotonDaughters >= 1 && numberOfElectronDaughters == 2 && numberOfPionDaughters == 0
524 && numberOfPizDaughters == 0) {
525 if (mothid ==
Const::pi0.getPDGCode()) isPi0GEE =
true;
527 if (numberofTotalDaughters >= 3 && numberOfPhotonDaughters >= 1 && numberOfPizDaughters == 0 && numberOfPionDaughters == 2) {
530 if (chg < 0 && isEtaPPGFromTauMinusFirst) {
531 isEtaPPGFromTauMinusFirst =
false;
534 if (chg > 0 && isEtaPPGFromTauPlusFirst) {
535 isEtaPPGFromTauPlusFirst =
false;
540 if (numberofTotalDaughters >= 2 && numberOfPhotonDaughters >= 1 && numberOfPizDaughters == 1 && numberOfPionDaughters == 0) {
543 if (chg < 0 && isOmegaPizGamFromTauMinusFirst) {
544 isOmegaPizGamFromTauMinusFirst =
false;
547 if (chg > 0 && isOmegaPizGamFromTauPlusFirst) {
548 isOmegaPizGamFromTauPlusFirst =
false;
555 B2DEBUG(19,
"isRadiationfromFinalStateChargedParticle = " << isRadiationfromFinalStateChargedParticle);
556 B2DEBUG(19,
"isRadiationFromChargedRho = " << isRadiationFromChargedRho);
557 B2DEBUG(19,
"isRadiationFromChargedA1 = " << isRadiationFromChargedA1);
558 B2DEBUG(19,
"isRadiationfromIntermediateWBoson = " << isRadiationfromIntermediateWBoson <<
" isPiPizGam = " << isPiPizGam);
559 B2DEBUG(19,
"isRadiationfromTau = " << isRadiationfromTau <<
" isLFVTau2BodyDecay = " << isLFVTau2BodyDecay);
560 B2DEBUG(19,
"isPi0GG = " << isPi0GG <<
" isEtaGG = " << isEtaGG <<
" isEtpGG = " << isEtpGG <<
" isPi0GEE = " << isPi0GEE);
561 B2DEBUG(19,
"isEtaPPG = " << isEtaPPG <<
" isOmPizG = " << isOmPizG);
567 if (isRadiationfromFinalStateChargedParticle) {
568 }
else if (isRadiationFromChargedRho) {
569 accept_photon =
true;
570 }
else if (isRadiationFromChargedA1) {
571 accept_photon =
true;
572 }
else if (isRadiationfromIntermediateWBoson) {
574 accept_photon =
true;
576 }
else if (isRadiationfromTau) {
577 if (isLFVTau2BodyDecay) {
578 accept_photon =
true;
580 }
else if (isPi0GG) {
581 }
else if (isEtaGG) {
582 }
else if (isEtpGG) {
583 }
else if (isPi0GEE) {
584 }
else if (isEtaPPG) {
585 accept_photon =
true;
586 }
else if (isOmPizG) {
587 accept_photon =
true;
595 else if (pdgid ==
Const::pi0.getPDGCode() && (isEtaPizPizPizFromTauMinusFirst || isEtaPizPizPizFromTauPlusFirst)) {
598 if (mother and (mother->
getPDG() == 221)) {
599 const vector<MCParticle*> daughters = mother->
getDaughters();
605 B2DEBUG(19,
"nPizSisters = " << nPizSisters);
606 if (nPizSisters == 3) {
608 if (chg < 0 && isEtaPizPizPizFromTauMinusFirst) {
609 isEtaPizPizPizFromTauMinusFirst =
false;
612 if (chg > 0 && isEtaPizPizPizFromTauPlusFirst) {
613 isEtaPizPizPizFromTauPlusFirst =
false;
633 else if (pdgid == -
Const::pion.getPDGCode() && (isOmegaPimPipFromTauMinusFirst || isOmegaPimPipFromTauPlusFirst)) {
636 if (mother and (mother->
getPDG() == 223)) {
637 const vector<MCParticle*> daughters = mother->
getDaughters();
638 int nOmegaDaughters = 0;
650 "nOmegaDaughters = " << nOmegaDaughters <<
" "
651 "nPimSisters = " << nPimSisters <<
" "
652 "nPipSisters = " << nPipSisters <<
" "
653 "nPizSisters = " << nPizSisters);
654 if (nOmegaDaughters >= 2 && nPimSisters == 1 && nPipSisters == 1 && nPizSisters == 0) {
656 if (chg < 0 && isOmegaPimPipFromTauMinusFirst) {
657 isOmegaPimPipFromTauMinusFirst =
false;
660 if (chg > 0 && isOmegaPimPipFromTauPlusFirst) {
661 isOmegaPimPipFromTauPlusFirst =
false;
668 "isEtaPizPizPizFromTauMinusFirst = " << isEtaPizPizPizFromTauMinusFirst <<
" "
670 "isEtaPizPizPizFromTauPlusFirst = " << isEtaPizPizPizFromTauPlusFirst <<
" "
674 "isOmegaPimPipFromTauMinusFirst = " << isOmegaPimPipFromTauMinusFirst <<
" "
676 "isOmegaPimPipFromTauPlusFirst = " << isOmegaPimPipFromTauPlusFirst <<
" "
681 map<int, std::vector<int>>::iterator ite ;
682 for (ite = map_vec.begin(); ite != map_vec.end(); ++ite) {
683 if (pdgid == ite->first) {
686 B2DEBUG(19,
"Photon accepted");
687 ite-> second.push_back(i);
690 ite-> second.push_back(i);
701 map<int, std::vector<int>>::iterator itr ;
702 for (itr = map_vec.begin(); itr != map_vec.end(); ++itr) {
703 for (
unsigned int i = 0; i < itr-> second.size(); i++) {
704 int ii = itr-> second[i];
716 for (
unsigned iorder = 0; iorder < 46; ++iorder) {
721 int pdg = p->getPDG();
723 if (pdg != ii)
continue;
728 pdgname = databasePDG->GetParticle(pdg)->GetName();
738 for (
unsigned iorder = 0; iorder < 46; ++iorder) {
743 int pdg = p->getPDG();
745 if (pdg != ii)
continue;
750 pdgname = databasePDG->GetParticle(pdg)->GetName();
764 map<std::string, int>::iterator itr ;
765 for (itr = mode_decay.begin(); itr != mode_decay.end(); ++itr) {
766 if (state == itr-> first) {
767 int mode = itr-> second;
794 if (mother ==
nullptr) {
812 }
else if (mother->
getPDG() == 15) {
814 }
else if (mother->
getPDG() == -15) {
831 if (p.getStatus() == 1 && p.getPDG() == 15) {
835 if (p.getStatus() == 1 && p.getPDG() == -15) {
849 const vector<MCParticle*> daughters = p.getDaughters();
850 if (daughters.empty())
return ret;
857 if (isChargedFinalState) ret++;
867 ROOT::Math::PxPyPzEVector p4_tau = p.get4Vector();
868 B2DEBUG(19,
"p4_tau: " << p4_tau <<
" " << p4_tau.P());
869 ROOT::Math::Boost boost_to_mother_rest_frame(p4_tau.BoostToCM());
870 for (
auto i : vec_radgam) {
871 ROOT::Math::PxPyPzEVector p4_gamma =
MCParticles[i]->get4Vector();
872 B2DEBUG(19,
"p4_gamma: " << p4_gamma <<
" " << p4_gamma.P());
873 ROOT::Math::PxPyPzEVector p4_gamma_rest = boost_to_mother_rest_frame * p4_gamma;
874 B2DEBUG(19,
"p4_gamma_rest: " << p4_gamma_rest <<
" " << p4_gamma_rest.P());
875 double energy_rest = p4_gamma_rest.E();
876 if (energy_rest > egstar) egstar = energy_rest;
878 B2DEBUG(19,
"egstar: " << egstar);
int getPDGCode() const
PDG code.
static const ParticleType pi0
neutral pion particle
static const ChargedStable muon
muon particle
static const ChargedStable pion
charged pion particle
static const ParticleType Klong
K^0_L particle.
static const ParticleType photon
photon particle
static const ChargedStable electron
electron particle
Replacement for TDatabasePDG that is filled from EvtGen's evt.pdl.
static EvtGenDatabasePDG * Instance()
Instance method that loads the EvtGen table.
A Class to store the Monte Carlo particle information.
@ c_IsPHOTOSPhoton
bit 8: Particle is an radiative photon from PHOTOS
@ c_PrimaryParticle
bit 0: Particle is primary particle.
std::vector< Belle2::MCParticle * > getDaughters() const
Get vector of all daughter particles, empty vector if none.
int getPDG() const
Return PDG code of particle.
void setDescription(const std::string &description)
Sets the description of the module.
int getEntries() const
Get the number of objects in the array.
std::vector< int > vec_numu
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_em
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_omega
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_k0s
Variable name of the vector where particles identified in the event are stored.
Int_t m_mprong
Prong of the decay channel of tau-.
std::vector< int > vec_b1p
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_f1
Variable name of the vector where particles identified in the event are stored.
int numOfTauPlus
Number of tau+ in the event.
Int_t m_pprong
Prong of the decay channel of tau+.
StoreObjPtr< EventMetaData > m_event_metadata
event number
void IdentifyTauPair()
Identifies if the event is a generated tau pair.
std::vector< int > vec_apro
Variable name of the vector where particles identified in the event are stored.
double getEgstar(const std::vector< int > &vec_radgam, const MCParticle &mc)
Energy of the radiative photon in tau rest frame.
std::vector< int > vec_pi0
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_alpha
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_radgam_taum
Variable name of the vector where particles identified in the event are stored.
StoreArray< MCParticle > MCParticles
StoreArray of MCParticles.
std::vector< int > vec_anue
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_nue
Variable name of the vector where particles identified in the event are stored.
virtual void initialize() override
Initializes the module.
std::vector< int > vec_a0p_980
Variable name of the vector where particles identified in the event are stored.
std::string m_file_plus
Alternative mapping for tau+.
std::vector< int > vec_a0m_1450
Variable name of the vector where particles identified in the event are stored.
virtual void event() override
Method is called for each event.
bool m_isEtaPizPizPizFromTauMinus
Flag for eta->pi0pi0pi0 decays from tau-.
double m_pegstar
Energy of radiative photon from tau+.
std::vector< int > vec_lmb_br
Variable name of the vector where particles identified in the event are stored.
Int_t m_mmode
ID of the decay channel of tau-.
void AnalyzeTauPairEvent()
Analyze a generated tau pair event.
bool m_isOmegaPimPipFromTauMinus
Flag for omega->pi-pi+ decays from tau-.
int getRecursiveMotherCharge(const MCParticle *mc)
Identifies particles coming from tau decays.
std::vector< int > vec_phi
Variable name of the vector where particles identified in the event are stored.
static constexpr int Neutrinos[3]
PDG codes of neutrinos in final state particles in generation: {nu_e, nu_mu, mu_tau}.
int m_taum_no
number of tau- unclassified events
std::string m_tauminusdecaymode
Variable name for the decay mode of the tau-.
std::vector< int > vec_a1p
Variable name of the vector where particles identified in the event are stored.
bool m_isOmegaPimPipFromTauPlus
Flag for omega->pi-pi+ decays from tau+.
bool tauPair
Boolean variable used to identify tau event.
int TauolaBelle2DecayMode(const std::string &s, int chg)
Classifies the decays of the event and assigns a decay mode.
int idOfTauMinus
Index of the generated tau-.
std::vector< int > vec_lambda
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_anut
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_f0
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_mum
Variable name of the vector where particles identified in the event are stored.
Int_t m_pmode
ID of the decay channel of tau+.
static constexpr int OrderedList[46]
PDG codes of ORDERED particles.
int numOfTauMinus
Number of tau- in the event.
std::vector< int > vec_nut
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_kstar0_br
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_radgam_taup
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_a00_1450
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_kstar0
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_a0m_980
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_a00_980
Variable name of the vector where particles identified in the event are stored.
int getProngOfDecay(const MCParticle &mc)
Identifies the number of charged final state particles in the decay.
std::vector< int > vec_a1m
Variable name of the vector where particles identified in the event are stored.
int idOfTauPlus
Index of the generated tau+.
StoreObjPtr< TauPairDecay > m_tauDecay
pointer to tau pair decay objects
std::vector< int > vec_rhop
Variable name of the vector where particles identified in the event are stored.
std::string m_printmode
Parameter passed by the user to indicated the informationt to be printed.
std::vector< int > vec_pro
Variable name of the vector where particles identified in the event are stored.
bool m_isEtaPizPizPizFromTauPlus
Flag for eta->pi0pi0pi0 decays from tau+.
std::string m_tauplusdecaymode
Variable name for the decay mode of the tau+.
std::vector< int > vec_pim
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_mup
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_pip
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_kstarp
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_kstarm
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_etapr
Variable name of the vector where particles identified in the event are stored.
double m_megstar
Energy of radiative photon from tau-.
std::vector< int > vec_ep
Variable name of the vector where particles identified in the event are stored.
TauDecayModeModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::vector< int > vec_k0l
Variable name of the vector where particles identified in the event are stored.
static constexpr int finalStatePDGs[5]
PDG codes accepted as charged final state particles in generation: {e, mu, pi, K, p}.
std::vector< int > vec_eta
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_km
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_anumu
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_dau_tauplus
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_rhom
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_gam
Variable name of the vector where particles identified in the event are stored.
std::string m_file_minus
Alternative mapping for tau-.
int m_taup_no
number of tau+ unclassified events
std::vector< int > vec_dau_tauminus
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_kp
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_b1m
Variable name of the vector where particles identified in the event are stored.
std::vector< int > vec_rho0
Variable name of the vector where particles identified in the event are stored.
std::map< std::string, int > mode_decay_minus
Mapping for tau- decays.
std::map< std::string, int > mode_decay_plus
Mapping for tau+ decays.
std::vector< int > vec_a0p_1450
Variable name of the vector where particles identified in the event are stored.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.