00001
00002
00003 #ifndef XAODTAU_TAUDEFS_H
00004 #define XAODTAU_TAUDEFS_H
00005
00006
00007 #include "Math/Vector4D.h"
00008 #include <bitset>
00009
00011 namespace xAOD {
00012 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<float> > PtEtaPhiMVectorF;
00013
00014
00015
00016
00017
00018
00019 template <class T>
00020 struct xAODTAU_return_type;
00021
00022
00023 template <>
00024 struct xAODTAU_return_type<int> { typedef int type; };
00025
00026
00027 template <>
00028 struct xAODTAU_return_type<float> { typedef float type; };
00029
00030
00031 namespace TauJetParameters
00032 {
00033
00034
00035
00036
00037
00038
00040
00041 enum Author
00042 {
00043 unknown = 0,
00044 tauRec = 1,
00045 tau1P3P = 2,
00046 PanTau = 3
00047 };
00048
00049
00051
00052 enum TauID
00053 {
00055
00057 Likelihood = 2,
00059
00061
00063
00065
00067
00069
00071
00073
00075
00077
00079
00081
00083 BDTJetScore = 15,
00085 BDTEleScore = 16,
00087 SafeLikelihood = 17,
00089 BDTJetScoreSigTrans = 18,
00091 BDTJetScoreBkgTrans = 19,
00093 PanTauScore = 20
00094 };
00095
00096
00098
00099 enum VetoFlags
00100 {
00102 ElectronFlag = 0,
00104 EgammaFlag = 1,
00106 MuonFlag = 2
00107 };
00108
00109
00111
00112 enum IsTauFlag
00113 {
00114 TauCutLoose = 0,
00115 TauCutMedium = 1,
00116 TauCutTight = 2,
00117 ElectronVeto = 3,
00118 MuonVeto = 4,
00119 TauLlhTight = 5,
00120 TauLlhMedium = 6,
00121 TauLlhLoose = 7,
00122
00123
00124
00125
00126
00127
00128
00129
00130 ElectronVetoLoose = 16,
00131 ElectronVetoMedium = 17,
00132 ElectronVetoTight = 18,
00133 JetBDTSigLoose = 19,
00134 JetBDTSigMedium = 20,
00135 JetBDTSigTight = 21,
00136 EleBDTLoose = 22,
00137 EleBDTMedium = 23,
00138 EleBDTTight = 24,
00139
00140
00141
00142 JetBDTBkgLoose = 25,
00143 JetBDTBkgMedium = 26,
00144 JetBDTBkgTight = 27,
00145 PanTauScoreLoose = 28,
00146 PanTauScoreMedium = 29,
00147 PanTauScoreTight = 30
00148 };
00149
00150
00153
00154 enum Detail
00155 {
00156 ipZ0SinThetaSigLeadTrk,
00157 etOverPtLeadTrk,
00158 leadTrkPt,
00159 ipSigLeadTrk,
00160
00161
00162
00163
00164 massTrkSys,
00165 trkWidth2,
00166 trFlightPathSig,
00167 etEflow,
00168 mEflow,
00170 ele_E237E277,
00171 ele_PresamplerFraction,
00172 ele_ECALFirstFraction,
00173
00174 numCells,
00176 numTopoClusters,
00178 numEffTopoClusters,
00180 topoInvMass,
00182 effTopoInvMass,
00184 topoMeanDeltaR,
00186 effTopoMeanDeltaR,
00188
00189
00190
00193 EMRadius,
00195 hadRadius,
00197 etEMAtEMScale,
00199 etHadAtEMScale,
00201 isolFrac,
00203 centFrac,
00205 stripWidth2,
00207 nStrip,
00209 etEMCalib,
00211 etHadCalib,
00213 seedCalo_eta,
00215 seedCalo_phi,
00217
00219 trkAvgDist,
00221 trkRmsDist,
00223 lead2ClusterEOverAllClusterE,
00225 lead3ClusterEOverAllClusterE,
00227 caloIso,
00229 caloIsoCorrected,
00231 dRmax,
00232
00233
00235 secMaxStripEt,
00236 sumEMCellEtOverLeadTrkPt,
00237 hadLeakEt,
00238
00240 EM_TES_scale,
00242 LC_TES_precalib,
00243
00244
00246
00247
00248
00251 cellBasedEnergyRing1,
00253 cellBasedEnergyRing2,
00255 cellBasedEnergyRing3,
00257 cellBasedEnergyRing4,
00259 cellBasedEnergyRing5,
00261 cellBasedEnergyRing6,
00263 cellBasedEnergyRing7,
00265 TRT_NHT_OVER_NLT,
00267 TauJetVtxFraction,
00268
00269
00270 nPi0,
00271 nCharged,
00272 ptRatioEflow,
00273
00274 nPi0Topo,
00275 nChargedTopo,
00276 etEflowTopo,
00277 mEflowTopo,
00278 ptRatioEflowTopo,
00279
00280
00281
00282 PSSFraction,
00283 ChPiEMEOverCaloEME,
00284 EMPOverTrkSysP,
00285
00286
00287 TESOffset,
00288 TESCalibConstant,
00289
00290 centFracCorrected,
00291 etOverPtLeadTrkCorrected,
00292 innerTrkAvgDist,
00293 innerTrkAvgDistCorrected,
00294 SumPtTrkFrac,
00295 SumPtTrkFracCorrected,
00296
00297 mEflowApprox,
00298 ptRatioEflowApprox,
00299
00301 ipSigLeadTrkCorrected,
00302 trFlightPathSigCorrected,
00303 massTrkSysCorrected,
00304 dRmaxCorrected,
00305 ChPiEMEOverCaloEMECorrected,
00306 EMPOverTrkSysPCorrected,
00307 ptRatioEflowApproxCorrected,
00308 mEflowApproxCorrected
00309
00310
00311 };
00312
00313
00315
00316 enum SeedTypes
00317 {
00318 CaloObject = 0,
00319 Track = 1
00320 };
00321
00322
00324
00325 enum TauCalibType
00326 {
00327 JetSeed=0,
00328 DetectorAxis=1,
00329 IntermediateAxis=2,
00330 TauEnergyScale=3,
00331 TauEtaCalib=4,
00332 PanTauEFlowRecProto=5,
00333 PanTauEFlowRec=6,
00334 PanTauCellBasedProto=7,
00335 PanTauCellBased=8,
00336 TrigCaloOnly=9
00337 };
00338
00339
00340
00341
00343
00344
00346
00347 enum TauHLVType
00348 {
00349 Pantau_JetSeed=0,
00350
00351 PanTau_eflowRec_Proto=1,
00352 PanTau_eflowRec=2,
00353 PanTau_CellBased_Proto=3,
00354 PanTau_CellBased=4
00355 };
00356
00357
00358
00360
00361 enum PanTauDetails
00362 {
00364
00365 pantau_CellBasedInput_isPanTauCandidate,
00366
00367 pantau_CellBasedInput_DecayModeProto,
00368 pantau_CellBasedInput_DecayMode,
00369
00370 pantau_CellBasedInput_BDTValue_1p0n_vs_1p1n,
00371 pantau_CellBasedInput_BDTValue_1p1n_vs_1pXn,
00372 pantau_CellBasedInput_BDTValue_3p0n_vs_3pXn,
00373
00374 pantau_CellBasedInput_BDTVar_Basic_NNeutralConsts,
00375 pantau_CellBasedInput_BDTVar_Charged_JetMoment_EtDRxTotalEt,
00376 pantau_CellBasedInput_BDTVar_Charged_StdDev_Et_WrtEtAllConsts,
00377 pantau_CellBasedInput_BDTVar_Neutral_HLV_SumM,
00378 pantau_CellBasedInput_BDTVar_Neutral_PID_BDTValues_BDTSort_1,
00379 pantau_CellBasedInput_BDTVar_Neutral_PID_BDTValues_BDTSort_2,
00380 pantau_CellBasedInput_BDTVar_Neutral_Ratio_1stBDTEtOverEtAllConsts,
00381 pantau_CellBasedInput_BDTVar_Neutral_Ratio_EtOverEtAllConsts,
00382 pantau_CellBasedInput_BDTVar_Neutral_Shots_NPhotonsInSeed,
00383 pantau_CellBasedInput_BDTVar_Combined_DeltaR1stNeutralTo1stCharged,
00384
00386
00387 pantau_eflowRecInput_isPanTauCandidate,
00388
00389 pantau_eflowRecInput_DecayModeProto,
00390 pantau_eflowRecInput_DecayMode,
00391
00392 pantau_eflowRecInput_BDTValue_1p0n_vs_1p1n,
00393 pantau_eflowRecInput_BDTValue_1p1n_vs_1pXn,
00394 pantau_eflowRecInput_BDTValue_3p0n_vs_3pXn,
00395
00396
00397 pantau_eflowRecInput_BDTVar_Basic_NPi0NeutConsts,
00398 pantau_eflowRecInput_BDTVar_Basic_NNeutralConsts,
00399 pantau_eflowRecInput_BDTVar_Charged_HLV_SumPt,
00400 pantau_eflowRecInput_BDTVar_Charged_Ratio_EtOverEtAllConsts,
00401 pantau_eflowRecInput_BDTVar_Neutral_HLV_SumM,
00402 pantau_eflowRecInput_BDTVar_Neutral_PID_BDTValues_EtSort_1,
00403 pantau_eflowRecInput_BDTVar_Neutral_PID_BDTValues_BDTSort_2,
00404 pantau_eflowRecInput_BDTVar_Neutral_Ratio_EtOverEtAllConsts,
00405 pantau_eflowRecInput_BDTVar_Neutral_Mean_DRToLeading_WrtEtAllConsts,
00406 pantau_eflowRecInput_BDTVar_Combined_DeltaR1stNeutralTo1stCharged,
00407
00408
00409
00410 pantau_CellBasedInput_BDTVar_Charged_HLV_SumM
00411
00412 };
00413
00414
00415
00417
00418
00419 enum PanTau_Constituents
00420 {
00422
00423 pantau_CellBasedInput_ChargedConstituents,
00424 pantau_CellBasedInput_Neutral
00425 };
00426
00427 enum DecayMode
00428 {
00429 Mode_1p0n,
00430 Mode_1p1n,
00431 Mode_1pXn,
00432 Mode_3p0n,
00433 Mode_3pXn,
00434 Mode_Other,
00435 Mode_NotSet,
00436 Mode_Error
00437 };
00438
00439
00441
00442 enum TauTrackFlag
00443 {
00444 isConversion = 0,
00445 failTrackFilter = 1
00446 };
00447
00448 }
00449
00450 }
00451
00452 #endif // XAODTAU_TAUDEFS_H