Belle II Software
development
Pi0VetoEfficiencySystematics.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 <analysis/DecayDescriptor/DecayDescriptor.h>
16
#include <string>
17
18
namespace
Belle2
{
23
class
Particle
;
24
template
<
class
T>
class
DBObjPtr
;
25
29
class
Pi0VetoEfficiencySystematicsModule
:
public
Module
{
30
31
public
:
35
Pi0VetoEfficiencySystematicsModule
();
41
WeightInfo
getInfo
(
const
Particle
* particle);
42
44
virtual
void
initialize
()
override
;
45
49
virtual
void
event
()
override
;
50
51
private
:
52
std::vector<std::string>
m_ParticleLists
;
53
std::string
m_decayString
;
54
DecayDescriptor
m_decayDescriptor
;
55
std::string
m_tableName
;
56
double
m_threshold
;
57
std::string
m_mode
;
58
std::string
m_suffix
;
59
std::unique_ptr<DBObjPtr<ParticleWeightingLookUpTable>>
m_ParticleWeightingLookUpTable
;
60
64
void
addPi0VetoEfficiencyRatios
(
Particle
* B,
const
Particle
* hardPhoton);
65
66
};
// Pi0VetoEfficiencySystematicsModule
67
69
};
//namespace
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition
DBObjPtr.h:21
Belle2::DecayDescriptor
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Definition
DecayDescriptor.h:32
Belle2::Module::Module
Module()
Constructor.
Definition
Module.cc:30
Belle2::Particle
Class to store reconstructed particles.
Definition
Particle.h:76
Belle2::Pi0VetoEfficiencySystematicsModule::m_ParticleLists
std::vector< std::string > m_ParticleLists
input particle lists
Definition
Pi0VetoEfficiencySystematics.h:52
Belle2::Pi0VetoEfficiencySystematicsModule::initialize
virtual void initialize() override
Initializes the module.
Definition
Pi0VetoEfficiencySystematics.cc:63
Belle2::Pi0VetoEfficiencySystematicsModule::event
virtual void event() override
Function to be executed at each event.
Definition
Pi0VetoEfficiencySystematics.cc:80
Belle2::Pi0VetoEfficiencySystematicsModule::m_decayString
std::string m_decayString
Decay string to select primary photon.
Definition
Pi0VetoEfficiencySystematics.h:53
Belle2::Pi0VetoEfficiencySystematicsModule::m_threshold
double m_threshold
Threshold of pi0 veto.
Definition
Pi0VetoEfficiencySystematics.h:56
Belle2::Pi0VetoEfficiencySystematicsModule::getInfo
WeightInfo getInfo(const Particle *particle)
Get LookUp information for the particle.
Definition
Pi0VetoEfficiencySystematics.cc:47
Belle2::Pi0VetoEfficiencySystematicsModule::m_suffix
std::string m_suffix
Suffix of extrainfo name.
Definition
Pi0VetoEfficiencySystematics.h:58
Belle2::Pi0VetoEfficiencySystematicsModule::m_ParticleWeightingLookUpTable
std::unique_ptr< DBObjPtr< ParticleWeightingLookUpTable > > m_ParticleWeightingLookUpTable
Pointer to the table in DB.
Definition
Pi0VetoEfficiencySystematics.h:59
Belle2::Pi0VetoEfficiencySystematicsModule::m_decayDescriptor
DecayDescriptor m_decayDescriptor
decay descriptor which specifies the primary photon
Definition
Pi0VetoEfficiencySystematics.h:54
Belle2::Pi0VetoEfficiencySystematicsModule::m_tableName
std::string m_tableName
Table name of the payloads.
Definition
Pi0VetoEfficiencySystematics.h:55
Belle2::Pi0VetoEfficiencySystematicsModule::Pi0VetoEfficiencySystematicsModule
Pi0VetoEfficiencySystematicsModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition
Pi0VetoEfficiencySystematics.cc:32
Belle2::Pi0VetoEfficiencySystematicsModule::addPi0VetoEfficiencyRatios
void addPi0VetoEfficiencyRatios(Particle *B, const Particle *hardPhoton)
function to add appropriate data/mc ratio weight to a particle
Definition
Pi0VetoEfficiencySystematics.cc:109
Belle2::Pi0VetoEfficiencySystematicsModule::m_mode
std::string m_mode
Mode of pi0 veto.
Definition
Pi0VetoEfficiencySystematics.h:57
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
Pi0VetoEfficiencySystematics
include
Pi0VetoEfficiencySystematics.h
Generated on Mon Sep 1 2025 02:45:35 for Belle II Software by
1.13.2