Attachment 'siscone_bugfix.py'

Download

   1 import JetRec.JetGetters
   2 def getSISCone_corr( jetalgname    = "SISCone",
   3                 radius        = 0.4,
   4                 overlap       = 0.5,
   5                 npass         = 0,
   6                 seed          = 1.0 * GeV,
   7                 doCaching     = False,
   8                 SM_Scale      = "PtTilde",
   9                 SM_StopScale  = 0.0,
  10                 failIfMisconf = True,
  11                 areaMethod    = "none",
  12                 flipvalues    = 0 ):
  13     print 'CORR'
  14     fastcone = JetFastJetPluginSISCone(jetalgname)
  15     fastcone.Radius              = radius
  16     fastcone.OverlapThreshold    = overlap
  17     fastcone.NPassMax            = npass
  18     fastcone.ProtojetPtmin       = seed
  19     fastcone.DoCaching           = doCaching
  20     fastcone.SplitMergeScale     = SM_Scale
  21     fastcone.SplitMergeStopScale = SM_StopScale
  22     fastcone.FailIfMisconfigured = failIfMisconf
  23     
  24     #declareProperty("RecombScheme",  m_recombscheme);
  25     #declareProperty("Strategy",  m_strategy);
  26     
  27     #fastcone.Inclusive = inclusive
  28     calcArea = False
  29     if ( areaMethod != "none" ):
  30         calcArea = True
  31         fastcone.JetAreaMethod = areaMethod
  32     fastcone.CalculateJetArea = calcArea
  33     
  34     fastcone.StoreNFlipValues = flipvalues
  35     
  36     return fastcone
  37 
  38 print JetRec.JetGetters.getSISCone
  39 JetRec.JetGetters.getSISCone = getSISCone_corr
  40 print JetRec.JetGetters.getSISCone

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-08-21 08:41:56, 1.6 KB) [[attachment:BTagging_jobOptions.py]]
  • [get | view] (2009-08-21 08:56:15, 0.9 KB) [[attachment:LumiBlockDump_jobOptions.py]]
  • [get | view] (2009-08-21 08:52:05, 3.9 KB) [[attachment:TopElectroweakD3PD_Jets_subOptions.py]]
  • [get | view] (2009-08-21 08:26:14, 4.6 KB) [[attachment:TopPhysDPDSubmission]]
  • [get | view] (2009-08-21 08:52:14, 1.3 KB) [[attachment:siscone_bugfix.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.