 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
14 #include <mdst/dataobjects/MCParticle.h>
31 class TauDecayMarkerModule :
public Module {
44 virtual void event()
override;
int numOfTauPlus
Number of positive tau leptons in the event.
int getNumDaughterOfTau(int s=0, int id=0, int sign=0)
Count the number of daughers of the generated tau.
int idOfTauMinus
Index of the generated negative tau.
int getDecayChannelOfTau(int s=0)
Gets the id of the decay channel.
bool tauPair
True if the generated event is a tau pair event.
const int finalStatePDGs[5]
PDG codes accepted as charged final state particles in generation: {e, mu, pi, K, p}.
int getProngOfDecay(const MCParticle &mc)
Get the prong of the generated tau decay.
int idOfTauPlus
Index of the generated positive tau.
Int_t m_pprong
Prong of the decay channel of positive tau.
bool m_printDecayInfo
If true, prints ID and prong of each tau lepton in the event.
Abstract base class for different kinds of events.
virtual void initialize() override
Initializes the module.
int numOfTauMinus
Number of negative tau leptons in the event.
virtual void event() override
Method is called for each event.
void IdentifyTauPair()
Identifies if the event is a generated tau pair.
int getNumDaughterOfTauExceptGamma(int s=0, int id=0, int sign=0)
Count the number of daughers of the generated tau except gammas.
Int_t m_pmode
ID of the decay channel of positive tau.
A Class to store the Monte Carlo particle information.
Int_t m_mprong
Prong of the decay channel of negative tau.
Int_t m_mmode
ID of the decay channel of negative tau.
TauDecayMarkerModule()
Constructor: Sets the description, the properties and the parameters of the module.