00001
00002 #ifndef XAODPRIMITIVES_ISOLATIONCORRECTION_H
00003 #define XAODPRIMITIVES_ISOLATIONCORRECTION_H
00004 #include <bitset>
00005 #include <vector>
00006
00007 namespace xAOD {
00008
00009 namespace Iso {
00010
00013 enum IsolationCaloCorrection {
00015 noneCaloCorrection = 0,
00016
00018 coreMuon = 1,
00019
00021 core57cells = 2,
00022
00024 coreCone = 3,
00025
00027 ptCorrection = 4,
00028
00030 pileupCorrection = 5,
00031
00033 numIsolationCaloCorrections=6
00034
00035 };
00036
00037 static inline const char* toString(IsolationCaloCorrection corr)
00038 {
00039 switch (corr)
00040 {
00041 case noneCaloCorrection: return "none";
00042 case coreMuon: return "coreMuon";
00043 case core57cells: return "core57cells";
00044 case coreCone: return "coreCone";
00045 case ptCorrection: return "pt";
00046 case pileupCorrection: return "pileup";
00047 case numIsolationCaloCorrections:
00048 default: return "[Unknown IsolationCaloCorrection]";
00049 }
00050 }
00051
00052 enum IsolationTrackCorrection {
00054 noneTrackCorrection = 0,
00055
00057 coreTrackPtr = 1,
00058
00060 coreTrackCone = 2,
00061
00063 coreTrackPt = 3,
00064
00066 numIsolationTrackCorrections=4
00067
00068 };
00069
00070 static inline const char* toString(IsolationTrackCorrection corr)
00071 {
00072 switch (corr)
00073 {
00074 case noneTrackCorrection: return "none";
00075 case coreTrackPtr: return "coreTrackPtr";
00076 case coreTrackCone: return "coreTrackCone";
00077 case coreTrackPt: return "coreTrackPt";
00078 default: return "[Unknown IsolationTrackCorrection]";
00079 }
00080 }
00081
00082 enum IsolationCorrectionParameter {
00084 coreEnergy = 0,
00085
00087 coreArea = 1,
00088
00090 NumCorrParameters = 2
00091
00092 };
00093
00094 static inline const char* toString(IsolationCorrectionParameter corr)
00095 {
00096 switch (corr)
00097 {
00098 case coreEnergy: return "Energy";
00099 case coreArea: return "Area";
00100 default: return "[Unknown IsolationCorrectionParameter]";
00101 }
00102 }
00103
00105 typedef std::bitset<32> IsolationCaloCorrectionBitset;
00106 typedef std::bitset<32> IsolationTrackCorrectionBitset;
00107
00108 }
00109 }
00110
00111 #endif