Belle II Software  release-05-01-25
EventsOfDoomBusterModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Marco Milesi
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 
14 #include <framework/dataobjects/EventMetaData.h>
15 #include <cdc/dataobjects/CDCHit.h>
16 #include <svd/dataobjects/SVDShaperDigit.h>
17 
18 #include <framework/datastore/StoreArray.h>
19 #include <framework/datastore/StoreObjPtr.h>
20 
21 namespace Belle2 {
34  class EventsOfDoomBusterModule final : public Module {
35 
36  public:
39 
41  virtual ~EventsOfDoomBusterModule() final;
42 
44  void initialize() final;
45 
51  void event() final;
52 
53  private:
58  unsigned int m_nCDCHitsMax = 1e9;
63  unsigned int m_nSVDShaperDigitsMax = 1e9;
64 
71  };
73 } // Belle2 namespace
Belle2::EventsOfDoomBusterModule::m_eventInfo
StoreObjPtr< EventMetaData > m_eventInfo
Event Meta Data Store ObjPtr.
Definition: EventsOfDoomBusterModule.h:74
Belle2::CDCHit
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
Definition: CDCHit.h:51
Belle2::EventsOfDoomBusterModule::m_svdShaperDigits
StoreArray< SVDShaperDigit > m_svdShaperDigits
SVDShaperDigits StoreArray.
Definition: EventsOfDoomBusterModule.h:78
Belle2::EventsOfDoomBusterModule::initialize
void initialize() final
Module initializer.
Definition: EventsOfDoomBusterModule.cc:36
Belle2::SVDShaperDigit
The SVD ShaperDigit class.
Definition: SVDShaperDigit.h:46
Belle2::EventsOfDoomBusterModule::m_nSVDShaperDigitsMax
unsigned int m_nSVDShaperDigitsMax
The max number of SVD shaper digits for an event to be kept for reconstruction.
Definition: EventsOfDoomBusterModule.h:71
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::EventsOfDoomBusterModule::m_cdcHits
StoreArray< CDCHit > m_cdcHits
CDCHits StoreArray.
Definition: EventsOfDoomBusterModule.h:76
Belle2::EventsOfDoomBusterModule::m_nCDCHitsMax
unsigned int m_nCDCHitsMax
The max number of CDC hits for an event to be kept for reconstruction.
Definition: EventsOfDoomBusterModule.h:66
Belle2::EventsOfDoomBusterModule::~EventsOfDoomBusterModule
virtual ~EventsOfDoomBusterModule() final
Default Destructor.
Belle2::EventMetaData
Store event, run, and experiment numbers.
Definition: EventMetaData.h:43
Belle2::EventsOfDoomBusterModule::EventsOfDoomBusterModule
EventsOfDoomBusterModule()
Module constructor.
Definition: EventsOfDoomBusterModule.cc:18
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::EventsOfDoomBusterModule::event
void event() final
Flag each event.
Definition: EventsOfDoomBusterModule.cc:44