10#include <ecl/modules/eclFillCellIdMapping/eclFillCellIdMappingModule.h>
13#include <ecl/dataobjects/ECLCalDigit.h>
14#include <ecl/dataobjects/ECLCellIdMapping.h>
15#include <ecl/dataobjects/ECLElementNumbers.h>
16#include <ecl/geometry/ECLNeighbours.h>
17#include <ecl/geometry/ECLGeometryPar.h>
20#include <framework/geometry/B2Vector3.h>
37 setDescription(
"Fills a dataobject that provides mapping between cell id and store arrays and neighbour maps");
DataType Phi() const
The azimuth angle.
DataType Theta() const
The polar angle.
ECL::ECLNeighbours * m_NeighbourMap9
9x9
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
virtual void event() override
Event.
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
ECL::ECLNeighbours * m_NeighbourMap11
11x11
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.
ECL::ECLNeighbours * m_NeighbourMap7
7x7
static ECLGeometryPar * Instance()
Static method to get a reference to the ECLGeometryPar instance.
int GetPhiID()
Get Phi Id.
ROOT::Math::XYZVector GetCrystalPos(int cid)
The Position of crystal.
void Mapping(int cid)
Mapping theta, phi Id.
int GetThetaID()
Get Theta Id.
Class to get the neighbours for a given cell id.
const std::vector< short int > & getNeighbours(short int cid) const
Return the neighbours for a given cell ID.
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
const int c_NCrystals
Number of crystals.
Abstract base class for different kinds of events.