Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
TauDecayMarkerModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2018 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Kiyoshi Hayasaka, Michel Villanueva *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <framework/core/Module.h>
14
#include <mdst/dataobjects/MCParticle.h>
15
16
namespace
Belle2
{
31
class
TauDecayMarkerModule :
public
Module {
32
33
public
:
34
38
TauDecayMarkerModule
();
39
41
virtual
void
initialize
()
override
;
42
44
virtual
void
event
()
override
;
45
46
private
:
47
49
bool
tauPair
;
51
int
numOfTauPlus
;
53
int
numOfTauMinus
;
55
int
idOfTauPlus
;
57
int
idOfTauMinus
;
59
const
int
finalStatePDGs
[5] = { 11, 13, 211, 321, 2212 };
61
Int_t
m_pmode
;
63
Int_t
m_mmode
;
65
Int_t
m_pprong
;
67
Int_t
m_mprong
;
68
70
void
IdentifyTauPair
();
72
int
getDecayChannelOfTau
(
int
s = 0);
74
int
getNumDaughterOfTauExceptGamma
(
int
s = 0,
int
id
= 0,
int
sign = 0);
76
int
getNumDaughterOfTau
(
int
s = 0,
int
id
= 0,
int
sign = 0);
78
int
getProngOfDecay
(
const
MCParticle
& mc);
79
80
protected
:
82
bool
m_printDecayInfo
;
83
84
};
85
87
}
Belle2::TauDecayMarkerModule::numOfTauPlus
int numOfTauPlus
Number of positive tau leptons in the event.
Definition:
TauDecayMarkerModule.h:59
Belle2::TauDecayMarkerModule::getNumDaughterOfTau
int getNumDaughterOfTau(int s=0, int id=0, int sign=0)
Count the number of daughers of the generated tau.
Definition:
TauDecayMarkerModule.cc:109
Belle2::TauDecayMarkerModule::idOfTauMinus
int idOfTauMinus
Index of the generated negative tau.
Definition:
TauDecayMarkerModule.h:65
Belle2::TauDecayMarkerModule::getDecayChannelOfTau
int getDecayChannelOfTau(int s=0)
Gets the id of the decay channel.
Definition:
TauDecayMarkerModule.cc:179
Belle2::TauDecayMarkerModule::tauPair
bool tauPair
True if the generated event is a tau pair event.
Definition:
TauDecayMarkerModule.h:57
Belle2::TauDecayMarkerModule::finalStatePDGs
const int finalStatePDGs[5]
PDG codes accepted as charged final state particles in generation: {e, mu, pi, K, p}.
Definition:
TauDecayMarkerModule.h:67
Belle2::TauDecayMarkerModule::getProngOfDecay
int getProngOfDecay(const MCParticle &mc)
Get the prong of the generated tau decay.
Definition:
TauDecayMarkerModule.cc:574
Belle2::TauDecayMarkerModule::idOfTauPlus
int idOfTauPlus
Index of the generated positive tau.
Definition:
TauDecayMarkerModule.h:63
Belle2::TauDecayMarkerModule::m_pprong
Int_t m_pprong
Prong of the decay channel of positive tau.
Definition:
TauDecayMarkerModule.h:73
Belle2::TauDecayMarkerModule::m_printDecayInfo
bool m_printDecayInfo
If true, prints ID and prong of each tau lepton in the event.
Definition:
TauDecayMarkerModule.h:90
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TauDecayMarkerModule::initialize
virtual void initialize() override
Initializes the module.
Definition:
TauDecayMarkerModule.cc:45
Belle2::TauDecayMarkerModule::numOfTauMinus
int numOfTauMinus
Number of negative tau leptons in the event.
Definition:
TauDecayMarkerModule.h:61
Belle2::TauDecayMarkerModule::event
virtual void event() override
Method is called for each event.
Definition:
TauDecayMarkerModule.cc:52
Belle2::TauDecayMarkerModule::IdentifyTauPair
void IdentifyTauPair()
Identifies if the event is a generated tau pair.
Definition:
TauDecayMarkerModule.cc:85
Belle2::TauDecayMarkerModule::getNumDaughterOfTauExceptGamma
int getNumDaughterOfTauExceptGamma(int s=0, int id=0, int sign=0)
Count the number of daughers of the generated tau except gammas.
Definition:
TauDecayMarkerModule.cc:143
Belle2::TauDecayMarkerModule::m_pmode
Int_t m_pmode
ID of the decay channel of positive tau.
Definition:
TauDecayMarkerModule.h:69
Belle2::MCParticle
A Class to store the Monte Carlo particle information.
Definition:
MCParticle.h:43
Belle2::TauDecayMarkerModule::m_mprong
Int_t m_mprong
Prong of the decay channel of negative tau.
Definition:
TauDecayMarkerModule.h:75
Belle2::TauDecayMarkerModule::m_mmode
Int_t m_mmode
ID of the decay channel of negative tau.
Definition:
TauDecayMarkerModule.h:71
Belle2::TauDecayMarkerModule::TauDecayMarkerModule
TauDecayMarkerModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition:
TauDecayMarkerModule.cc:33
analysis
modules
TauDecayMarker
include
TauDecayMarkerModule.h
Generated on Tue Jan 4 2022 02:50:11 for Belle II Software by
1.8.17