Belle II Software development
eclFillCellIdMappingModule.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 {
21 class ECLCellIdMapping;
22 class ECLCalDigit;
23
24 namespace ECL {
25 class ECLNeighbours;
26 class ECLGeometryPar;
27 }
28
29
35
36 public:
37
42
44 virtual void initialize() override;
45
47 virtual void event() override;
48
50 virtual void terminate() override;
51
52
53 private:
56
59
68
70 std::vector<double> m_CellIdToPhi;
71
73 std::vector<double> m_CellIdToTheta;
74
76 std::vector<int> m_CellIdToPhiId;
77
79 std::vector<int> m_CellIdToThetaId;
80
81
82 };
84}
85
Fills a dataobject that provides mapping between cell id and ECLCalDigit store array.
std::vector< double > m_CellIdToTheta
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to theta values
virtual void initialize() override
Initialize.
std::vector< int > m_CellIdToThetaId
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to theta id values
ECL::ECLNeighbours * m_NeighbourMap5
Neighbour maps.
virtual void terminate() override
Terminate.
ECL::ECLGeometryPar * m_geom
Geometry.
std::vector< double > m_CellIdToPhi
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi values
std::vector< int > m_CellIdToPhiId
vector (ECLElementNumbers::c_NCrystals + 1 entries) with cell id to phi id values
ECLFillCellIdMappingModule()
Constructor: Sets the description, the properties and the parameters of the module.
StoreObjPtr< ECLCellIdMapping > m_eclCellIdMapping
Store object pointer: ECLCellIdToECLCalDigitMapping.
StoreArray< ECLCalDigit > m_eclCalDigits
Store array: ECLCalDigit.
The Class for ECL Geometry Parameters.
Class to get the neighbours for a given cell id.
Definition: ECLNeighbours.h:25
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
Abstract base class for different kinds of events.