Classes | |
class | EgammaDQMModuleMaker |
Functions | |
def | findEgammaPaths |
def | getCXXTypesOfPath |
def | getModuleNamesOfPath |
def | getModulesOfSequence |
def | getPathsOfDataSet |
def | getProcessName |
def | getResult |
def | makeGeneratedParticleAndFiducialVolumeFilter |
def | makePSetForEgammaGenericFilter |
def | makePSetForElectronGenericFilter |
def | makePSetForEtFilter |
def | makePSetForL1SeedFilter |
print >> sys.stderr,msgPrefix,"WARNING: unknown module type", module.type_(), " with name " + moduleName + " in path " + pathName More... | |
def | makePSetForL1SeedToSuperClusterMatchFilter |
def | makePSetForOneOEMinusOneOPFilter |
def | makePSetForPixelMatchFilter |
Variables | |
module_names_found | |
tuple | moduleMaker = EgammaDQMModuleMaker(process, "HLT_Ele17_SW_TighterEleIdIsol_L1R_v3", 11, 1) |
modules_found | |
string | msgPrefix = "[" |
tuple | process = cms.Process("MYTEST") |
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 python.multivaluedict.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(), and runtimedef.set().
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.
References python.multivaluedict.__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 677 of file EgammaHLTValidationUtils.py.
References python.multivaluedict.__init__().
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 | ) |
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.
tuple EgammaHLTValidationUtils.moduleMaker = EgammaDQMModuleMaker(process, "HLT_Ele17_SW_TighterEleIdIsol_L1R_v3", 11, 1) |
Definition at line 550 of file EgammaHLTValidationUtils.py.
EgammaHLTValidationUtils.modules_found |
Definition at line 688 of file EgammaHLTValidationUtils.py.
string EgammaHLTValidationUtils.msgPrefix = "[" |
Definition at line 6 of file EgammaHLTValidationUtils.py.
tuple EgammaHLTValidationUtils.process = cms.Process("MYTEST") |
Definition at line 547 of file EgammaHLTValidationUtils.py.