Belle II Software development
EventsOfDoomBusterModule.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#pragma once
9
10/* Reconstruction headers. */
11#include <reconstruction/dbobjects/EventsOfDoomParameters.h>
12
13/* Basf2 headers. */
14#include <cdc/dataobjects/CDCHit.h>
15#include <framework/core/Module.h>
16#include <framework/database/DBObjPtr.h>
17#include <framework/dataobjects/EventMetaData.h>
18#include <framework/datastore/StoreArray.h>
19#include <framework/datastore/StoreObjPtr.h>
20#include <svd/dataobjects/SVDShaperDigit.h>
21
22/* C++ headers. */
23#include <cstdint>
24
25namespace Belle2 {
35 class EventsOfDoomBusterModule final : public Module {
36
37 public:
40
43
45 void initialize() final;
46
48 void beginRun() final;
49
55 void event() final;
56
57 private:
62 uint32_t m_nCDCHitsMax = 1e9;
67 uint32_t m_nSVDShaperDigitsMax = 1e9;
68
71
74
77
80
81 };
83} // Belle2 namespace
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
Definition: CDCHit.h:40
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Store event, run, and experiment numbers.
Definition: EventMetaData.h:33
Module that flags an event destined for doom at reconstruction, based on the size of selected hits/di...
virtual ~EventsOfDoomBusterModule() final
Default Destructor.
uint32_t m_nCDCHitsMax
The max number of CDC hits for an event to be kept for reconstruction.
void initialize() final
Module initializer.
void beginRun() final
Called when entering a new run.
uint32_t m_nSVDShaperDigitsMax
The max number of SVD shaper digits for an event to be kept for reconstruction.
StoreObjPtr< EventMetaData > m_eventInfo
Event Meta Data Store ObjPtr.
void event() final
Flag each event.
DBObjPtr< EventsOfDoomParameters > m_eventsOfDoomParameters
EventsOfDoomParameters Database OjbPtr.
StoreArray< SVDShaperDigit > m_svdShaperDigits
SVDShaperDigits StoreArray.
StoreArray< CDCHit > m_cdcHits
CDCHits StoreArray.
DBObject containing parameters used in EventsOfDoomBuster module.
Base class for Modules.
Definition: Module.h:72
The SVD ShaperDigit class.
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
Abstract base class for different kinds of events.