Belle II Software development
TOPPDFDebuggerModule.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#pragma once
10
11#include <framework/core/Module.h>
12#include <top/reconstruction_cpp/PDFConstructor.h>
13#include <framework/datastore/StoreArray.h>
14#include <mdst/dataobjects/Track.h>
15#include <top/dataobjects/TOPDigit.h>
16#include <top/dataobjects/TOPPDFCollection.h>
17#include <top/dataobjects/TOPAssociatedPDF.h>
18#include <top/dataobjects/TOPPixelLikelihood.h>
19#include <framework/gearbox/Const.h>
20#include <string>
21
22namespace Belle2 {
32
33 public:
34
39
44 {}
45
51 virtual void initialize() override;
52
57 virtual void event() override;
58
59 private:
60
65 void associatePDFPeaks(const TOP::PDFConstructor& pdfConstructor);
66
67 // Module steering parameters
68
69 double m_minTime = 0;
70 double m_maxTime = 0;
71 std::string m_pdfOption;
72 std::vector<int> m_pdgCodes;
74 // others
76 std::vector<Const::ChargedStable> m_chargedStables;
78 // collections
84 };
85
87} // Belle2 namespace
88
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
TOP reconstruction module.
double m_maxTime
optional time limit for photons
double m_minTime
optional time limit for photons
StoreArray< TOPPDFCollection > m_pdfCollection
collection of analytic PDF's
TOP::PDFConstructor::EPDFOption m_PDFOption
PDF option.
StoreArray< TOPPixelLikelihood > m_pixelData
collection of per-pixel data
StoreArray< Track > m_tracks
collection of tracks
StoreArray< TOPAssociatedPDF > m_associatedPDFs
collection of associated PDF's
virtual ~TOPPDFDebuggerModule()
Destructor.
std::vector< int > m_pdgCodes
particle codes
StoreArray< TOPDigit > m_digits
collection of digits
std::vector< Const::ChargedStable > m_chargedStables
particle hypotheses
std::string m_pdfOption
PDF option name.
PDF construction and log likelihood determination for a given track and particle hypothesis.
EPDFOption
Signal PDF construction options.
@ c_Rough
no dependence on y
virtual void initialize() override
Initialize the Module.
virtual void event() override
Event processor.
void associatePDFPeaks(const TOP::PDFConstructor &pdfConstructor)
Associate PDF peaks with photons using S-plot technique.
Abstract base class for different kinds of events.