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>
17#include <TParticlePDG.h>
21#include <Math/LorentzRotation.h>
22#include <Math/Boost.h>
26std::map<std::string, int> make_map(
const std::string& file,
int chg)
31 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.");
33 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.");
44 std::map <std::string, int> map_tau;
47 istringstream ss(line);
64 m_mprong(0), m_pprong(0), m_megstar(0), m_pegstar(0),
65 tauPair(false), numOfTauMinus(0), numOfTauPlus(0), idOfTauMinus(-1), idOfTauPlus(-1),
66 m_isEtaPizPizPizFromTauMinus(false), m_isEtaPizPizPizFromTauPlus(false),
67 m_isOmegaPimPipFromTauMinus(false), m_isOmegaPimPipFromTauPlus(false)
70 setDescription(
"Module to identify generated tau pair decays, using MCParticle information."
71 "By default, each tau decay is numbered as TauolaBelle2DecayMode [Ref: BELLE2-NOTE-PH-2020-055]");
73 addParam(
"printmode",
m_printmode,
"Printout more information from each event", std::string(
"default"));
74 addParam(
"file_minus",
m_file_minus,
"Path for an alternative mapping for tau- decays", std::string(
""));
75 addParam(
"file_plus",
m_file_plus,
"Path for an alternative mapping for tau+ decays", std::string(
""));
202 map<int, std::vector<int>> map_vec;
245 map_vec[9010221] =
vec_f0;
251 bool TauMinusIsLeptonicDecay =
false;
252 bool TauPlusIsLeptonicDecay =
false;
254 bool elecFirst =
true;
255 bool muonFirst =
true;
257 bool isPiPizGamTauMinusFirst =
true;
258 bool isPiPizGamTauPlusFirst =
true;
260 bool isLFVTauMinus2BodyDecayFirst =
true;
261 bool isLFVTauPlus2BodyDecayFirst =
true;
263 bool isChargedRhoFromTauMinusFirst =
true;
264 bool isChargedRhoFromTauPlusFirst =
true;
266 bool isChargedA1FromTauMinusFirst =
true;
267 bool isChargedA1FromTauPlusFirst =
true;
269 bool isEtaPPGFromTauMinusFirst =
true;
270 bool isEtaPPGFromTauPlusFirst =
true;
272 bool isOmegaPizGamFromTauMinusFirst =
true;
273 bool isOmegaPizGamFromTauPlusFirst =
true;
275 bool isEtaPizPizPizFromTauMinusFirst =
true;
276 bool isEtaPizPizPizFromTauPlusFirst =
true;
281 bool isOmegaPimPipFromTauMinusFirst =
true;
282 bool isOmegaPimPipFromTauPlusFirst =
true;
292 int pdgid = p.getPDG();
294 if (pdgid == -
Const::Klong.getPDGCode()) pdgid = -pdgid;
297 bool accept_photon =
false;
301 if (p.isInitial())
continue;
304 if (abs(pdgid) == 12 || abs(pdgid) == 14) {
305 int leptonicdecay = 0;
307 const vector<MCParticle*> daughters = mother->
getDaughters();
309 int dauid = abs(d->getPDG());
310 if (dauid == 11 || dauid == 12 || dauid == 13 || dauid == 14 || dauid == 16) {
314 if (leptonicdecay == 3) {
315 if (mother->
getPDG() == 15) TauMinusIsLeptonicDecay =
true;
316 if (mother->
getPDG() == -15) TauPlusIsLeptonicDecay =
true;
323 if (not mother)
continue;
324 const vector<MCParticle*> daughters = mother->
getDaughters();
327 stringstream elec_ss;
330 elec_ss << d->getPDG() <<
" ";
334 if (nElMinus == 1 && nElPlus == 1) {
335 B2DEBUG(19,
"Mother of elec pair is = " << mother->
getPDG() <<
" which has daughters : " << elec_ss.str());
339 else if (pdgid ==
Const::muon.getPDGCode() && muonFirst) {
342 if (not mother)
continue;
343 const vector<MCParticle*> daughters = mother->
getDaughters();
346 stringstream muon_ss;
349 muon_ss << d->getPDG() <<
" ";
353 if (nMuMinus == 1 && nMuPlus == 1) {
354 B2DEBUG(19,
"Mother of muon pair is = " << mother->
getPDG() <<
" which has daughters : " << muon_ss.str());
368 if (not mother)
continue;
369 int mothid = abs(mother->
getPDG());
372 bool isRadiationfromFinalStateChargedParticle =
false;
379 isRadiationfromFinalStateChargedParticle =
true;
383 bool isRadiationFromChargedRho =
false;
386 if (chg < 0 && isChargedRhoFromTauMinusFirst) {
387 isChargedRhoFromTauMinusFirst =
false;
388 isRadiationFromChargedRho =
true;
390 if (chg > 0 && isChargedRhoFromTauPlusFirst) {
391 isChargedRhoFromTauPlusFirst =
false;
392 isRadiationFromChargedRho =
true;
397 bool isRadiationFromChargedA1 =
false;
398 if (mothid == 20213) {
400 if (chg < 0 && isChargedA1FromTauMinusFirst) {
401 isChargedA1FromTauMinusFirst =
false;
402 isRadiationFromChargedA1 =
true;
404 if (chg > 0 && isChargedA1FromTauPlusFirst) {
405 isChargedA1FromTauPlusFirst =
false;
406 isRadiationFromChargedA1 =
true;
411 bool isRadiationfromIntermediateWBoson =
false;
412 if (mothid == 24) isRadiationfromIntermediateWBoson =
true;
417 bool isPiPizGam =
false;
418 if (isRadiationfromIntermediateWBoson) {
419 const vector<MCParticle*> daughters = mother->
getDaughters();
423 int nOtherSisters = 0;
436 if (nTotSisters >= 3 && nPiSisters == 1 && nPizSisters == 1 && nOtherSisters == 0) {
438 if (chg < 0 && isPiPizGamTauMinusFirst) {
439 isPiPizGamTauMinusFirst =
false;
442 if (chg > 0 && isPiPizGamTauPlusFirst) {
443 isPiPizGamTauPlusFirst =
false;
450 bool isRadiationfromTau =
false;
451 if (mothid == 15) isRadiationfromTau =
true;
454 if (isRadiationfromTau) {
461 bool isLFVTau2BodyDecay =
false;
462 if (isRadiationfromTau) {
463 bool hasNeutrinoAsSister =
false;
464 int numChargedSister = 0;
465 int numNeutralNonNeutrinoNonPhotonSister = 0;
466 const vector<MCParticle*> daughters = mother->
getDaughters();
470 if (hasNeutrinoAsSister)
break;
472 if (!hasNeutrinoAsSister) {
476 if (isChargedFinalState) {
479 numNeutralNonNeutrinoNonPhotonSister++;
482 if (numChargedSister == 1 && numNeutralNonNeutrinoNonPhotonSister == 0) {
483 if (mother->
getPDG() == 15 && isLFVTauMinus2BodyDecayFirst) {
484 isLFVTauMinus2BodyDecayFirst =
false;
485 isLFVTau2BodyDecay =
true;
487 if (mother->
getPDG() == -15 && isLFVTauPlus2BodyDecayFirst) {
488 isLFVTauPlus2BodyDecayFirst =
false;
489 isLFVTau2BodyDecay =
true;
493 B2DEBUG(19,
"hasNeutrinoAsSister = " << hasNeutrinoAsSister
494 <<
" numChargedSister = " << numChargedSister
495 <<
" numNeutralNonNeutrinoNonPhotonSister = " << numNeutralNonNeutrinoNonPhotonSister
496 <<
" isLFVTau2BodyDecay = " << isLFVTau2BodyDecay);
499 bool isPi0GG =
false;
500 bool isEtaGG =
false;
501 bool isEtpGG =
false;
502 bool isPi0GEE =
false;
503 bool isEtaPPG =
false;
504 bool isOmPizG =
false;
505 if (mothid == 111 || mothid == 221 || mothid == 331 || mothid == 223) {
506 const vector<MCParticle*> daughters = mother->
getDaughters();
507 int numberofTotalDaughters = 0;
508 int numberOfPhotonDaughters = 0;
509 int numberOfElectronDaughters = 0;
510 int numberOfPionDaughters = 0;
511 int numberOfPizDaughters = 0;
514 numberofTotalDaughters ++;
520 if (numberofTotalDaughters == 2 && numberOfPhotonDaughters == 2) {
521 if (mothid ==
Const::pi0.getPDGCode()) isPi0GG =
true;
522 if (mothid == 221) isEtaGG =
true;
523 if (mothid == 331) isEtpGG =
true;
525 if (numberofTotalDaughters >= 3 && numberOfPhotonDaughters >= 1 && numberOfElectronDaughters == 2 && numberOfPionDaughters == 0
526 && numberOfPizDaughters == 0) {
527 if (mothid ==
Const::pi0.getPDGCode()) isPi0GEE =
true;
529 if (numberofTotalDaughters >= 3 && numberOfPhotonDaughters >= 1 && numberOfPizDaughters == 0 && numberOfPionDaughters == 2) {
532 if (chg < 0 && isEtaPPGFromTauMinusFirst) {
533 isEtaPPGFromTauMinusFirst =
false;
536 if (chg > 0 && isEtaPPGFromTauPlusFirst) {
537 isEtaPPGFromTauPlusFirst =
false;
542 if (numberofTotalDaughters >= 2 && numberOfPhotonDaughters >= 1 && numberOfPizDaughters == 1 && numberOfPionDaughters == 0) {
545 if (chg < 0 && isOmegaPizGamFromTauMinusFirst) {
546 isOmegaPizGamFromTauMinusFirst =
false;
549 if (chg > 0 && isOmegaPizGamFromTauPlusFirst) {
550 isOmegaPizGamFromTauPlusFirst =
false;
557 B2DEBUG(19,
"isRadiationfromFinalStateChargedParticle = " << isRadiationfromFinalStateChargedParticle);
558 B2DEBUG(19,
"isRadiationFromChargedRho = " << isRadiationFromChargedRho);
559 B2DEBUG(19,
"isRadiationFromChargedA1 = " << isRadiationFromChargedA1);
560 B2DEBUG(19,
"isRadiationfromIntermediateWBoson = " << isRadiationfromIntermediateWBoson <<
" isPiPizGam = " << isPiPizGam);
561 B2DEBUG(19,
"isRadiationfromTau = " << isRadiationfromTau <<
" isLFVTau2BodyDecay = " << isLFVTau2BodyDecay);
562 B2DEBUG(19,
"isPi0GG = " << isPi0GG <<
" isEtaGG = " << isEtaGG <<
" isEtpGG = " << isEtpGG <<
" isPi0GEE = " << isPi0GEE);
563 B2DEBUG(19,
"isEtaPPG = " << isEtaPPG <<
" isOmPizG = " << isOmPizG);
569 if (isRadiationfromFinalStateChargedParticle) {
570 }
else if (isRadiationFromChargedRho) {
571 accept_photon =
true;
572 }
else if (isRadiationFromChargedA1) {
573 accept_photon =
true;
574 }
else if (isRadiationfromIntermediateWBoson) {
576 accept_photon =
true;
578 }
else if (isRadiationfromTau) {
579 if (isLFVTau2BodyDecay) {
580 accept_photon =
true;
582 }
else if (isPi0GG) {
583 }
else if (isEtaGG) {
584 }
else if (isEtpGG) {
585 }
else if (isPi0GEE) {
586 }
else if (isEtaPPG) {
587 accept_photon =
true;
588 }
else if (isOmPizG) {
589 accept_photon =
true;
597 else if (pdgid ==
Const::pi0.getPDGCode() && (isEtaPizPizPizFromTauMinusFirst || isEtaPizPizPizFromTauPlusFirst)) {
600 if (mother and (mother->
getPDG() == 221)) {
601 const vector<MCParticle*> daughters = mother->
getDaughters();
607 B2DEBUG(19,
"nPizSisters = " << nPizSisters);
608 if (nPizSisters == 3) {
610 if (chg < 0 && isEtaPizPizPizFromTauMinusFirst) {
611 isEtaPizPizPizFromTauMinusFirst =
false;
614 if (chg > 0 && isEtaPizPizPizFromTauPlusFirst) {
615 isEtaPizPizPizFromTauPlusFirst =
false;
635 else if (pdgid == -
Const::pion.getPDGCode() && (isOmegaPimPipFromTauMinusFirst || isOmegaPimPipFromTauPlusFirst)) {
638 if (mother and (mother->
getPDG() == 223)) {
639 const vector<MCParticle*> daughters = mother->
getDaughters();
640 int nOmegaDaughters = 0;
652 "nOmegaDaughters = " << nOmegaDaughters <<
" "
653 "nPimSisters = " << nPimSisters <<
" "
654 "nPipSisters = " << nPipSisters <<
" "
655 "nPizSisters = " << nPizSisters);
656 if (nOmegaDaughters >= 2 && nPimSisters == 1 && nPipSisters == 1 && nPizSisters == 0) {
658 if (chg < 0 && isOmegaPimPipFromTauMinusFirst) {
659 isOmegaPimPipFromTauMinusFirst =
false;
662 if (chg > 0 && isOmegaPimPipFromTauPlusFirst) {
663 isOmegaPimPipFromTauPlusFirst =
false;
670 "isEtaPizPizPizFromTauMinusFirst = " << isEtaPizPizPizFromTauMinusFirst <<
" "
672 "isEtaPizPizPizFromTauPlusFirst = " << isEtaPizPizPizFromTauPlusFirst <<
" "
676 "isOmegaPimPipFromTauMinusFirst = " << isOmegaPimPipFromTauMinusFirst <<
" "
678 "isOmegaPimPipFromTauPlusFirst = " << isOmegaPimPipFromTauPlusFirst <<
" "
683 map<int, std::vector<int>>::iterator ite ;
684 for (ite = map_vec.begin(); ite != map_vec.end(); ++ite) {
685 if (pdgid == ite->first) {
688 B2DEBUG(19,
"Photon accepted");
689 ite-> second.push_back(i);
692 ite-> second.push_back(i);
703 map<int, std::vector<int>>::iterator itr ;
704 for (itr = map_vec.begin(); itr != map_vec.end(); ++itr) {
705 for (
unsigned int i = 0; i < itr-> second.size(); i++) {
706 int ii = itr-> second[i];
718 for (
unsigned iorder = 0; iorder < 46; ++iorder) {
723 int pdg = p->getPDG();
725 if (pdg != ii)
continue;
730 pdgname = databasePDG->GetParticle(pdg)->GetName();
740 for (
unsigned iorder = 0; iorder < 46; ++iorder) {
745 int pdg = p->getPDG();
747 if (pdg != ii)
continue;
752 pdgname = databasePDG->GetParticle(pdg)->GetName();
766 map<std::string, int>::iterator itr ;
767 for (itr = mode_decay.begin(); itr != mode_decay.end(); ++itr) {
768 if (state == itr-> first) {
769 int mode = itr-> second;
796 if (mother ==
nullptr) {
814 }
else if (mother->
getPDG() == 15) {
816 }
else if (mother->
getPDG() == -15) {
833 if (p.getStatus() == 1 && p.getPDG() == 15) {
837 if (p.getStatus() == 1 && p.getPDG() == -15) {
851 const vector<MCParticle*> daughters = p.getDaughters();
852 if (daughters.empty())
return ret;
859 if (isChargedFinalState) ret++;
869 ROOT::Math::PxPyPzEVector p4_tau = p.get4Vector();
870 B2DEBUG(19,
"p4_tau: " << p4_tau <<
" " << p4_tau.P());
871 ROOT::Math::Boost boost_to_mother_rest_frame(p4_tau.BoostToCM());
872 for (
auto i : vec_radgam) {
873 ROOT::Math::PxPyPzEVector p4_gamma =
MCParticles[i]->get4Vector();
874 B2DEBUG(19,
"p4_gamma: " << p4_gamma <<
" " << p4_gamma.P());
875 ROOT::Math::PxPyPzEVector p4_gamma_rest = boost_to_mother_rest_frame * p4_gamma;
876 B2DEBUG(19,
"p4_gamma_rest: " << p4_gamma_rest <<
" " << p4_gamma_rest.P());
877 double energy_rest = p4_gamma_rest.E();
878 if (energy_rest > egstar) egstar = energy_rest;
880 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.