Belle II Software development
TRGECLBGTCHitModule.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 <string>
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/database/DBArray.h>
15
16#include "trg/ecl/TrgEclMapping.h"
17#include "ecl/dataobjects/ECLHit.h"
18#include "trg/ecl/dataobjects/TRGECLBGTCHit.h"
19#include "trg/ecl/dataobjects/TRGECLUnpackerStore.h"
20
21namespace Belle2 {
26
27 class TRGECLBGTCHitModule : public Module {
28 public:
29
32
34 virtual ~TRGECLBGTCHitModule();
36 virtual void initialize() override;
38 virtual void beginRun() override;
40 virtual void event() override;
42 virtual void endRun() override;
44 virtual void terminate() override;
45
46 public:
47
49 std::string version(void) const;
50
51 private:
52
54 void genSimulationObj();
56 void genRandomTrgObj();
65
66 protected:
67
68 private:
77 };
78
80} // namespace Belle2
Module()
Constructor.
Definition Module.cc:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
double m_TCTimingCutHigh
TC timing cut (ns) for high timing.
double m_TCTimingCutLow
TC timing cut (ns) for lower timing.
StoreArray< TRGECLUnpackerStore > m_trgeclUnpackerStores
ecl trigger ETM dataobject
StoreArray< TRGECLBGTCHit > m_trgeclBGTCHits
ecl trigger BG TC dataobject
double m_TCEnergyCut
TC energy cut (GeV)
StoreArray< ECLHit > m_eclHits
ECL data object.
TrgEclMapping * m_TCMap
hardware configuration
A class of TC Mapping.
virtual void initialize() override
Initializes TRGECLBGTCHitModule.
virtual void event() override
Called event by event.
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Called when processing ended.
void genRandomTrgObj()
generate random trigger data TCHit data objection
virtual void beginRun() override
Called when new run started.
virtual ~TRGECLBGTCHitModule()
Destructor.
std::string version(void) const
returns version of TRGECLBGTCHitModule.
Abstract base class for different kinds of events.