Classes | |
class | EgammaDQMModuleMaker |
Functions | |
def | findEgammaPaths (process) |
def | getCXXTypesOfPath (process, path) |
def | getModuleNamesOfPath (path) |
def | getModulesOfSequence (sequence) |
def | getPathsOfDataSet (process, datasetName) |
def | getProcessName (pdgGen, requiredNumberOfGeneratedObjects) |
def | getResult (self) |
def | makeGeneratedParticleAndFiducialVolumeFilter (process, pdgGen, requiredNumberOfGeneratedObjects) |
def | makePSetForEgammaGenericFilter (self, module, moduleName) |
def | makePSetForElectronGenericFilter (self, module, moduleName) |
def | makePSetForEtFilter (self, moduleName) |
def | makePSetForL1SeedFilter (self, moduleName) |
print >> sys.stderr,msgPrefix,"WARNING: unknown module type", module.type_(), " with name " + moduleName + " in path " + pathName More... | |
def | makePSetForL1SeedToSuperClusterMatchFilter (self, moduleName) |
def | makePSetForOneOEMinusOneOPFilter (self, moduleName) |
def | makePSetForPixelMatchFilter (self, moduleName) |
Variables | |
module_names_found | |
moduleMaker | |
modules_found | |
msgPrefix | |
process | |
def EgammaHLTValidationUtils.findEgammaPaths | ( | process | ) |
returns a dict: { "singleElectron": [ list of single electron path objects ], "doubleElectron": [ list of double electron path objects ], "singlePhoton": [ list of single photon path objects ], "doublePhoton": [ list of double photon path objects ], } Note that the elements in the lists are path objects, not path names. Note also that this is based on the name of the paths using some heuristics.
Definition at line 560 of file EgammaHLTValidationUtils.py.
References mps_setup.append.
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.getCXXTypesOfPath | ( | process, | |
path | |||
) |
returns the names of (classes) of the C++ types of the modules found in the given path (in no particular order)
Definition at line 654 of file EgammaHLTValidationUtils.py.
References getModuleNamesOfPath().
def EgammaHLTValidationUtils.getModuleNamesOfPath | ( | path | ) |
returns the names of the modules found in the given path. Note that these are not guaranteed to be in any particular order.
Definition at line 617 of file EgammaHLTValidationUtils.py.
References submitPVValidationJobs.__init__().
Referenced by getCXXTypesOfPath().
def EgammaHLTValidationUtils.getModulesOfSequence | ( | sequence | ) |
returns the modules found in a sequence. Note that a module can appear more than once.
Definition at line 679 of file EgammaHLTValidationUtils.py.
References submitPVValidationJobs.__init__().
def EgammaHLTValidationUtils.getPathsOfDataSet | ( | process, | |
datasetName | |||
) |
returns the names of the trigger paths contained in the given (primary) dataset
Definition at line 12 of file EgammaHLTValidationUtils.py.
def EgammaHLTValidationUtils.getProcessName | ( | pdgGen, | |
requiredNumberOfGeneratedObjects | |||
) |
returns a process name (such as 'Zee') which can be used in various places (e.g. module names etc.)
Definition at line 21 of file EgammaHLTValidationUtils.py.
Referenced by L1GTAlgoBlockProducer.beginRun(), edm::CFWriter.branchesActivate(), edm::MixingModule.branchesActivate(), MassReplace.MassSearchReplaceAnyInputTagVisitor.doIt(), HLTConfigProvider.init(), and makeGeneratedParticleAndFiducialVolumeFilter().
def EgammaHLTValidationUtils.getResult | ( | self | ) |
def EgammaHLTValidationUtils.makeGeneratedParticleAndFiducialVolumeFilter | ( | process, | |
pdgGen, | |||
requiredNumberOfGeneratedObjects | |||
) |
adds the needed modules to the process object and returns a sequence made of the two filters. returns the name of the created module if process is not None, are added to the process. When using this function from a _cff file, one has to manually add the modules of the returned sequence to globals() (in the calling module, not here, globals() live in a different name space here)
Definition at line 50 of file EgammaHLTValidationUtils.py.
References getProcessName().
def EgammaHLTValidationUtils.makePSetForEgammaGenericFilter | ( | self, | |
module, | |||
moduleName | |||
) |
Definition at line 396 of file EgammaHLTValidationUtils.py.
References cms::cuda.assert().
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.makePSetForElectronGenericFilter | ( | self, | |
module, | |||
moduleName | |||
) |
Definition at line 481 of file EgammaHLTValidationUtils.py.
References cms::cuda.assert().
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.makePSetForEtFilter | ( | self, | |
moduleName | |||
) |
generates a PSet for the Egamma DQM analyzer for the Et filter
Definition at line 363 of file EgammaHLTValidationUtils.py.
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.makePSetForL1SeedFilter | ( | self, | |
moduleName | |||
) |
print >> sys.stderr,msgPrefix,"WARNING: unknown module type", module.type_(), " with name " + moduleName + " in path " + pathName
generates a PSet to analyze the behaviour of an L1 seed. moduleName is the name of the HLT module which filters on the L1 seed.
Definition at line 331 of file EgammaHLTValidationUtils.py.
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.makePSetForL1SeedToSuperClusterMatchFilter | ( | self, | |
moduleName | |||
) |
generates a PSet to analyze the behaviour of L1 to supercluster match filter. moduleName is the name of the HLT module which requires the match between supercluster and L1 seed.
Definition at line 347 of file EgammaHLTValidationUtils.py.
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.makePSetForOneOEMinusOneOPFilter | ( | self, | |
moduleName | |||
) |
Definition at line 375 of file EgammaHLTValidationUtils.py.
Referenced by EmDQM.dqmBeginRun().
def EgammaHLTValidationUtils.makePSetForPixelMatchFilter | ( | self, | |
moduleName | |||
) |
Definition at line 386 of file EgammaHLTValidationUtils.py.
Referenced by EmDQM.dqmBeginRun().
EgammaHLTValidationUtils.module_names_found |
Definition at line 633 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.moduleMaker |
Definition at line 552 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.modules_found |
Definition at line 690 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.msgPrefix |
Definition at line 7 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.process |
Definition at line 549 of file EgammaHLTValidationUtils.py.