Skip to content
Snippets Groups Projects
Commit d222e158 authored by Chao Peng's avatar Chao Peng
Browse files

Merge branch 'imaging_cluster' into 'master'

Change array of layers to OneToManyRelation between ImagingCluster and ImagingLayer

See merge request !26
parents 8ac79f57 3d3c282b
Branches
Tags v0.1.0
1 merge request!26Change array of layers to OneToManyRelation between ImagingCluster and ImagingLayer
Pipeline #9998 failed
......@@ -343,6 +343,8 @@ datatypes :
Description: "Layer for Imaging Calorimeter"
Author: "C. Peng"
Members:
- int clusterID // cluster id
- int layerID // layer id
- int nhits // Number of hits
- float edep // Energy deposit
- float radius // Shower radius
......@@ -351,7 +353,7 @@ datatypes :
- float x0cum // estimated radiation length before this layer
- eic::VectorXYZ position // Global center position.
- eic::VectorPolar polar // Global center position in polar coordinates
- std::array<eic::BaseHit, 100> hits // hits x data
- std::array<eic::BaseHit, 100> hits // hits data
eic::ImagingCluster:
Description: "Cluster for Imaging Calorimeter"
......@@ -365,5 +367,6 @@ datatypes :
- eic::VectorPolar polar // Polar coordinates for global position.
- float cl_theta // Intrinsic direction of cluster at position - Theta.
- float cl_phi // Intrinsic direction of cluster at position - Phi.
- std::array<eic::ImagingLayer, 20> layers // layer data
OneToManyRelations:
- eic::ImagingLayer layers // layer data
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment