Belle II Software  release-08-01-10
PXDInjectionVetoEmulatorModule.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/StoreObjPtr.h>
13 #include <pxd/dataobjects/PXDInjectionBGTiming.h>
14 
15 namespace Belle2 {
29 
30  public:
31 
36 
37  private:
38 
40  void initialize() override final;
41 
43  void event() override final;
44 
46  std::string m_PXDIBTimingName;
47 
50 
52  double m_minTimePXD;
53 
55  double m_maxTimePXD;
56 
59 
62 
64  int m_nGates;
65  };
67 }
Base class for Modules.
Definition: Module.h:72
The module produces a StoreObjPtr of PXDInjectionBGTiming containing PXD timing for gated mode operat...
std::string m_PXDIBTimingName
The name of the StoreObjPtr of PXDInjectionBGTiming to be generated.
double m_minTimePXD
Minimal global time for injection veto for PXD.
double m_revolutionTime
Revolution time of noise bunches.
double m_maxTimePXD
Maximal global time for injection veto for PXD.
int m_nGates
Number of readout gates (or total number of Switcher channels)
StoreObjPtr< PXDInjectionBGTiming > m_storePXDIBTiming
Output object for injection Bkg timing for PXD.
PXDInjectionVetoEmulatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
double m_pxdGatedModeLumiFraction
Fraction of time in the PXD Gated Mode for the PXD readout.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.