Belle II Software development
TOPChannelMaskerModule.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 <framework/datastore/StoreArray.h>
13#include <framework/datastore/StoreObjPtr.h>
14#include <top/dataobjects/TOPDigit.h>
15#include <top/dataobjects/TOPAsicMask.h>
16#include <framework/database/DBObjPtr.h>
17#include <framework/database/DBArray.h>
18#include <top/dbobjects/TOPCalChannelMask.h>
19#include <top/dbobjects/TOPPmtInstallation.h>
20#include <top/dbobjects/TOPPmtQE.h>
21#include <top/dbobjects/TOPCalChannelRQE.h>
22#include <top/dbobjects/TOPCalChannelThresholdEff.h>
23#include <top/dbobjects/TOPCalChannelT0.h>
24#include <top/dbobjects/TOPCalTimebase.h>
25
26namespace Belle2 {
37
38 public:
39
44
48 virtual void initialize() override;
49
55 virtual void beginRun() override;
56
61 virtual void event() override;
62
63 private:
64
65 // steering parameters
69 // collections
73 // database objects for masking
79 // database objects used only to check "hasChanged" status
85 // other
86 unsigned m_errorCount = 0;
88 };
90}
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
Optional DBArray: This class behaves the same as the DBArray except that it will not raise errors whe...
Definition: DBArray.h:97
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Class to store bit fields of masked ASICs, as reported in raw data.
Definition: TOPAsicMask.h:23
Masks dead PMs from the reconstruction.
DBObjPtr< TOPCalChannelMask > m_channelMask
list of dead/noisy channels
OptionalDBArray< TOPPmtQE > m_pmtQEData
quantum efficiencies
DBObjPtr< TOPCalTimebase > m_timebase
timebase
DBObjPtr< TOPCalChannelThresholdEff > m_thresholdEff
channel threshold effi.
DBObjPtr< TOPCalChannelT0 > m_channelT0
channel T0
DBObjPtr< TOPCalChannelRQE > m_channelRQE
channel relative quantum effi.
bool m_maskUncalibratedChannelT0
if true mask channelT0-uncalibrated channels
StoreObjPtr< TOPAsicMask > m_eventAsicMask
masked asics in firmware
StoreArray< TOPDigit > m_digits
collection of digits
TOPAsicMask m_savedAsicMask
the default ones or a copy from data store
bool m_maskUncalibratedTimebase
if true mask timebase-uncalibrated channels
OptionalDBArray< TOPPmtInstallation > m_pmtInstalled
PMT installation data.
virtual void initialize() override
initialize method: registers datastore objects (the TOP hits)
virtual void event() override
event method: removes channels from the reconstruction pdf, flags hits from noisy channels as junk
virtual void beginRun() override
Called when entering a new run.
TOPChannelMaskerModule()
Constructor: Sets the description of the module.
Abstract base class for different kinds of events.