00001
00002
00003 #ifndef XAODEGAMMA_EGAMMADEFS_H
00004 #define XAODEGAMMA_EGAMMADEFS_H
00005
00006 extern "C" {
00007 #include <stdint.h>
00008 }
00009
00010
00012 namespace xAOD {
00013
00014 namespace EgammaParameters {
00016
00017 const uint16_t AuthorUnknown=0x0;
00019 const uint16_t AuthorElectron=0x1;
00021 const uint16_t AuthorSofte =0x2;
00023 const uint16_t AuthorPhoton=0x4;
00025 const uint16_t AuthorFwdElectron=0x8;
00027 const uint16_t AuthorAmbiguous=0x10;
00029 const uint16_t AuthorTrigElectron=0x20;
00031 const uint16_t AuthorTrigPhoton=0x40;
00033 const uint16_t AuthorCaloTopo35=0x80;
00035 const uint16_t AuthorALL = 0xFFFF;
00036
00037
00038
00039
00040
00041 enum BitDefOQ {
00043 DeadHVPS = 0,
00045 DeadHVS1S2S3Core = 1,
00047 DeadHVS1S2S3Edge = 2,
00048
00050 NonNominalHVPS = 3,
00052 NonNominalHVS1S2S3 = 4,
00053
00055 MissingFEBCellCore = 5,
00057 MissingFEBCellEdgePS = 6,
00059 MissingFEBCellEdgeS1 = 7,
00061 MissingFEBCellEdgeS2 = 8,
00063 MissingFEBCellEdgeS3 = 9,
00064
00066 MaskedCellCore = 10,
00068 MaskedCellEdgePS = 11,
00070 MaskedCellEdgeS1 = 12,
00072 MaskedCellEdgeS2 = 13,
00074 MaskedCellEdgeS3 = 14,
00076 BadS1Core = 15,
00078 SporadicNoiseLowQCore = 16,
00080 SporadicNoiseLowQEdge = 17,
00082 HighQCore = 18,
00084 HighQEdge = 19,
00086 AffectedCellCore = 20,
00088 AffectedCellEdgePS = 21,
00090 AffectedCellEdgeS1 = 22,
00092 AffectedCellEdgeS2 = 23,
00094 AffectedCellEdgeS3 = 24,
00096 HECHighQ = 25,
00098 OutTime =26,
00100 LArQCleaning=27,
00102 DeadCellTileS0=28,
00104 DeadCellTileS1S2=29
00105 };
00106
00109 const uint32_t BADCLUSELECTRON =
00110 0x1 << MaskedCellCore |
00111 0x1 << MissingFEBCellCore |
00112 0x1 << MissingFEBCellEdgeS1 |
00113 0x1 << MissingFEBCellEdgeS2 |
00114 0x1 << DeadHVS1S2S3Core |
00115 0x1 << DeadHVS1S2S3Edge ;
00116
00117 const uint32_t BADCLUSPHOTON =
00118 0x1 << MaskedCellCore |
00119 0x1 << MissingFEBCellCore |
00120 0x1 << MissingFEBCellEdgeS1 |
00121 0x1 << MissingFEBCellEdgeS2 |
00122 0x1 << DeadHVS1S2S3Core |
00123 0x1 << DeadHVS1S2S3Edge |
00124 0x1 << BadS1Core;
00125
00126 const uint32_t ALLOQ= 0xFFFFFFFF;
00127
00128
00129 struct ROOT6_NamespaceAutoloadHook{};
00130 }
00131 }
00132
00133 #endif // XAODEGAMMA_EGAMMADEFS_H