def trigTools::_addEventContent | ( | outputCommands, | |
eventContent | |||
) | [private] |
Definition at line 34 of file trigTools.py.
00035 : 00036 # add new entry to event content 00037 for content in eventContent: 00038 if content not in outputCommands: 00039 outputCommands += [ content ] 00040 # check for obsolete entries 00041 listToRemove = [] 00042 for i in range( len( outputCommands ) ): 00043 if i in listToRemove: 00044 continue 00045 command = outputCommands[ i ] 00046 if command[ : 4 ] == 'keep': 00047 dropCommand = command.replace( 'keep ', 'drop ' ) 00048 for j in range( i + 1, len( outputCommands ) ): 00049 testCommand = outputCommands[ j ] 00050 if testCommand == command: 00051 listToRemove += [ j ] 00052 elif testCommand == dropCommand: 00053 listToRemove += [ i, j ] 00054 break 00055 # copy entries excl. obsolete ones 00056 newOutputCommands = cms.untracked.vstring() 00057 for i in range( len( outputCommands ) ): 00058 if i not in listToRemove: 00059 newOutputCommands += [ outputCommands[ i ] ] 00060 # return result 00061 return newOutputCommands 00062
def trigTools::_modulesInSequence | ( | process, | |
sequenceLabel | |||
) | [private] |
Definition at line 30 of file trigTools.py.
string trigTools::_defaultHltProcess = 'HLT' |
Definition at line 17 of file trigTools.py.
string trigTools::_defaultHltProcessComment = "HLT process name, default: %s" |
Definition at line 24 of file trigTools.py.
string trigTools::_defaultOutputModule = 'out' |
Definition at line 18 of file trigTools.py.
string trigTools::_defaultOutputModuleComment = "Output module label, empty label indicates no output, default: %s" |
Definition at line 25 of file trigTools.py.
string trigTools::_defaultSequence = 'patDefaultSequence' |
Definition at line 16 of file trigTools.py.
string trigTools::_defaultSequenceComment = "Name of sequence to use, default: %s" |
Definition at line 23 of file trigTools.py.
string trigTools::_defaultTriggerEventProducer = 'patTriggerEvent' |
Definition at line 15 of file trigTools.py.
string trigTools::_defaultTriggerEventProducerComment = "PATTriggerEventProducer module label, default: %s" |
Definition at line 22 of file trigTools.py.
00001 [ 'cleanMuonTriggerMatchHLTMu20' 00002 , 'cleanMuonTriggerMatchHLTDoubleMu6' 00003 , 'cleanPhotonTriggerMatchHLTPhoton26IsoVLPhoton18' 00004 , 'cleanElectronTriggerMatchHLTEle27CaloIdVTCaloIsoTTrkIdTTrkIsoT' 00005 , 'cleanTauTriggerMatchHLTDoubleIsoPFTau20Trk5' 00006 , 'cleanJetTriggerMatchHLTJet240' 00007 , 'metTriggerMatchHLTMET100' 00008 ]
Definition at line 6 of file trigTools.py.
string trigTools::_defaultTriggerMatchersComment = "Trigger matcher modules' labels, default: ..." |
Definition at line 20 of file trigTools.py.
string trigTools::_defaultTriggerProducer = 'patTrigger' |
Definition at line 14 of file trigTools.py.
string trigTools::_defaultTriggerProducerComment = "PATTriggerProducer module label, default: %s" |
Definition at line 21 of file trigTools.py.
string trigTools::_longLine = '---------------------------------------------------------------------' |
Definition at line 27 of file trigTools.py.
Definition at line 769 of file trigTools.py.
tuple trigTools::switchOnTrigger = SwitchOnTrigger() |
Definition at line 189 of file trigTools.py.
Definition at line 669 of file trigTools.py.
Definition at line 424 of file trigTools.py.
Definition at line 529 of file trigTools.py.
Definition at line 284 of file trigTools.py.