Beispiel #1
0
 def listOfSteps(self,pars) :
     import calculables.Other
     from steps import Print,Other,Histos,Filter
     return [ Print.progressPrinter(),
              Other.histogrammer("genpthat",200,0,1000,title=";#hat{p_{T}} (GeV);events / bin"),
              Histos.multiplicity("vertexIndices",max=15),
              Filter.multiplicity("vertexIndices",min=1),
              Filter.pt("muonP4PF", min = 25, indices = "muonIndicesPF", index=0),
              Histos.multiplicity("vertexIndices",max=15),
              calculables.Other.Ratio("nVertex", binning = (15,-0.5,14.5), thisSample = pars['baseSample'],
                                      target = ("SingleMu",[]), groups = [('qcd_mg',[]),('qcd_py6',[])],
                                      ),
              Histos.multiplicity("vertexIndices",max=15),
              ]
Beispiel #2
0
 def listOfSteps(self, params) :
     from steps import Print,Displayer,Other
     return [
         Print.progressPrinter(),
         #Other.variableGreaterFilter(675, "%sSumEt%s"%params["objects"]["jet"], suffix = "GeV"),
         Displayer.displayer(jets      = params["objects"]["jet"],
                             muons     = params["objects"]["muon"],
                             met       = params["objects"]["met"],
                             electrons = params["objects"]["electron"],
                             photons   = params["objects"]["photon"],                            
                             recHits   = params["objects"]["rechit"], recHitPtThreshold = 1.0,#GeV
                             scale = 400.0,#GeV
                             etRatherThanPt = params["etRatherThanPt"],
                             deltaPhiStarExtraName = params["lowPtName"],
                             deltaPhiStarCut = 0.5,
                             deltaPhiStarDR = 0.3,
                             j2Factor = params["thresholds"][2]/params["thresholds"][0],
                             mhtOverMetName = "%sMht%sOver%s"%(params["objects"]["jet"][0], params["objects"]["jet"][1]+params["highPtName"], params["objects"]["met"]),
                             metOtherAlgo  = params["objects"]["compMet"],
                             jetsOtherAlgo = params["objects"]["compJet"],
                             #doGenJets = True,
                             #prettyMode = True,
                             ),
         ]
Beispiel #3
0
 def listOfSteps(self,pars) :
     from steps import Print,Other
     return [ Print.progressPrinter(),
              Other.histogrammer("genpthat",200,0,1000,title=";#hat{p_{T}} (GeV);events / bin"),
              ]