Belle II Software development
ECLTRGInformationModule.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/* Basf2 headers. */
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15
16namespace Belle2 {
22 class ECLCalDigit;
23 class ECLCluster;
24 class ECLTRGInformation;
25 class ECLTriggerCell;
26 class TRGECLUnpackerStore;
27 class TRGECLUnpackerEvtStore;
28 class TrgEclMapping;
29
34
35 public:
36
41
43 virtual void initialize() override;
44
46 virtual void event() override;
47
49 virtual void terminate() override;
50
51 private:
52
55
57 typedef std::map <unsigned, float> tcmap;
58
59
61 std::vector< int > m_calDigitStoreArrPosition;
62
64 std::vector< int > m_TCStoreArrPosition;
65
68
76 };
78}
Module to get ECL TRG energy information.
StoreObjPtr< ECLTRGInformation > m_eclTRGInformation
Analysis level information per event holding TRG information.
virtual void initialize() override
initialize
ECLTRGInformationModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual void event() override
event
std::vector< int > m_TCStoreArrPosition
vector (576+1 entries) with TC id to store array positions
virtual void terminate() override
terminate
std::vector< int > m_calDigitStoreArrPosition
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to store array positions
std::map< unsigned, float > tcmap
map TCId, energy
StoreArray< TRGECLUnpackerStore > m_trgUnpackerStore
Required input array of TRGECLUnpackerStore
StoreArray< ECLCluster > m_eclClusters
Required input array of ECLClusters
TrgEclMapping * m_trgmap
TC mapping class.
StoreArray< ECLCalDigit > m_eclCalDigits
Required input array of ECLCalDigits
double m_clusterEnergyThreshold
threshold for eclcluster energy sum
StoreArray< ECLTriggerCell > m_eclTCs
Output array of ECLTCs
StoreArray< TRGECLUnpackerEvtStore > m_trgUnpackerEvtStore
Required input array of TRGECLUnpackerEvtStore
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
A class of TC Mapping.
Definition: TrgEclMapping.h:26
Abstract base class for different kinds of events.