Belle II Software development
vxdDigitMaskingModule.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/HistoModule.h>
12#include "TH1F.h"
13#include "TH2F.h"
14
15namespace Belle2 {
22 class vxdDigitMaskingModule : public HistoModule { // <- derived from HistoModule class
23
24 public:
25
28 /* Destructor */
29 virtual ~vxdDigitMaskingModule();
30
32 void initialize() override final;
34 void beginRun() override final;
36 void event() override final;
38 void endRun() override final;
39
44 void defineHisto() override final;
45
46 private:
47
54
55
64
72 long* m_nEventsPlane{nullptr};
75
77 float m_PXDChargeCut = 10;
79 float m_SVDuChargeCut = 10;
81 float m_SVDvChargeCut = 10;
82
84 float m_PXDCut = 50;
86 float m_SVDuCut = 50;
88 float m_SVDvCut = 50;
89
91 TH2F** m_PXDHitMapUV{nullptr};
93 TH2F** m_PXDMaskUV{nullptr};
94
96 TH1F** m_SVDHitMapU{nullptr};
98 TH1F** m_SVDHitMapV{nullptr};
100 TH1F** m_SVDMaskU{nullptr};
102 TH1F** m_SVDMaskV{nullptr};
104 TH1F** m_SVDHitMapU2{nullptr};
106 TH1F** m_SVDHitMapV2{nullptr};
108 TH1F** m_SVDMaskU2{nullptr};
110 TH1F** m_SVDMaskV2{nullptr};
111 };
112
114}
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
void initialize() override final
Initialize.
float m_SVDvChargeCut
Cut for charge of SVD v strip - in ADU.
long m_nEventsProcess
Number of events to process.
TH1F ** m_SVDHitMapV
SVD hitmaps for v strips and timestamp by plane.
std::string m_PXDMaskFileRunName
Name of file with list of PXD masked channels.
TH1F ** m_SVDHitMapU2
SVD hitmaps for u strips and timestamp by plane.
long * m_nEventsPlane
How many events in plane.
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
float m_PXDCut
Cut for masking of PXD pixel - preset for 1 kEvent.
TH2F ** m_PXDMaskUV
mask for pixels by PXD plane
std::string m_SVDMaskFileBasicName
Name of file with list of SVD basic masked channels.
void event() override final
Event.
int m_AppendMaskFile
Set option for append of existing file or recreate new list.
std::string m_storeSVDShaperDigitsName
SVDShaperDigits StoreArray name.
std::string m_histogramDirectoryName
directory fo histograms name
std::string m_SVDMaskFileRunName
Name of file with list of SVD masked channels.
float m_SVDuChargeCut
Cut for charge of SVD u strip - in ADU.
std::string m_PXDMaskFileBasicName
Name of file with list of PXD basic masked channels.
TH1F ** m_SVDMaskV
SVD mask for v strips by plane.
long m_nRealEventsProcess
Real Number of events to process.
TH1F ** m_SVDMaskU2
SVD mask for u strips by plane.
void endRun() override final
End run.
TH2F ** m_PXDHitMapUV
Hitmaps for pixels by PXD plane.
TH1F ** m_SVDHitMapU
SVD hitmaps for u strips and timestamp by plane.
void beginRun() override final
Begin run.
TH1F ** m_SVDHitMapV2
SVD hitmaps for v strips and timestamp by plane.
float m_SVDvCut
Cut for masking of SVD v strip - preset for 1 kEvent.
float m_PXDChargeCut
Cut for charge of PXD pixel - in ADU.
TH1F ** m_SVDMaskV2
SVD mask for v strips by plane.
float m_SVDuCut
Cut for masking of SVD u strip - preset for 1 kEvent.
float m_nEventsProcessFraction
Fraction of events to process to expected No.
TH1F ** m_SVDMaskU
SVD mask for u strips by plane.
std::string m_storePXDDigitsName
PXDDigits StoreArray name.
Abstract base class for different kinds of events.