Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-25 09:25:09

0001 // SPDX-License-Identifier: LGPL-3.0-or-later
0002 // Copyright (C) 2025 Akio Ogawa
0003 //==========================================================================
0004 //  Implementation of forward calorimeter Mapping and numbering
0005 //==========================================================================
0006 //  Author: Akio Ogawa (BNL)
0007 //==========================================================================
0008 
0009 static const int mMaxNS       = 2;
0010 static const int mMaxBlockId  = 1145;
0011 static const int mMaxRowBlock = 39;
0012 static const int mMaxColBlock = 19;
0013 
0014 static const int mMaxTowerId  = 18320;
0015 static const int mMaxRowTower = mMaxRowBlock * 4;
0016 static const int mMaxColTower = mMaxColBlock * 4;
0017 
0018 static const int mMaxFeebdId  = 594;
0019 static const int mMaxRowFeebd = 39; //=mMaxRowBlock;
0020 static const int mMaxColFeebd = 10; //=(mMaxColBlock+1)/2;
0021 
0022 static const int mNColBlock[mMaxNS][mMaxRowBlock] = {
0023     {3,  6,  9,  11, 12, 13, 14, 15, 16, 16, 17, 17, 18, 18, 18, 19, 19, 19, 18, 18,
0024      18, 19, 19, 19, 18, 18, 18, 17, 17, 16, 16, 15, 14, 13, 12, 11, 9,  6,  3},
0025     {3,  6,  9,  11, 12, 13, 14, 15, 16, 16, 17, 17, 18, 18, 18, 19, 19, 19, 17, 17,
0026      17, 19, 19, 19, 18, 18, 18, 17, 17, 16, 16, 15, 14, 13, 12, 11, 9,  6,  3}};
0027 
0028 static const double mBackPlateZ = 362.0; //Global Z of backplate = start of Hcal