Belle II Software  release-05-02-19
PXDInjectionVetoEmulatorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2013 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Benjamin Schwenker *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 #include <pxd/dataobjects/PXDInjectionBGTiming.h>
16 
17 namespace Belle2 {
30  class PXDInjectionVetoEmulatorModule : public Module {
31 
32  public:
33 
38 
39  private:
40 
42  void initialize() override final;
43 
45  void event() override final;
46 
48  std::string m_PXDIBTimingName;
49 
52 
54  double m_minTimePXD;
55 
57  double m_maxTimePXD;
58 
60  double m_revolutionTime;
61 
64 
66  int m_nGates;
67  };
69 }
Belle2::PXDInjectionVetoEmulatorModule::initialize
void initialize() override final
Initialize the Module.
Definition: PXDInjectionVetoEmulatorModule.cc:51
Belle2::PXDInjectionVetoEmulatorModule::m_storePXDIBTiming
StoreObjPtr< PXDInjectionBGTiming > m_storePXDIBTiming
Output object for injection Bkg timing for PXD.
Definition: PXDInjectionVetoEmulatorModule.h:71
Belle2::PXDInjectionBGTiming
The PXDInjectionBGTiming class.
Definition: PXDInjectionBGTiming.h:40
Belle2::PXDInjectionVetoEmulatorModule::m_revolutionTime
double m_revolutionTime
Revolution time of noise bunches.
Definition: PXDInjectionVetoEmulatorModule.h:68
Belle2::PXDInjectionVetoEmulatorModule::event
void event() override final
This method is the core of the module.
Definition: PXDInjectionVetoEmulatorModule.cc:61
Belle2::PXDInjectionVetoEmulatorModule::m_maxTimePXD
double m_maxTimePXD
Maximal global time for injection veto for PXD.
Definition: PXDInjectionVetoEmulatorModule.h:65
Belle2::PXDInjectionVetoEmulatorModule::m_pxdGatedModeLumiFraction
double m_pxdGatedModeLumiFraction
Fraction of time in the PXD Gated Mode for the PXD readout.
Definition: PXDInjectionVetoEmulatorModule.h:59
Belle2::PXDInjectionVetoEmulatorModule::m_minTimePXD
double m_minTimePXD
Minimal global time for injection veto for PXD.
Definition: PXDInjectionVetoEmulatorModule.h:62
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::PXDInjectionVetoEmulatorModule::PXDInjectionVetoEmulatorModule
PXDInjectionVetoEmulatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: PXDInjectionVetoEmulatorModule.cc:31
Belle2::PXDInjectionVetoEmulatorModule::m_PXDIBTimingName
std::string m_PXDIBTimingName
The name of the StoreObjPtr of PXDInjectionBGTiming to be generated.
Definition: PXDInjectionVetoEmulatorModule.h:56
Belle2::PXDInjectionVetoEmulatorModule::m_nGates
int m_nGates
Number of readout gates (or total number of Switcher channels)
Definition: PXDInjectionVetoEmulatorModule.h:74