00001 #ifndef DataFormats_JetReco_interface_JetID_h 00002 #define DataFormats_JetReco_interface_JetID_h 00003 00013 #include "DataFormats/Common/interface/ValueMap.h" 00014 00015 namespace reco { 00016 struct JetID { 00017 00018 // initialize 00019 JetID() { 00020 fHPD= 0.0; 00021 fRBX= 0.0; 00022 n90Hits= 0; 00023 fSubDetector1= 0.0; 00024 fSubDetector2= 0.0; 00025 fSubDetector3= 0.0; 00026 fSubDetector4= 0.0; 00027 restrictedEMF= 0.0; 00028 nHCALTowers= 0; 00029 nECALTowers= 0; 00030 approximatefHPD= 0.0; 00031 approximatefRBX= 0.0; 00032 hitsInN90= 0; 00033 numberOfHits2RPC= 0; 00034 numberOfHits3RPC= 0; 00035 numberOfHitsRPC= 0; 00036 00037 fEB = fEE = fHB = fHE = fHO = fLong = fShort = 0.0; 00038 fLS = fHFOOT = 0.0; 00039 00040 } 00041 00042 00043 00044 // hcal+ecal id 00045 float fHPD; 00046 float fRBX; 00047 short n90Hits; 00048 float fSubDetector1; 00049 float fSubDetector2; 00050 float fSubDetector3; 00051 float fSubDetector4; 00052 float restrictedEMF; 00053 short nHCALTowers; 00054 short nECALTowers; 00055 float approximatefHPD; 00056 float approximatefRBX; 00057 short hitsInN90; 00058 // muon hits id 00059 short numberOfHits2RPC; 00060 short numberOfHits3RPC; 00061 short numberOfHitsRPC; 00062 00063 float fEB, fEE, fHB, fHE, fHO, fLong, fShort; 00064 float fLS, fHFOOT; 00065 00066 }; 00067 00068 typedef edm::ValueMap<JetID> JetIDValueMap; 00069 } 00070 00071 #endif