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 | |
modules_found | |
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 558 of file EgammaHLTValidationUtils.py.
References mps_alisetup.append.
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 652 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 615 of file EgammaHLTValidationUtils.py.
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 677 of file EgammaHLTValidationUtils.py.
def EgammaHLTValidationUtils.getPathsOfDataSet | ( | process, | |
datasetName | |||
) |
returns the names of the trigger paths contained in the given (primary) dataset
Definition at line 11 of file EgammaHLTValidationUtils.py.
References list().
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 20 of file EgammaHLTValidationUtils.py.
Referenced by edm::CFWriter.branchesActivate(), edm::MixingModule.branchesActivate(), and makeGeneratedParticleAndFiducialVolumeFilter().
def EgammaHLTValidationUtils.getResult | ( | self | ) |
returns the composed analyzer module
Definition at line 535 of file EgammaHLTValidationUtils.py.
References ConfigBuilder.dumpPython().
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 49 of file EgammaHLTValidationUtils.py.
References getProcessName().
def EgammaHLTValidationUtils.makePSetForEgammaGenericFilter | ( | self, | |
module, | |||
moduleName | |||
) |
Definition at line 394 of file EgammaHLTValidationUtils.py.
def EgammaHLTValidationUtils.makePSetForElectronGenericFilter | ( | self, | |
module, | |||
moduleName | |||
) |
Definition at line 479 of file EgammaHLTValidationUtils.py.
def EgammaHLTValidationUtils.makePSetForEtFilter | ( | self, | |
moduleName | |||
) |
generates a PSet for the Egamma DQM analyzer for the Et filter
Definition at line 361 of file EgammaHLTValidationUtils.py.
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 329 of file EgammaHLTValidationUtils.py.
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 345 of file EgammaHLTValidationUtils.py.
def EgammaHLTValidationUtils.makePSetForOneOEMinusOneOPFilter | ( | self, | |
moduleName | |||
) |
Definition at line 373 of file EgammaHLTValidationUtils.py.
def EgammaHLTValidationUtils.makePSetForPixelMatchFilter | ( | self, | |
moduleName | |||
) |
Definition at line 384 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.module_names_found |
Definition at line 631 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.modules_found |
Definition at line 688 of file EgammaHLTValidationUtils.py.