Belle II Software
development
Toggle main menu visibility
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
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
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
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
Typedefs
Macros
PhotonEfficiencySystematics.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
10
#pragma once
11
12
#include <framework/core/Module.h>
13
14
#include <analysis/dbobjects/ParticleWeightingLookUpTable.h>
15
#include <framework/database/DBObjPtr.h>
16
#include <analysis/dataobjects/Particle.h>
17
#include <string>
18
19
namespace
Belle2
{
28
class
PhotonEfficiencySystematicsModule
:
public
Module
{
29
30
public
:
34
PhotonEfficiencySystematicsModule
();
40
WeightInfo
getInfo
(
const
Particle
* particle);
41
43
virtual
void
beginRun
()
override
;
47
virtual
void
event
()
override
;
48
49
private
:
51
std::vector<std::string>
m_ParticleLists
;
52
std::string
m_tableName
;
53
std::unique_ptr<DBObjPtr<ParticleWeightingLookUpTable>>
m_ParticleWeightingLookUpTable
;
58
void
addPhotonDetectionEfficiencyRatios
(
Particle
* particle);
59
60
};
// PhotonEfficiencySystematicsModule
61
63
};
//namespace
Belle2::Module
Base class for Modules.
Definition:
Module.h:72
Belle2::Particle
Class to store reconstructed particles.
Definition:
Particle.h:76
Belle2::PhotonEfficiencySystematicsModule
Adds Photon Detection Efficiency Data/MC ratios To Particle List.
Definition:
PhotonEfficiencySystematics.h:28
Belle2::PhotonEfficiencySystematicsModule::m_ParticleLists
std::vector< std::string > m_ParticleLists
input particle lists
Definition:
PhotonEfficiencySystematics.h:51
Belle2::PhotonEfficiencySystematicsModule::event
virtual void event() override
Function to be executed at each event.
Definition:
PhotonEfficiencySystematics.cc:65
Belle2::PhotonEfficiencySystematicsModule::getInfo
WeightInfo getInfo(const Particle *particle)
Get LookUp information for the particle.
Definition:
PhotonEfficiencySystematics.cc:43
Belle2::PhotonEfficiencySystematicsModule::m_ParticleWeightingLookUpTable
std::unique_ptr< DBObjPtr< ParticleWeightingLookUpTable > > m_ParticleWeightingLookUpTable
Pointer to the table in DB.
Definition:
PhotonEfficiencySystematics.h:53
Belle2::PhotonEfficiencySystematicsModule::beginRun
virtual void beginRun() override
Nothing so far.
Definition:
PhotonEfficiencySystematics.cc:59
Belle2::PhotonEfficiencySystematicsModule::m_tableName
std::string m_tableName
Name of the table.
Definition:
PhotonEfficiencySystematics.h:52
Belle2::PhotonEfficiencySystematicsModule::PhotonEfficiencySystematicsModule
PhotonEfficiencySystematicsModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition:
PhotonEfficiencySystematics.cc:32
Belle2::PhotonEfficiencySystematicsModule::addPhotonDetectionEfficiencyRatios
void addPhotonDetectionEfficiencyRatios(Particle *particle)
function to add appropriate data/mc ratio weight to a particle
Definition:
PhotonEfficiencySystematics.cc:85
Belle2::WeightInfo
std::map< std::string, double > WeightInfo
Weight information: a line from the weight lookup table.
Definition:
ParticleWeightingLookUpTable.h:21
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
analysis
modules
PhotonEfficiencySystematics
include
PhotonEfficiencySystematics.h
Generated on Wed Apr 9 2025 02:34:31 for Belle II Software by
1.9.6