From 3d3c282bf065b0ca80b1ab85ce006a4b987f44e3 Mon Sep 17 00:00:00 2001 From: Chao Peng <cpeng@anl.gov> Date: Thu, 29 Apr 2021 16:56:05 -0500 Subject: [PATCH] Change array of layers to OneToManyRelation between ImagingCluster and ImagingLayer --- eic_data.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eic_data.yaml b/eic_data.yaml index fc73ad6..ccf3bca 100644 --- a/eic_data.yaml +++ b/eic_data.yaml @@ -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 -- GitLab