dest='jf17', required=False, help="The colelcted sample came from JF17 skemma.") import sys, os if len(sys.argv) == 1: parser.print_help() sys.exit(1) args = parser.parse_args() acc = EventATLAS( "EventATLASLoop", inputFiles=args.inputFiles, #treePath= '*/HLT/Physval/Egamma/fakes' if args.jf17 else '*/HLT/Physval/Egamma/probes', treePath='*/HLT/Egamma/Egamma/fakes' if args.jf17 else '*/HLT/Egamma/Egamma/probes', dataframe=DataframeEnum.PhysVal_v2, #outputFile = args.outputFile, outputFile='dummy.root', level=LoggingLevel.INFO) from EventSelectionTool import EventSelection, SelectionType, EtCutType evt = EventSelection('EventSelection') evt.setCutValue(SelectionType.SelectionOnlineWithRings) # Do not change this! if args.doEgam7: #pidname = '!VeryLooseLLH_DataDriven_Rel21_Run2_2018' pidname = '!el_lhvloose' elif args.jf17:
args = parser.parse_args() if args.doZee or args.doJpsi: signature = 'electron' elif args.doZrad or args.doFakes: signature = 'photon' else: signature = 'electron' acc = EventATLAS( "EventATLASLoop", inputFiles=args.inputFiles, treePath='*/HLT/PhysVal/Egamma/fakes' if args.doFakes else '*/HLT/PhysVal/Egamma/photons', dataframe=DataframeEnum.Electron_v1 if signature == 'electron' else DataframeEnum.Photon_v1, outputFile=args.outputFile, # outputFile = 'dummy.root', level=LoggingLevel.INFO, ) from EventSelectionTool import EventSelection, SelectionType, EtCutType evt = EventSelection('EventSelection') # evt.setCutValue( SelectionType.SelectionOnlineWithRings ) # Do not change this! if args.doEgam7: #pidname = '!VeryLooseLLH_DataDriven_Rel21_Run2_2018' pidname = '!el_lhvloose'
help = "Number of events.") import sys,os if len(sys.argv)==1: parser.print_help() sys.exit(1) args = parser.parse_args() acc = EventATLAS( "EventATLASLoop", inputFiles = args.inputFiles, treePath= '*/HLT/Physval/Egamma/fakes', #treePath= '*/HLT/Egamma/Egamma/probes', #treePath= '*/HLT/Egamma/Egamma/fakes' if args.doEgam7 else '*/HLT/Egamma/Egamma/probes', dataframe = DataframeEnum.Electron_v1, outputFile = args.outputFile, level = LoggingLevel.INFO ) from EventSelectionTool import EventSelection, SelectionType, EtCutType evt = EventSelection('EventSelection', dataframe = DataframeEnum.Electron_v1) evt.setCutValue( SelectionType.SelectionOnlineWithRings ) #pidname = 'MediumLLH_DataDriven_Rel21_Run2_2018' #pidname = 'el_lhmedium' pidname = '!el_lhvloose' evt.setCutValue( SelectionType.SelectionPID, pidname )
dest='doFakes', required = False, help = "The colelcted sample came from JF17 skemma.") import sys,os if len(sys.argv)==1: parser.print_help() sys.exit(1) args = parser.parse_args() acc = EventATLAS( "EventATLASLoop", inputFiles = args.inputFiles, treePath= '*/HLT/PhysVal/Egamma/fakes' if args.doFakes else '*/HLT/PhysVal/Egamma/photons', dataframe = DataframeEnum.Photon_v1, outputFile = args.outputFile, level = LoggingLevel.INFO ) from EventSelectionTool import EventSelection, SelectionType, EtCutType evt = EventSelection('EventSelection') evt.setCutValue( SelectionType.SelectionOnlineWithRings ) # Do not change this! if args.doFakes: #pidname = '!VeryLooseLLH_DataDriven_Rel21_Run2_2018' pidname = '!ph_loose'