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
TOPPDFCheckerModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2017 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Marko Staric *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <framework/core/HistoModule.h>
14
#include <top/dataobjects/TOPDigit.h>
15
#include <mdst/dataobjects/MCParticle.h>
16
#include <set>
17
#include <TH2F.h>
18
#include <TVector3.h>
19
20
21
namespace
Belle2
{
30
class
TOPPDFCheckerModule :
public
HistoModule {
31
32
public
:
33
37
TOPPDFCheckerModule
();
38
42
virtual
~TOPPDFCheckerModule
();
43
48
virtual
void
defineHisto
()
override
;
49
54
virtual
void
initialize
()
override
;
55
60
virtual
void
beginRun
()
override
;
61
65
virtual
void
event
()
override
;
66
71
virtual
void
endRun
()
override
;
72
77
virtual
void
terminate
()
override
;
78
79
private
:
80
84
bool
isFromThisParticle
(
const
TOPDigit
& digit,
const
MCParticle
* particle);
85
86
double
m_minTime
;
87
double
m_maxTime
;
88
int
m_numBins
;
90
TH2F*
m_hits
= 0;
91
TH2F*
m_pdf
= 0;
92
TH2F*
m_hitsCol
= 0;
93
TH2F*
m_pdfCol
= 0;
95
TVector3
m_avrgMomentum
;
96
TVector3
m_avrgPosition
;
97
int
m_numTracks
= 0;
98
std::set<int>
m_slotIDs
;
99
std::set<int>
m_PDGCodes
;
101
};
102
104
}
// Belle2 namespace
105
Belle2::TOPPDFCheckerModule::m_maxTime
double m_maxTime
histogram upper bound in time [ns]
Definition:
TOPPDFCheckerModule.h:95
Belle2::TOPPDFCheckerModule::m_PDGCodes
std::set< int > m_PDGCodes
particle PDG codes
Definition:
TOPPDFCheckerModule.h:107
Belle2::TOPPDFCheckerModule::m_hits
TH2F * m_hits
histogram of photon hits
Definition:
TOPPDFCheckerModule.h:98
Belle2::TOPPDFCheckerModule::m_avrgPosition
TVector3 m_avrgPosition
average particle position at bar entrance (bar frame)
Definition:
TOPPDFCheckerModule.h:104
Belle2::TOPPDFCheckerModule::m_slotIDs
std::set< int > m_slotIDs
slot ID's that are hit by particle
Definition:
TOPPDFCheckerModule.h:106
Belle2::TOPPDFCheckerModule::event
virtual void event() override
Event processor.
Definition:
TOPPDFCheckerModule.cc:137
Belle2::TOPPDFCheckerModule::terminate
virtual void terminate() override
Termination action.
Definition:
TOPPDFCheckerModule.cc:216
Belle2::TOPPDFCheckerModule::m_minTime
double m_minTime
histogram lower bound in time [ns]
Definition:
TOPPDFCheckerModule.h:94
Belle2::TOPPDFCheckerModule::isFromThisParticle
bool isFromThisParticle(const TOPDigit &digit, const MCParticle *particle)
Checks if digit comes from given MC particle.
Definition:
TOPPDFCheckerModule.cc:242
Belle2::TOPPDFCheckerModule::m_numBins
int m_numBins
number of bins in time
Definition:
TOPPDFCheckerModule.h:96
Belle2::TOPPDFCheckerModule::beginRun
virtual void beginRun() override
Called when entering a new run.
Definition:
TOPPDFCheckerModule.cc:133
Belle2::TOPPDFCheckerModule::m_pdfCol
TH2F * m_pdfCol
histogram of PDF projected to pixel columns
Definition:
TOPPDFCheckerModule.h:101
Belle2::TOPDigit
Class to store TOP digitized hits (output of TOPDigitizer or raw data unpacker) relations to TOPSimHi...
Definition:
TOPDigit.h:34
Belle2::TOPPDFCheckerModule::m_numTracks
int m_numTracks
number of tracks
Definition:
TOPPDFCheckerModule.h:105
Belle2::TOPPDFCheckerModule::endRun
virtual void endRun() override
End-of-run action.
Definition:
TOPPDFCheckerModule.cc:212
Belle2::TOPPDFCheckerModule::TOPPDFCheckerModule
TOPPDFCheckerModule()
Constructor.
Definition:
TOPPDFCheckerModule.cc:57
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TOPPDFCheckerModule::m_hitsCol
TH2F * m_hitsCol
histogram of photon hits projected to pixel columns
Definition:
TOPPDFCheckerModule.h:100
Belle2::TOPPDFCheckerModule::~TOPPDFCheckerModule
virtual ~TOPPDFCheckerModule()
Destructor.
Definition:
TOPPDFCheckerModule.cc:74
Belle2::TOPPDFCheckerModule::m_avrgMomentum
TVector3 m_avrgMomentum
average particle momentum at bar entrance (bar frame)
Definition:
TOPPDFCheckerModule.h:103
Belle2::TOPPDFCheckerModule::initialize
virtual void initialize() override
Initialize the Module.
Definition:
TOPPDFCheckerModule.cc:105
Belle2::TOPPDFCheckerModule::defineHisto
virtual void defineHisto() override
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
Definition:
TOPPDFCheckerModule.cc:78
Belle2::MCParticle
A Class to store the Monte Carlo particle information.
Definition:
MCParticle.h:43
Belle2::TOPPDFCheckerModule::m_pdf
TH2F * m_pdf
histogram of PDF
Definition:
TOPPDFCheckerModule.h:99
top
modules
TOPPDFChecker
include
TOPPDFCheckerModule.h
Generated on Tue Jan 4 2022 03:04:18 for Belle II Software by
1.8.17