Belle II Software  release-08-01-10
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 
22 namespace Belle2 {
34  class TOPPDFDebuggerModule : public Module {
35 
36  public:
37 
42 
47  {}
48 
54  virtual void initialize() override;
55 
60  virtual void event() override;
61 
62  private:
63 
68  void associatePDFPeaks(const TOP::PDFConstructor& pdfConstructor);
69 
70  // Module steering parameters
71 
72  double m_minTime = 0;
73  double m_maxTime = 0;
74  std::string m_pdfOption;
75  std::vector<int> m_pdgCodes;
77  // others
79  std::vector<Const::ChargedStable> m_chargedStables;
81  // collections
87  };
88 
90 } // Belle2 namespace
91 
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.