Esempio n. 1
0
 def update(self,ignored) :
     self.value = utils.hackMap(self.cIso,
                      self.source[self.IsoCombined],
                      self.source[self.P4]) if self.combined else \
                  utils.hackMap(self.relIso,
                      self.source[self.TrackIsoRel],
                      self.source[self.EcalIsoRel],
                      self.source[self.HcalIsoRel],
                      self.source[self.P4])
Esempio n. 2
0
File: Muon.py Progetto: aharel/supy
 def update(self,ignored) :
     self.value = utils.hackMap(self.tight,
                      self.source[self.IsTrackerMuon],
                      self.source[self.IDGlobalMuonPromptTight],
                      self.source[self.NumberOfMatches],
                      self.source[self.InnerTrackNumberOfValidHits],
                      self.source[self.NumberOfValidPixelHits],
                      self.source[self.GlobalTrackDxy])    
Esempio n. 3
0
 def update(self,ignored) :
     self.value = utils.hackMap(self.passId, 
                      self.source[self.p4Name],
                      self.source[self.EcalRecHitEtConeDR04],
                      self.source[self.HcalTowSumEtConeDR04],
                      self.source[self.HadronicOverEm],
                      self.source[self.TrkSumPtHollowConeDR04],
                      self.source[self.SigmaIetaIeta],
                      self.source[self.HasPixelSeed],
                      )
Esempio n. 4
0
 def update(self,ignored) :
     self.value = utils.hackMap(self.id, 
                      self.source[self.HcalOverEcal],
                      self.source[self.DeltaPhiSuperClusterTrackAtVtx],
                      self.source[self.DeltaEtaSuperClusterTrackAtVtx],
                      self.source[self.SigmaIetaIeta],
                      self.source[self.ConversionMissingHits],
                      self.source[self.ConversionDist],
                      self.source[self.ConversionDCot],
                      self.source[self.P4])
Esempio n. 5
0
 def update(self,ignored) :
     self.value = utils.hackMap(self.id, self.source["vertexIsFake"],self.source["vertexNdof"],self.source["vertexPosition"])
Esempio n. 6
0
File: Muon.py Progetto: aharel/supy
 def update(self,ignored) :
     self.value = utils.hackMap(self.hcalreliso, self.source[self.HcalIso],self.source[self.P4] )
Esempio n. 7
0
File: Muon.py Progetto: aharel/supy
 def update(self,ignored) :
     self.value = utils.hackMap(self.trackreliso, self.source[self.TrackIso],self.source[self.P4] )
Esempio n. 8
0
File: Muon.py Progetto: aharel/supy
 def update(self,ignored) :
     self.value = utils.hackMap(self.combinedRelativeIso,
                      self.source[self.TrackIso],
                      self.source[self.EcalIso],
                      self.source[self.HcalIso],
                      self.source[self.P4])
Esempio n. 9
0
 def update(self,ignored) : 
     self.value = utils.hackMap(self.matrix , self.source[self.CorrectedP4] , self.source[self.Resolution] )
Esempio n. 10
0
 def update(self, ignored) :
     self.value = utils.hackMap(self.res, self.source[self.CorrectedP4])
Esempio n. 11
0
 def update(self,ignored) :
     #self.value = sum([p4.pt() for p4 in self.source[self.CorrectedP4]])
     self.value = sum(utils.hackMap(lambda p4: p4.pt(), self.source[self.CorrectedP4]))
Esempio n. 12
0
    def update(self,ignored) : self.value = utils.hackMap(self.relIso, self.source[self.isoSource], self.source[self.P4])
    
class TrackIsoRel(IsoRel) :
Esempio n. 13
0
 def update(self,ignored) :
     self.value = utils.hackMap(self.combinedIso,
                      self.source[self.Dr03TkSumPt],
                      self.source[self.Dr03EcalRecHitSumEt],
                      self.source[self.Dr03HcalTowerSumEt],
                      self.source[self.P4])