212 def addDefaultAlgs(self):
213 """add algorithms and options"""
216 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import CommonServicesConfig
217 self.addAlgConfigBlock(algName=
"CommonServices", alg=CommonServicesConfig)
220 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import PileupReweightingBlock
221 self.addAlgConfigBlock(algName=
"PileupReweighting", alg=PileupReweightingBlock)
224 from AsgAnalysisAlgorithms.EventCleaningConfig
import EventCleaningBlock
225 self.addAlgConfigBlock(algName=
"EventCleaning", alg=EventCleaningBlock)
228 from TriggerAnalysisAlgorithms.TriggerAnalysisConfig
import Trigger
229 self.addAlgConfigBlock(algName=
"Trigger", alg=Trigger)
230 from TriggerAnalysisAlgorithms.TriggerAnalysisSFConfig
import TriggerAnalysisSFBlock
231 self.addAlgConfigBlock(algName=
"TriggerMatching", alg=TriggerAnalysisSFBlock)
234 from JetAnalysisAlgorithms.JetAnalysisConfig
import makeJetAnalysisConfig
235 self.addAlgConfigBlock(algName=
"Jets", alg=makeJetAnalysisConfig)
236 from JetAnalysisAlgorithms.JetJvtAnalysisConfig
import JetJvtAnalysisConfig
237 self.addAlgConfigBlock(algName=
"JVT", alg=JetJvtAnalysisConfig,
239 from JetAnalysisAlgorithms.BJetCalibAnalysisConfig
import BJetCalibAnalysisConfig
240 self.addAlgConfigBlock(algName=
"BJetCalib", alg=BJetCalibAnalysisConfig,
242 from FTagAnalysisAlgorithms.FTagAnalysisConfig
import FTagConfig
243 self.addAlgConfigBlock(algName=
"FlavourTagging", alg=FTagConfig,
244 defaults={
'selectionName':
''},
246 from FTagAnalysisAlgorithms.FTagEventSFAnalysisConfig
import FTagEventSFConfig
247 self.addAlgConfigBlock(algName=
"FlavourTaggingEventSF",
248 alg=FTagEventSFConfig,
249 defaults={
'selectionName':
''},
253 from EgammaAnalysisAlgorithms.ElectronAnalysisConfig
import ElectronCalibrationConfig
254 self.addAlgConfigBlock(algName=
"Electrons", alg=ElectronCalibrationConfig)
255 from EgammaAnalysisAlgorithms.ElectronAnalysisConfig
import ElectronWorkingPointConfig
256 self.addAlgConfigBlock(algName=
"WorkingPoint", alg=ElectronWorkingPointConfig,
257 superBlocks=
"Electrons")
258 from EgammaAnalysisAlgorithms.ElectronAnalysisConfig
import ElectronTriggerAnalysisSFBlock
259 self.addAlgConfigBlock(algName=
"TriggerSF", alg=ElectronTriggerAnalysisSFBlock,
260 superBlocks=
"Electrons")
263 from EgammaAnalysisAlgorithms.PhotonAnalysisConfig
import PhotonCalibrationConfig
264 self.addAlgConfigBlock(algName=
"Photons", alg=PhotonCalibrationConfig)
265 from EgammaAnalysisAlgorithms.PhotonAnalysisConfig
import PhotonWorkingPointConfig
266 self.addAlgConfigBlock(algName=
"WorkingPoint", alg=PhotonWorkingPointConfig,
267 superBlocks=
"Photons")
268 from EgammaAnalysisAlgorithms.PhotonExtraVariablesConfig
import PhotonExtraVariablesBlock
269 self.addAlgConfigBlock(algName=
"ExtraVariables", alg=PhotonExtraVariablesBlock,
270 superBlocks=
"Photons")
273 from MuonAnalysisAlgorithms.MuonAnalysisConfig
import MuonCalibrationConfig
274 self.addAlgConfigBlock(algName=
"Muons", alg=MuonCalibrationConfig)
275 from MuonAnalysisAlgorithms.MuonAnalysisConfig
import MuonWorkingPointConfig
276 self.addAlgConfigBlock(algName=
"WorkingPoint", alg=MuonWorkingPointConfig,
278 from MuonAnalysisAlgorithms.MuonAnalysisConfig
import MuonTriggerAnalysisSFBlock
279 self.addAlgConfigBlock(algName=
"TriggerSF", alg=MuonTriggerAnalysisSFBlock,
283 from TauAnalysisAlgorithms.TauAnalysisConfig
import TauCalibrationConfig
284 self.addAlgConfigBlock(algName=
"TauJets", alg=TauCalibrationConfig)
285 from TauAnalysisAlgorithms.TauAnalysisConfig
import TauWorkingPointConfig
286 self.addAlgConfigBlock(algName=
"WorkingPoint", alg=TauWorkingPointConfig,
287 superBlocks=
"TauJets")
288 from TauAnalysisAlgorithms.TauAnalysisConfig
import TauTriggerAnalysisSFBlock
289 self.addAlgConfigBlock(algName=
"TriggerSF", alg=TauTriggerAnalysisSFBlock,
290 superBlocks=
"TauJets")
293 from AsgAnalysisAlgorithms.SystObjectLinkConfig
import SystObjectLinkBlock
294 self.addAlgConfigBlock(algName=
"SystObjectLink", alg=SystObjectLinkBlock,
295 superBlocks=[self.ROOTNAME,
"Jets",
"Electrons",
"Photons",
"Muons",
"TauJets"])
298 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelElectronsConfig
import ParticleLevelElectronsBlock
299 self.addAlgConfigBlock(algName=
"PL_Electrons", alg=ParticleLevelElectronsBlock)
300 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelMuonsConfig
import ParticleLevelMuonsBlock
301 self.addAlgConfigBlock(algName=
"PL_Muons", alg=ParticleLevelMuonsBlock)
302 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelNeutrinosConfig
import ParticleLevelNeutrinosBlock
303 self.addAlgConfigBlock(algName=
"PL_Neutrinos", alg=ParticleLevelNeutrinosBlock)
304 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelJetsConfig
import ParticleLevelJetsBlock
305 self.addAlgConfigBlock(algName=
"PL_Jets", alg=ParticleLevelJetsBlock)
306 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelTausConfig
import ParticleLevelTausBlock
307 self.addAlgConfigBlock(algName=
"PL_Taus", alg=ParticleLevelTausBlock)
308 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelPhotonsConfig
import ParticleLevelPhotonsBlock
309 self.addAlgConfigBlock(algName=
"PL_Photons", alg=ParticleLevelPhotonsBlock)
310 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelMissingETConfig
import ParticleLevelMissingETBlock
311 self.addAlgConfigBlock(algName=
"PL_MissingET", alg=ParticleLevelMissingETBlock)
312 from TruthParticleLevelAnalysisAlgorithms.ParticleLevelOverlapRemovalConfig
import ParticleLevelOverlapRemovalBlock
313 self.addAlgConfigBlock(algName=
"PL_OverlapRemoval", alg=ParticleLevelOverlapRemovalBlock)
316 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import IFFLeptonDecorationBlock
317 self.addAlgConfigBlock(algName=
"IFFClassification", alg=IFFLeptonDecorationBlock,
318 superBlocks=[
"Electrons",
"Muons",
319 "PL_Electrons",
"PL_Muons"])
321 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import MCTCLeptonDecorationBlock
322 self.addAlgConfigBlock(algName=
"MCTCClassification", alg=MCTCLeptonDecorationBlock,
323 superBlocks=[
"Electrons",
"Muons",
"TauJets",
324 "PL_Electrons",
"PL_Muons",
"PL_Taus"])
327 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import GeneratorAnalysisBlock
328 self.addAlgConfigBlock(algName=
"GeneratorLevelAnalysis", alg=GeneratorAnalysisBlock)
331 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import PtEtaSelectionBlock
332 self.addAlgConfigBlock(algName=
"PtEtaSelection", alg=PtEtaSelectionBlock,
333 defaults={
'selectionName':
''},
334 superBlocks=[self.ROOTNAME,
335 "Jets",
"Electrons",
"Photons",
"Muons",
"TauJets",
336 "PL_Jets",
"PL_Electrons",
"PL_Photons",
"PL_Muons",
"PL_Taus",
"PL_Neutrinos"])
339 from MetAnalysisAlgorithms.MetAnalysisConfig
import MetAnalysisConfig
340 self.addAlgConfigBlock(algName=
"MissingET", alg=MetAnalysisConfig)
343 from AsgAnalysisAlgorithms.OverlapAnalysisConfig
import OverlapAnalysisConfig
344 self.addAlgConfigBlock(algName=
"OverlapRemoval", alg=OverlapAnalysisConfig,
345 defaults={
'configName':
'OverlapRemoval'})
348 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import ObjectCutFlowBlock
349 self.addAlgConfigBlock(algName=
'ObjectCutFlow', alg=ObjectCutFlowBlock)
352 from JetAnalysisAlgorithms.JetReclusteringConfig
import JetReclusteringBlock
353 self.addAlgConfigBlock(algName=
"JetReclustering", alg=JetReclusteringBlock)
356 from EventSelectionAlgorithms.EventSelectionConfig
import makeMultipleEventSelectionConfigs
357 self.addAlgConfigBlock(algName=
'EventSelection', alg=makeMultipleEventSelectionConfigs)
360 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import EventCutFlowBlock
361 self.addAlgConfigBlock(algName=
'EventCutFlow', alg=EventCutFlowBlock,
362 defaults={
'containerName':
'EventInfo',
'selectionName':
''})
365 from AsgAnalysisAlgorithms.BootstrapGeneratorConfig
import BootstrapGeneratorConfig
366 self.addAlgConfigBlock(algName=
'Bootstraps', alg=BootstrapGeneratorConfig)
369 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import PerEventSFBlock
370 self.addAlgConfigBlock(algName=
'PerEventSF', alg=PerEventSFBlock)
373 from AsgAnalysisAlgorithms.LeptonSFCalculatorConfig
import LeptonSFCalculatorBlock
374 self.addAlgConfigBlock(algName=
'LeptonSF', alg=LeptonSFCalculatorBlock)
377 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import OutputThinningBlock
378 self.addAlgConfigBlock(algName=
"Thinning", alg=OutputThinningBlock,
379 defaults={
'configName':
'Thinning'})
382 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import SelectionDecorationBlock
383 self.addAlgConfigBlock(algName=
'SelectionDecoration',
384 alg=SelectionDecorationBlock)
387 from TauAnalysisAlgorithms.DiTauMassConfig
import DiTauMassBlock
388 self.addAlgConfigBlock(algName=
"DiTauMMC", alg=DiTauMassBlock)
391 from AsgAnalysisAlgorithms.FakeBkgConfig
import FakeBkgBlock
392 self.addAlgConfigBlock(algName=
'FakeBkgCalculator', alg=FakeBkgBlock)
395 from AsgAnalysisAlgorithms.VGammaORConfig
import VGammaORBlock
396 self.addAlgConfigBlock(algName=
'VGammaOR', alg=VGammaORBlock)
399 from AsgAnalysisAlgorithms.OutputAnalysisConfig
import OutputAnalysisConfig
400 self.addAlgConfigBlock(algName=
"Output", alg=OutputAnalysisConfig,
401 defaults={
'configName':
'Output'})
404 from AsgAnalysisAlgorithms.AsgAnalysisConfig
import IOStatsBlock
405 self.addAlgConfigBlock(algName=
"IOStats", alg=IOStatsBlock)