CMS 3D CMS Logo

Classes | Functions | Variables

RecoTauValidation_cfi Namespace Reference

Classes

class  ApplyFunctionToSequence

Functions

def ConvertDrawJobToLegacyCompare
def MakeLabeler
def RemoveComparisonPlotCommands
def SetBaseDirectory
def SetCompareToLegacyProductNames
def SetLogScale
def SetPlotDirectory
def SetPlotOnlyStepByStep
def SetReferenceFileToPlot
def SetSmartLogScale
def SetTestAndReferenceLabels
def SetTestFileToPlot
def SetYmodulesToLog
def TranslateToLegacyProdNames

Variables

tuple CaloTausBothProngs
tuple CaloTausBothProngs2 = CaloTausBothProngs.clone()
tuple denominator = cms.InputTag("kinematicSelectedTauValDenominator")
list drawOptModifiers = [['eff_overlay01',['markerColor','lineColor'],[1,1]],['eff_overlay02',['markerColor','lineColor'],[2,2]],['eff_overlay03',['markerColor','lineColor'],[3,3]],['eff_overlay04',['markerColor','lineColor'],[4,4]],['eff_overlay05',['markerColor','lineColor'],[6,6]],['eff_overlay06',['markerColor','lineColor'],[5,5]],['eff_overlay07',['markerColor','lineColor'],[7,7]],['eff_overlay08',['markerColor','lineColor'],[28,28]],['eff_overlay09',['markerColor','lineColor','markerStyle'],[2,2,29]],['eff_overlay010',['markerColor','lineColor','markerStyle'],[4,4,29]],['eff_overlay011',['markerColor','lineColor','markerStyle'],[6,6,29]]]
tuple drawOptStuff
tuple kinematicSelectedTauValDenominator
list legModifiers = [['efficiency',['posY','sizeY'],[0.72,0.17]],['efficiency_overlay',['posY','sizeY'],[0.66,0.23]]]
tuple legStuff
tuple loadAndPlotTauValidation
tuple loadTau
tuple PFTausHighEfficiencyBothProngs
tuple PFTausHighEfficiencyBothProngs2 = PFTausHighEfficiencyBothProngs.clone()
tuple PFTausHighEfficiencyLeadingPionBothProngs
tuple PFTausHighEfficiencyLeadingPionBothProngs2 = PFTausHighEfficiencyLeadingPionBothProngs.clone()
tuple plotCaloTauEfficiencies
 The plotting of all the CaloTau ID efficiencies.
tuple plotCaloTauEfficiencies2 = plotCaloTauEfficiencies.clone()
tuple plotHPSEfficiencies
 The plotting of HPS Efficiencies.
tuple plotHPSEfficiencies2 = plotHPSEfficiencies.clone()
tuple plotPFTauEfficiencies_hps
 The plotting of all the HPS TaNC efficiencies.
tuple plotPFTauEfficiencies_hps2 = plotPFTauEfficiencies_hps.clone()
tuple plotPFTauEfficiencies_tanc
tuple plotPFTauEfficiencies_tanc2 = plotPFTauEfficiencies_tanc.clone()
tuple plotPFTauHighEfficiencyEfficiencies
 The plotting of all the PFTauHighEfficiencies ID efficiencies.
tuple plotPFTauHighEfficiencyEfficiencies2 = plotPFTauHighEfficiencyEfficiencies.clone()
tuple plotPFTauHighEfficiencyEfficienciesLeadingPion
 The plotting of all the Shrinking cone leading pion efficiencies.
tuple plotPFTauHighEfficiencyEfficienciesLeadingPion2 = plotPFTauHighEfficiencyEfficienciesLeadingPion.clone()
tuple plotPset = Utils.SetPlotSequence(TauValNumeratorAndDenominator)
tuple plotTancValidation
 The plotting of all the TaNC efficiencies.
tuple plotTancValidation2 = plotTancValidation.clone()
tuple plotTauValidation
tuple plotTauValidation2
tuple RunHPSTanc_HPSValidation = copy.deepcopy(PFTausHighEfficiencyBothProngs)
tuple RunHPSTanc_HPSValidation2 = RunHPSTanc_HPSValidation.clone()
tuple RunHPSTanc_TANCValidation = copy.deepcopy(PFTausHighEfficiencyBothProngs)
tuple RunHPSTanc_TANCValidation2 = RunHPSTanc_TANCValidation.clone()
tuple RunHPSValidation = copy.deepcopy(PFTausHighEfficiencyBothProngs)
tuple RunHPSValidation2 = RunHPSValidation.clone()
tuple RunTancValidation = copy.deepcopy(PFTausHighEfficiencyBothProngs)
tuple RunTancValidation2 = RunTancValidation.clone()
tuple standardCompareTestAndReference
tuple standardDrawingStuff
tuple StandardMatchingParameters
tuple TauEfficiencies
tuple TauValNumeratorAndDenominator
tuple TauValNumeratorAndDenominator2
tuple xAxisStuff
list xModifiers = [['pt',['xAxisTitle'],['P_{T} / GeV']],['eta',['xAxisTitle'],['#eta']],['phi',['xAxisTitle'],['#phi']],['pileup',['xAxisTitle'],['# of Reco Vertices']]]
tuple yAxisStuff
list yModifiers = [['efficiency',['yScale','yAxisTitle'],['linear','#varepsilon']],['fakeRate',['yScale','yAxisTitle'],['log','Fake rate']]]

Function Documentation

def RecoTauValidation_cfi::ConvertDrawJobToLegacyCompare (   input)
Converts a draw job defined to compare 31X named PFTau validtion efficiencies
    to comapre a 31X to a 22X named validation 

Definition at line 556 of file RecoTauValidation_cfi.py.

00557                                         :
00558    """ Converts a draw job defined to compare 31X named PFTau validtion efficiencies
00559        to comapre a 31X to a 22X named validation """
00560    # get the list of drawjobs { name : copyOfPSet }
00561    if not hasattr(input, "drawJobs"):
00562       return
00563    myDrawJobs = input.drawJobs.parameters_()
00564    for drawJobName, drawJobData in myDrawJobs.iteritems():
00565       print drawJobData
00566       if not drawJobData.plots.pythonTypeName() == "cms.PSet":
00567          continue
00568       pSetToInsert = cms.PSet(
00569             standardEfficiencyParameters,
00570             plots = cms.VPSet(
00571                # test plot w/ modern names
00572                cms.PSet(
00573                   dqmMonitorElements = drawJobData.plots.dqmMonitorElements,
00574                   process = cms.string('test'),
00575                   drawOptionEntry = cms.string('eff_overlay01'),
00576                   legendEntry = cms.string(input.processes.test.legendEntry.value())
00577                   ),
00578                # ref plot w/ vintage name
00579                cms.PSet(
00580                   # translate the name
00581                   dqmMonitorElements = cms.vstring(TranslateToLegacyProdNames(drawJobData.plots.dqmMonitorElements.value()[0])),
00582                   process = cms.string('reference'),
00583                   drawOptionEntry = cms.string('eff_overlay02'),
00584                   legendEntry = cms.string(input.processes.reference.legendEntry.value())
00585                   )
00586                )
00587             )
00588       input.drawJobs.__setattr__(drawJobName, pSetToInsert)

def RecoTauValidation_cfi::MakeLabeler (   TestLabel,
  ReferenceLabel 
)

Definition at line 589 of file RecoTauValidation_cfi.py.

00590                                           :
00591    def labeler(module):
00592       if hasattr(module, 'processes'):
00593          if module.processes.hasParameter(['test', 'legendEntry']) and module.processes.hasParameter([ 'reference', 'legendEntry']):
00594             module.processes.test.legendEntry = TestLabel
00595             module.processes.reference.legendEntry = ReferenceLabel
00596             print "Set test label to %s and reference label to %s for plot producer %s" % (TestLabel, ReferenceLabel, module.label())
00597          else:
00598             print "ERROR in RecoTauValidation_cfi::MakeLabeler - trying to set test/reference label but %s does not have processes.(test/reference).legendEntry parameters!" % module.label()
00599    return labeler

def RecoTauValidation_cfi::RemoveComparisonPlotCommands (   module)

Definition at line 635 of file RecoTauValidation_cfi.py.

00636                                         :
00637    if hasattr(module, 'drawJobs'):
00638       #get draw job parameter names
00639       drawJobs = module.drawJobs.parameterNames_()
00640       for drawJob in drawJobs:
00641          if drawJob != "TauIdEffStepByStep":
00642             module.drawJobs.__delattr__(drawJob)
00643             print "Removing comparison plot", drawJob

def RecoTauValidation_cfi::SetBaseDirectory (   Directory)

Definition at line 622 of file RecoTauValidation_cfi.py.

00623                                :
00624    def BaseDirectorizer(module):
00625       newPath = Directory
00626       #if module.hasParameter("outputFilePath"):
00627       if hasattr(module, "outputFilePath"):
00628          oldPath = module.outputFilePath.value()
00629          newPath = os.path.join(newPath, oldPath)
00630          if not os.path.exists(newPath):
00631             os.makedirs(newPath)
00632          print newPath
00633          module.outputFilePath = cms.string("%s" % newPath)
00634    return BaseDirectorizer

def RecoTauValidation_cfi::SetCompareToLegacyProductNames (   myPlottingSequence)

Definition at line 652 of file RecoTauValidation_cfi.py.

00653                                                       :
00654    myFunctor = ApplyFunctionToSequence(ConvertDrawJobToLegacyCompare)
00655    myPlottingSequence.visit(myFunctor)

def RecoTauValidation_cfi::SetLogScale (   myPlottingSequence)

Definition at line 665 of file RecoTauValidation_cfi.py.

00666                                    :
00667    myFunctor = ApplyFunctionToSequence(SetYmodulesToLog())
00668    myPlottingSequence.visit(myFunctor)

def RecoTauValidation_cfi::SetPlotDirectory (   myPlottingSequence,
  directory 
)

Definition at line 644 of file RecoTauValidation_cfi.py.

00645                                                    :
00646    myFunctor = ApplyFunctionToSequence(SetBaseDirectory(directory))
00647    myPlottingSequence.visit(myFunctor)

def RecoTauValidation_cfi::SetPlotOnlyStepByStep (   myPlottingSequence)

Definition at line 673 of file RecoTauValidation_cfi.py.

00674                                              :
00675    myFunctor = ApplyFunctionToSequence(RemoveComparisonPlotCommands)
00676    myPlottingSequence.visit(myFunctor)
def RecoTauValidation_cfi::SetReferenceFileToPlot (   myProcess,
  FileLoc 
)

Definition at line 659 of file RecoTauValidation_cfi.py.

00660                                               :
00661    if FileLoc == None:
00662       del myProcess.loadTau.reference
00663    else:
00664       myProcess.loadTau.reference.inputFileNames = cms.vstring(FileLoc)

def RecoTauValidation_cfi::SetSmartLogScale (   myPlottingSequence)

Definition at line 669 of file RecoTauValidation_cfi.py.

00670                                         :
00671    myFunctor = ApplyFunctionToSequence(SetYmodulesToLog(['Electron', 'Muon', 'Isolation', 'TaNC']))
00672    myPlottingSequence.visit(myFunctor)

def RecoTauValidation_cfi::SetTestAndReferenceLabels (   myPlottingSequence,
  TestLabel,
  ReferenceLabel 
)

Definition at line 648 of file RecoTauValidation_cfi.py.

00649                                                                             :
00650    myFunctor = ApplyFunctionToSequence(MakeLabeler(TestLabel, ReferenceLabel))
00651    myPlottingSequence.visit(myFunctor)

def RecoTauValidation_cfi::SetTestFileToPlot (   myProcess,
  FileLoc 
)

Definition at line 656 of file RecoTauValidation_cfi.py.

00657                                          :
00658    myProcess.loadTau.test.inputFileNames = cms.vstring(FileLoc)

def RecoTauValidation_cfi::SetYmodulesToLog (   matchingNames = [])
set all modules whose name contains one of the matching names to log y scale

Definition at line 600 of file RecoTauValidation_cfi.py.

00601                                         :
00602    ''' set all modules whose name contains one of the matching names to log y scale'''
00603    def yLogger(module):
00604       ''' set a module to use log scaling in the yAxis'''
00605       if hasattr(module, 'drawJobs'):
00606          print "EK DEBUG"
00607          drawJobParamGetter = lambda subName : getattr(module.drawJobs, subName)
00608          #for subModule in [getattr(module.drawJobs, subModuleName) for subModuleName in dir(module.drawJobs)]:
00609          attrNames = dir(module.drawJobs)
00610          for subModuleName, subModule in zip(attrNames, map(drawJobParamGetter, attrNames)):
00611             matchedNames = [name for name in matchingNames if subModuleName.find( name) > -1] # matching sub strings
00612             if len(matchingNames) == 0:
00613                matchedNames = ['take','everything','and','dont','bother']
00614             if hasattr(subModule, "yAxis") and len(matchedNames):
00615                print "Setting drawJob: ", subModuleName, " to log scale."
00616                subModule.yAxis = cms.string('fakeRate') #'fakeRate' configuration specifies the log scaling
00617          if len(matchingNames) == 0: 
00618             module.yAxes.efficiency.maxY_log = 40
00619             module.yAxes.fakeRate.maxY_log = 40
00620    return yLogger
00621 

def RecoTauValidation_cfi::TranslateToLegacyProdNames (   input)

Definition at line 545 of file RecoTauValidation_cfi.py.

00546                                      :
00547    input = re.sub('fixedConePFTauProducer', 'pfRecoTauProducer', input)
00548    #fixedDiscriminationRegex = re.compile('fixedConePFTauDiscrimination( \w* )')
00549    fixedDiscriminationRegex = re.compile('fixedConePFTauDiscrimination(\w*)')
00550    input = fixedDiscriminationRegex.sub(r'pfRecoTauDiscrimination\1', input)
00551    input = re.sub('shrinkingConePFTauProducer', 'pfRecoTauProducerHighEfficiency', input)
00552    shrinkingDiscriminationRegex = re.compile('shrinkingConePFTauDiscrimination(\w*)')
00553    input = shrinkingDiscriminationRegex.sub(r'pfRecoTauDiscrimination\1HighEfficiency', input)
00554    return input
00555 


Variable Documentation

Initial value:
00001 cms.EDAnalyzer("TauTagValidation",
00002    StandardMatchingParameters,
00003    ExtensionName                = cms.string(""),
00004    TauProducer                  = cms.InputTag('caloRecoTauProducer'),
00005    discriminators = cms.VPSet(
00006     cms.PSet( discriminator = cms.string("caloRecoTauDiscriminationByLeadingTrackFinding"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00007     cms.PSet( discriminator = cms.string("caloRecoTauDiscriminationByLeadingTrackPtCut"),selectionCut = cms.double(0.5),plotStep = cms.bool(False)), #not plotted
00008     cms.PSet( discriminator = cms.string("caloRecoTauDiscriminationByIsolation"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00009     cms.PSet( discriminator = cms.string("caloRecoTauDiscriminationAgainstElectron"),selectionCut = cms.double(0.5),plotStep = cms.bool(True))
00010  )
00011 )

Definition at line 206 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::CaloTausBothProngs2 = CaloTausBothProngs.clone()

Definition at line 218 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::denominator = cms.InputTag("kinematicSelectedTauValDenominator")
list RecoTauValidation_cfi::drawOptModifiers = [['eff_overlay01',['markerColor','lineColor'],[1,1]],['eff_overlay02',['markerColor','lineColor'],[2,2]],['eff_overlay03',['markerColor','lineColor'],[3,3]],['eff_overlay04',['markerColor','lineColor'],[4,4]],['eff_overlay05',['markerColor','lineColor'],[6,6]],['eff_overlay06',['markerColor','lineColor'],[5,5]],['eff_overlay07',['markerColor','lineColor'],[7,7]],['eff_overlay08',['markerColor','lineColor'],[28,28]],['eff_overlay09',['markerColor','lineColor','markerStyle'],[2,2,29]],['eff_overlay010',['markerColor','lineColor','markerStyle'],[4,4,29]],['eff_overlay011',['markerColor','lineColor','markerStyle'],[6,6,29]]]

Definition at line 325 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.PSet(
00002    markerColor = cms.int32(1),
00003    markerSize = cms.double(1.),
00004    markerStyle = cms.int32(20),
00005    lineColor = cms.int32(1),
00006    lineStyle = cms.int32(1),
00007    lineWidth = cms.int32(2),
00008    drawOption = cms.string('ex0'),
00009    drawOptionLegend = cms.string('p')
00010 )

Definition at line 315 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDFilter("GenJetSelector",
00002      src = cms.InputTag("objectTypeSelectedTauValDenominator"),
00003      cut = cms.string('pt > 5. && abs(eta) < 2.5'),
00004      filter = cms.bool(False)
00005 )

Definition at line 74 of file RecoTauValidation_cfi.py.

list RecoTauValidation_cfi::legModifiers = [['efficiency',['posY','sizeY'],[0.72,0.17]],['efficiency_overlay',['posY','sizeY'],[0.66,0.23]]]

Definition at line 313 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.PSet(
00002    posX = cms.double(0.50),
00003    posY = cms.double(0.72),
00004    sizeX = cms.double(0.39),
00005    sizeY = cms.double(0.17),
00006    header = cms.string(''),
00007    option = cms.string('brNDC'),
00008    borderSize = cms.int32(0),
00009    fillColor = cms.int32(0)
00010 )

Definition at line 303 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.Sequence(
00002       loadTau
00003       +plotTauValidation
00004       )

Definition at line 524 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMFileLoader",
00002   test = cms.PSet(
00003     #inputFileNames = cms.vstring('/afs/cern.ch/user/f/friis/scratch0/MyValidationArea/310pre6NewTags/src/Validation/RecoTau/test/CMSSW_3_1_0_pre6_ZTT_0505Fixes.root'),
00004     inputFileNames = cms.vstring('/opt/sbg/cms/ui4_data1/dbodin/CMSSW_3_5_1/src/TauID/QCD_recoFiles/TauVal_CMSSW_3_6_0_QCD.root'),
00005     scaleFactor = cms.double(1.),
00006     dqmDirectory_store = cms.string('test')
00007   ),
00008   reference = cms.PSet(
00009     inputFileNames = cms.vstring('/opt/sbg/cms/ui4_data1/dbodin/CMSSW_3_5_1/src/TauID/QCD_recoFiles/TauVal_CMSSW_3_6_0_QCD.root'),
00010     scaleFactor = cms.double(1.),
00011     dqmDirectory_store = cms.string('reference')
00012   )
00013 )

Definition at line 267 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("TauTagValidation",
00002    StandardMatchingParameters,
00003    ExtensionName                = cms.string(""),
00004    TauProducer                  = cms.InputTag('shrinkingConePFTauProducer'),
00005    discriminators               = cms.VPSet(
00006     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByLeadingTrackFinding"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00007     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByLeadingTrackPtCut"),selectionCut = cms.double(0.5),plotStep = cms.bool(False)), #not plotted
00008     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByTrackIsolation"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00009     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByECALIsolation"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00010     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationAgainstElectron"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00011     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationAgainstMuon"),selectionCut = cms.double(0.5),plotStep = cms.bool(True))
00012  )
00013 )

Definition at line 119 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::PFTausHighEfficiencyBothProngs2 = PFTausHighEfficiencyBothProngs.clone()

Definition at line 133 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("TauTagValidation",
00002    StandardMatchingParameters,
00003    ExtensionName                = cms.string("LeadingPion"),
00004    TauProducer                  = cms.InputTag('shrinkingConePFTauProducer'),
00005    discriminators               = cms.VPSet(
00006     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByLeadingTrackFinding"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00007     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByLeadingPionPtCut"),selectionCut = cms.double(0.5),plotStep = cms.bool(False)), #not plotted
00008     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByTrackIsolationUsingLeadingPion"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00009     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationByECALIsolationUsingLeadingPion"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00010     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationAgainstElectron"),selectionCut = cms.double(0.5),plotStep = cms.bool(True)),
00011     cms.PSet( discriminator = cms.string("shrinkingConePFTauDiscriminationAgainstMuon"),selectionCut = cms.double(0.5),plotStep = cms.bool(True))
00012  )
00013 )

Definition at line 103 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::PFTausHighEfficiencyLeadingPionBothProngs2 = PFTausHighEfficiencyLeadingPionBothProngs.clone()

Definition at line 117 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                          standardDrawingStuff,
00003                                          standardCompareTestAndReference,
00004                                          drawJobs = Utils.SpawnDrawJobs(CaloTausBothProngs, plotPset),
00005                                          outputFilePath = cms.string('./caloRecoTauProducer/'),
00006                                          PrintToFile = cms.bool(True)
00007                                          )

The plotting of all the CaloTau ID efficiencies.

Definition at line 462 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotCaloTauEfficiencies2 = plotCaloTauEfficiencies.clone()

Definition at line 470 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                      standardDrawingStuff,
00003                                      standardCompareTestAndReference,
00004                                      drawJobs = Utils.SpawnDrawJobs(RunHPSValidation, plotPset),
00005                                      outputFilePath = cms.string('./hpsPFTauProducer/'),
00006                                      PrintToFile = cms.bool(True)
00007                                      )

The plotting of HPS Efficiencies.

Definition at line 432 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotHPSEfficiencies2 = plotHPSEfficiencies.clone()

Definition at line 440 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                            standardDrawingStuff,
00003                                            standardCompareTestAndReference,
00004                                            drawJobs = Utils.SpawnDrawJobs(RunHPSTanc_HPSValidation, plotPset),
00005                                            outputFilePath = cms.string('./HPSTancTaus_HPS/'),
00006                                            PrintToFile = cms.bool(True)
00007                                            )

The plotting of all the HPS TaNC efficiencies.

Definition at line 407 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotPFTauEfficiencies_hps2 = plotPFTauEfficiencies_hps.clone()

Definition at line 415 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                             standardDrawingStuff,
00003                                             standardCompareTestAndReference,
00004                                             drawJobs = Utils.SpawnDrawJobs(RunHPSTanc_TANCValidation, plotPset),
00005                                             outputFilePath = cms.string('./HPSTancTaus_TANC/'),
00006                                             PrintToFile = cms.bool(True)
00007                                             )

Definition at line 417 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotPFTauEfficiencies_tanc2 = plotPFTauEfficiencies_tanc.clone()

Definition at line 425 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                                      standardDrawingStuff,
00003                                                      standardCompareTestAndReference,
00004                                                      drawJobs = Utils.SpawnDrawJobs(PFTausHighEfficiencyBothProngs, plotPset),
00005                                                      outputFilePath = cms.string('./shrinkingConePFTauProducer/'),
00006                                                      PrintToFile = cms.bool(True)
00007                                                      )

The plotting of all the PFTauHighEfficiencies ID efficiencies.

Definition at line 447 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotPFTauHighEfficiencyEfficiencies2 = plotPFTauHighEfficiencyEfficiencies.clone()

Definition at line 455 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                                                 standardDrawingStuff,
00003                                                                 standardCompareTestAndReference,
00004                                                                 drawJobs = Utils.SpawnDrawJobs(PFTausHighEfficiencyLeadingPionBothProngs, plotPset),
00005                                                                 outputFilePath = cms.string('./shrinkingConePFTauProducerLeadingPion/'),
00006                                                                 PrintToFile = cms.bool(True)
00007                                                                 )

The plotting of all the Shrinking cone leading pion efficiencies.

Definition at line 492 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotPFTauHighEfficiencyEfficienciesLeadingPion2 = plotPFTauHighEfficiencyEfficienciesLeadingPion.clone()

Definition at line 500 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistPlotter",
00002                                     standardDrawingStuff,
00003                                     standardCompareTestAndReference,
00004                                     drawJobs = Utils.SpawnDrawJobs(RunTancValidation, plotPset),
00005                                     outputFilePath = cms.string('./shrinkingConePFTauProducerTanc/'),
00006                                     PrintToFile = cms.bool(True),
00007                                     )

The plotting of all the TaNC efficiencies.

Definition at line 477 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::plotTancValidation2 = plotTancValidation.clone()

Definition at line 485 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.Sequence(
00002       plotPFTauEfficiencies_hps
00003       +plotPFTauEfficiencies_tanc
00004       +plotPFTauHighEfficiencyEfficiencies
00005 #     +plotCaloTauEfficiencies  #Kept for compatibility. In the DQM is removed for lightness reason
00006       +plotTancValidation
00007       +plotPFTauHighEfficiencyEfficienciesLeadingPion
00008       +plotHPSEfficiencies
00009       )

Definition at line 503 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.Sequence(
00002       plotPFTauEfficiencies_hps2
00003       +plotPFTauEfficiencies_tanc2
00004       +plotPFTauHighEfficiencyEfficiencies2
00005 #     +plotCaloTauEfficiencies2  #Kept for compatibility. In the DQM is removed for lightness reason
00006       +plotTancValidation2
00007       +plotPFTauHighEfficiencyEfficienciesLeadingPion2
00008       +plotHPSEfficiencies2
00009       )

Definition at line 513 of file RecoTauValidation_cfi.py.

Definition at line 169 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::RunHPSTanc_HPSValidation2 = RunHPSTanc_HPSValidation.clone()

Definition at line 186 of file RecoTauValidation_cfi.py.

Definition at line 188 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::RunHPSTanc_TANCValidation2 = RunHPSTanc_TANCValidation.clone()

Definition at line 204 of file RecoTauValidation_cfi.py.

Definition at line 150 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::RunHPSValidation2 = RunHPSValidation.clone()

Definition at line 167 of file RecoTauValidation_cfi.py.

Definition at line 135 of file RecoTauValidation_cfi.py.

tuple RecoTauValidation_cfi::RunTancValidation2 = RunTancValidation.clone()

Definition at line 148 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.PSet(
00002   processes = cms.PSet(
00003     test = cms.PSet(
00004       dqmDirectory = cms.string('test'),
00005       legendEntry = cms.string('no test label'),
00006       type = cms.string('smMC') # Data/smMC/bsmMC/smSumMC
00007     ),
00008     reference = cms.PSet(
00009       dqmDirectory = cms.string('reference'),
00010       legendEntry = cms.string('no ref label'),
00011       type = cms.string('smMC') # Data/smMC/bsmMC/smSumMC
00012     )
00013   ),
00014 )

Definition at line 387 of file RecoTauValidation_cfi.py.

Definition at line 327 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.PSet(
00002    DataType                     = cms.string('Leptons'),               
00003    MatchDeltaR_Leptons          = cms.double(0.15),
00004    MatchDeltaR_Jets             = cms.double(0.3),
00005    SaveOutputHistograms         = cms.bool(False), #TRUE FOR TEST ONLY
00006    #RefCollection                = cms.InputTag("TauGenJetProducer","selectedGenTauDecaysToHadronsPt5Cumulative"),
00007    RefCollection                = denominator,
00008    TauPtCut            = cms.double(0.),
00009 )

Definition at line 93 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.EDAnalyzer("DQMHistEffProducer",
00002     plots = plotPset    
00003 )

Definition at line 253 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.Sequence(
00002 #      PFTausBothProngs+ OLD
00003       RunHPSTanc_HPSValidation+
00004       RunHPSTanc_TANCValidation+
00005 #      CaloTausBothProngs+ #Kept for compatibility. In the DQM is removed for lightness reason
00006       PFTausHighEfficiencyBothProngs+
00007       PFTausHighEfficiencyLeadingPionBothProngs+
00008       RunTancValidation+
00009       RunHPSValidation
00010    )

Definition at line 220 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.Sequence(
00002 #      PFTausBothProngs2+ OLD
00003       RunHPSTanc_HPSValidation2+
00004       RunHPSTanc_TANCValidation2+
00005 #      CaloTausBothProngs2+ #Kept for compatibility. In the DQM is removed for lightness reason
00006       PFTausHighEfficiencyBothProngs2+
00007       PFTausHighEfficiencyLeadingPionBothProngs2+
00008       RunTancValidation2+
00009       RunHPSValidation2
00010    )

Definition at line 231 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.PSet(
00002    xAxisTitle = cms.string('P_{T} / GeV'),
00003    xAxisTitleOffset = cms.double(0.9),
00004    xAxisTitleSize = cms.double(0.05)
00005 )

Definition at line 284 of file RecoTauValidation_cfi.py.

list RecoTauValidation_cfi::xModifiers = [['pt',['xAxisTitle'],['P_{T} / GeV']],['eta',['xAxisTitle'],['#eta']],['phi',['xAxisTitle'],['#phi']],['pileup',['xAxisTitle'],['# of Reco Vertices']]]

Definition at line 289 of file RecoTauValidation_cfi.py.

Initial value:
00001 cms.PSet(
00002    yScale = cms.string('linear'), # linear/log
00003    minY_linear = cms.double(0.),
00004    maxY_linear = cms.double(1.6),
00005    minY_log = cms.double(0.001),
00006    maxY_log = cms.double(1.8),
00007    yAxisTitle = cms.string('#varepsilon'), 
00008    yAxisTitleOffset = cms.double(1.1),
00009    yAxisTitleSize = cms.double(0.05)
00010 )

Definition at line 291 of file RecoTauValidation_cfi.py.

list RecoTauValidation_cfi::yModifiers = [['efficiency',['yScale','yAxisTitle'],['linear','#varepsilon']],['fakeRate',['yScale','yAxisTitle'],['log','Fake rate']]]

Definition at line 301 of file RecoTauValidation_cfi.py.