Belle II Software development
TRGGRLInjectionVetoFromOverlayModule.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/database/DBObjPtr.h>
13#include <framework/datastore/StoreObjPtr.h>
14#include <mdst/dataobjects/TRGSummary.h>
15#include <mdst/dbobjects/TRGGDLDBInputBits.h>
16#include <trg/grl/dataobjects/TRGGRLInfo.h>
17
18#include <array>
19#include <string>
20
21namespace Belle2 {
26
31
32 public:
33
34 public:
35
38
40 void initialize() override;
41
43 void beginRun() override;
44
46 void event() override;
47
48 private:
49
52
55
58
60 std::string m_TRGGRLInfoName;
61
63 std::string m_extensionName;
64
66 const std::array<std::string, 4> m_inputBitNames{{"cdc_veto", "ecl_veto", "cdcecl_veto", "passive_veto"}};
67
68 };
69
71}
Class for accessing objects in the database.
Definition DBObjPtr.h:21
Module()
Constructor.
Definition Module.cc:30
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
StoreObjPtr< TRGGRLInfo > m_TRGGRLInfoFromSimulation
TRGGRLInfo object from MC simulation.
const std::array< std::string, 4 > m_inputBitNames
Array of L1 input bit names to overlay.
StoreObjPtr< TRGSummary > m_TRGSummaryFromOverlay
TRGSummary object from beam background overlay.
std::string m_extensionName
Extension name for branches from beam background overlay.
DBObjPtr< TRGGDLDBInputBits > m_TRGInputBits
TRGGDLInputBits database object.
Abstract base class for different kinds of events.