From 4dfc10af7590396eeea2a3325e17a6bdd9216ad1 Mon Sep 17 00:00:00 2001 From: phille Date: Sun, 11 Mar 2007 20:02:31 +0000 Subject: [PATCH 1/1] New on per RCU data containers --- ...LTPHOSRcuCellAccumulatedEnergyDataStruct.h | 32 +++++++++++++++++++ ...AliHLTPHOSRcuCellAverageEnergyDataStruct.h | 30 +++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 HLT/PHOS/AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h create mode 100644 HLT/PHOS/AliHLTPHOSRcuCellAverageEnergyDataStruct.h diff --git a/HLT/PHOS/AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h b/HLT/PHOS/AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h new file mode 100644 index 00000000000..95f59f95dc8 --- /dev/null +++ b/HLT/PHOS/AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h @@ -0,0 +1,32 @@ +#ifndef ALIHLTPHOSRCUCELLACCUMULATEDENERGYDATASTRUCT_H +#define ALIHLTPHOSRCUCELLACCUMULATEDENERGYDATASTRUCT_H + +/*************************************************************************** + * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: Per Thomas Hille for the ALICE HLT Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + +#include "AliHLTPHOSCommonDefs.h" + + +struct AliHLTPHOSRcuCellAccumulatedEnergyDataStruct +{ + AliHLTUInt8_t fModuleID; + AliHLTUInt8_t fRcuX; + AliHLTUInt8_t fRcuZ; + float fAccumulatedEnergies[N_XCOLUMNS_RCU][N_ZROWS_RCU][N_GAINS]; + AliHLTUInt32_t fHits[N_XCOLUMNS_RCU][N_ZROWS_RCU][N_GAINS]; +}; + + +#endif diff --git a/HLT/PHOS/AliHLTPHOSRcuCellAverageEnergyDataStruct.h b/HLT/PHOS/AliHLTPHOSRcuCellAverageEnergyDataStruct.h new file mode 100644 index 00000000000..b2cb2820d6a --- /dev/null +++ b/HLT/PHOS/AliHLTPHOSRcuCellAverageEnergyDataStruct.h @@ -0,0 +1,30 @@ +#ifndef ALIHLTPHOSRCUCELLAVERAGEENERGYDATASTRUCT_H +#define ALIHLTPHOSRCUCELLAVERAGEENERGYDATASTRUCT_H + +/*************************************************************************** + * Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. * + * * + * Author: Per Thomas Hille for the ALICE HLT Project. * + * Contributors are mentioned in the code where appropriate. * + * * + * Permission to use, copy, modify and distribute this software and its * + * documentation strictly for non-commercial purposes is hereby granted * + * without fee, provided that the above copyright notice appears in all * + * copies and that both the copyright notice and this permission notice * + * appear in the supporting documentation. The authors make no claims * + * about the suitability of this software for any purpose. It is * + * provided "as is" without express or implied warranty. * + **************************************************************************/ + + +#include "AliHLTPHOSCommonDefs.h" + +struct AliHLTPHOSRcuCellAverageEnergyDataStruct +{ + AliHLTUInt8_t fModuleID; + AliHLTPHOSValidCellDataStruct fValidData[N_XCOLUMNS_RCU*N_ZROWS_RCU*N_GAINS]; + float fAverageEnergies[N_XCOLUMNS_RCU][N_ZROWS_RCU][N_GAINS]; +}; + + +#endif -- 2.39.3