CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
RecoTauValidation_cfi.ApplyFunctionToSequence Class Reference

The plotting of HPS Efficiencies. More...

Public Member Functions

def __init__ (self, function)
 
def enter (self, module)
 
def leave (self, module)
 

Public Attributes

 functor
 

Detailed Description

The plotting of HPS Efficiencies.

plotHPSEfficiencies = DQMEDAnalyzer("TauDQMHistPlotter", standardDrawingStuff, standardCompareTestAndReference, drawJobs = Utils.SpawnDrawJobs(RunHPSValidation, plotPset), outputFilePath = cms.string('./hpsPFTauProducer/'), PrintToFile = cms.bool(True) ) clone for DQM plotHPSEfficiencies2 = plotHPSEfficiencies.clone()

The plotting of all the Shrinking cone leading pion efficiencies

plotPFTauHighEfficiencyEfficienciesLeadingPion = DQMEDAnalyzer("TauDQMHistPlotter", standardDrawingStuff, standardCompareTestAndReference, drawJobs = Utils.SpawnDrawJobs(PFTausHighEfficiencyLeadingPionBothProngs, plotPset), outputFilePath = cms.string('./shrinkingConePFTauProducerLeadingPion/'), PrintToFile = cms.bool(True) ) clone for DQM plotPFTauHighEfficiencyEfficienciesLeadingPion2 = plotPFTauHighEfficiencyEfficienciesLeadingPion.clone() plotTauValidation = cms.Sequence( plotPFTauHighEfficiencyEfficienciesLeadingPion +plotHPSEfficiencies ) plotTauValidation2 = cms.Sequence( plotPFTauHighEfficiencyEfficienciesLeadingPion2 +plotHPSEfficiencies2 ) loadAndPlotTauValidation = cms.Sequence( loadTau +plotTauValidation )

Helper class that applies a given function to all modules
    in a sequence 

Definition at line 440 of file RecoTauValidation_cfi.py.

Constructor & Destructor Documentation

◆ __init__()

def RecoTauValidation_cfi.ApplyFunctionToSequence.__init__ (   self,
  function 
)

Definition at line 443 of file RecoTauValidation_cfi.py.

443  def __init__(self,function):
444  self.functor = function
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ enter()

def RecoTauValidation_cfi.ApplyFunctionToSequence.enter (   self,
  module 
)

Definition at line 445 of file RecoTauValidation_cfi.py.

References AbsFFTJetScaleCalculator< Jet, Adjustable >.functor, and RecoTauValidation_cfi.ApplyFunctionToSequence.functor.

445  def enter(self, module):
446  self.functor(module)

◆ leave()

def RecoTauValidation_cfi.ApplyFunctionToSequence.leave (   self,
  module 
)

Definition at line 447 of file RecoTauValidation_cfi.py.

447  def leave(self, module):
448  pass
449 

Member Data Documentation

◆ functor

RecoTauValidation_cfi.ApplyFunctionToSequence.functor