Belle II Software  release-06-01-15
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 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreObjPtr.h>
13 #include <framework/datastore/StoreArray.h>
14 
15 namespace Belle2 {
20  class ECLCellIdMapping;
21  class ECLCalDigit;
22 
23  namespace ECL {
24  class ECLNeighbours;
25  class ECLGeometryPar;
26  }
27 
28 
34 
35  public:
36 
41 
43  virtual void initialize() override;
44 
46  virtual void event() override;
47 
49  virtual void terminate() override;
50 
51 
52  private:
55 
58 
65 
67  std::vector<double> m_CellIdToPhi;
68 
70  std::vector<double> m_CellIdToTheta;
71 
73  std::vector<int> m_CellIdToPhiId;
74 
76  std::vector<int> m_CellIdToThetaId;
77 
78 
79  };
81 }
82 
Fills a dataobject that provides maping between cell id and ECLCalDigit store array.
std::vector< double > m_CellIdToTheta
vector (8736+1 entries) with cell id to theta values
virtual void initialize() override
Initialize.
std::vector< int > m_CellIdToThetaId
vector (8736+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 (8736+1 entries) with cell id to phi values
std::vector< int > m_CellIdToPhiId
vector (8736+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:23
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:95
Abstract base class for different kinds of events.