Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32561 from bsunanda/Run4-hgx272x
Run4-hgx272x Compress the property information of Wafers and tiles to reduce space requirement
- Loading branch information
Showing
20 changed files
with
2,849 additions
and
3,428 deletions.
There are no files selected for viewing
3,611 changes: 1,267 additions & 2,344 deletions
3,611
Geometry/HGCalCommonData/data/hgcalConsData/v13/hgcalConsData.xml
Large diffs are not rendered by default.
Oops, something went wrong.
1,181 changes: 731 additions & 450 deletions
1,181
Geometry/HGCalCommonData/data/hgcalEE/v14/hgcalEE.xml
Large diffs are not rendered by default.
Oops, something went wrong.
391 changes: 237 additions & 154 deletions
391
Geometry/HGCalCommonData/data/hgcalHEmix/v14/hgcalHEmix.xml
Large diffs are not rendered by default.
Oops, something went wrong.
437 changes: 266 additions & 171 deletions
437
Geometry/HGCalCommonData/data/hgcalHEsil/v14/hgcalHEsil.xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#ifndef Geometry_HGCalCommonData_HGCalProperty_h | ||
#define Geometry_HGCalCommonData_HGCalProperty_h | ||
|
||
#include <cmath> | ||
#include <cstdint> | ||
|
||
namespace HGCalProperty { | ||
int32_t waferProperty(const int32_t thick, const int32_t partial, const int32_t orient); | ||
int32_t waferThick(const int32_t property); | ||
int32_t waferPartial(const int32_t property); | ||
int32_t waferOrient(const int32_t property); | ||
int32_t tileProperty(const int32_t type, const int32_t sipm); | ||
int32_t tileType(const int32_t property); | ||
int32_t tileSiPM(const int32_t property); | ||
|
||
const int32_t kHGCalWaferUOffset = 0; | ||
const int32_t kHGCalWaferUMask = 0x1F; | ||
const int32_t kHGCalWaferUSignOffset = 5; | ||
const int32_t kHGCalWaferUSignMask = 0x1; | ||
const int32_t kHGCalWaferVOffset = 6; | ||
const int32_t kHGCalWaferVMask = 0x1F; | ||
const int32_t kHGCalWaferVSignOffset = 11; | ||
const int32_t kHGCalWaferVSignMask = 0x1; | ||
const int32_t kHGCalWaferCopyOffset = 0; | ||
const int32_t kHGCalWaferCopyMask = 0x7FFFF; | ||
const int32_t kHGCalLayerOldMask = 0x1000000; | ||
|
||
const int32_t kHGCalLayerOffset = 18; | ||
const int32_t kHGCalLayerMask = 0x1F; | ||
|
||
const int32_t kHGCalPhiOffset = 0; | ||
const int32_t kHGCalPhiMask = 0x1FF; | ||
const int32_t kHGCalRingOffset = 9; | ||
const int32_t kHGCalRingMask = 0x1FF; | ||
|
||
const int32_t kHGCalFactor = 10; | ||
const int32_t kHGCalOffsetThick = 1; | ||
const int32_t kHGCalOffsetPartial = 10; | ||
const int32_t kHGCalOffsetOrient = 100; | ||
const int32_t kHGCalOffsetType = 1; | ||
const int32_t kHGCalOffsetSiPM = 10; | ||
}; // namespace HGCalProperty | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.