blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2 values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 213 values | src_encoding stringclasses 30 values | language stringclasses 1 value | is_vendor bool 2 classes | is_generated bool 2 classes | length_bytes int64 2 10.3M | extension stringclasses 246 values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0a9f41924341f11d3b0b8378db09167135694fd1 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/AT-ENVMONv2-MIB.py | 8a41928881d0996dfd14cb92ed73ff86ead16afd | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 28,030 | py | #
# PySNMP MIB module AT-ENVMONv2-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AT-ENVMONv2-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:13:46 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion")
DisplayStringUnsized, = mibBuilder.importSymbols("AT-SMI-MIB", "DisplayStringUnsized")
sysinfo, = mibBuilder.importSymbols("AT-SYSINFO-MIB", "sysinfo")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
MibIdentifier, iso, ObjectIdentity, IpAddress, Unsigned32, Counter32, TimeTicks, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, ModuleIdentity, Counter64, Bits, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "iso", "ObjectIdentity", "IpAddress", "Unsigned32", "Counter32", "TimeTicks", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "ModuleIdentity", "Counter64", "Bits", "NotificationType")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
atEnvMonv2 = ModuleIdentity((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12))
atEnvMonv2.setRevisions(('2012-09-21 00:00', '2010-09-15 00:00', '2010-09-07 00:00', '2010-06-14 04:50', '2010-05-24 01:19', '2010-01-15 00:39', '2008-11-26 00:00', '2008-09-24 00:00', '2008-02-07 00:00',))
if mibBuilder.loadTexts: atEnvMonv2.setLastUpdated('201209210000Z')
if mibBuilder.loadTexts: atEnvMonv2.setOrganization('Allied Telesis, Inc')
class AtEnvMonv2PsbSensorType(TextualConvention, Integer32):
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("psbSensorTypeInvalid", 0), ("fanSpeedDiscrete", 1), ("temperatureDiscrete", 2), ("voltageDiscrete", 3))
atEnvMonv2Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0))
atEnvMonv2FanAlarmSetNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 1)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2FanStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanCurrentSpeed"))
if mibBuilder.loadTexts: atEnvMonv2FanAlarmSetNotify.setStatus('current')
atEnvMonv2FanAlarmClearedNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 2)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2FanStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanCurrentSpeed"))
if mibBuilder.loadTexts: atEnvMonv2FanAlarmClearedNotify.setStatus('current')
atEnvMonv2VoltAlarmSetNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 3)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2VoltageStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageUpperThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageCurrent"))
if mibBuilder.loadTexts: atEnvMonv2VoltAlarmSetNotify.setStatus('current')
atEnvMonv2VoltAlarmClearedNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 4)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2VoltageStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageUpperThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageCurrent"))
if mibBuilder.loadTexts: atEnvMonv2VoltAlarmClearedNotify.setStatus('current')
atEnvMonv2TempAlarmSetNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 5)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureUpperThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureCurrent"))
if mibBuilder.loadTexts: atEnvMonv2TempAlarmSetNotify.setStatus('current')
atEnvMonv2TempAlarmClearedNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 6)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureUpperThreshold"))
if mibBuilder.loadTexts: atEnvMonv2TempAlarmClearedNotify.setStatus('current')
atEnvMonv2PsbAlarmSetNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 7)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorType"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorDescription"))
if mibBuilder.loadTexts: atEnvMonv2PsbAlarmSetNotify.setStatus('current')
atEnvMonv2PsbAlarmClearedNotify = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 0, 8)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorType"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorDescription"))
if mibBuilder.loadTexts: atEnvMonv2PsbAlarmClearedNotify.setStatus('current')
atEnvMonv2FanTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1), )
if mibBuilder.loadTexts: atEnvMonv2FanTable.setStatus('current')
atEnvMonv2FanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1), ).setIndexNames((0, "AT-ENVMONv2-MIB", "atEnvMonv2FanStackMemberId"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2FanBoardIndex"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2FanIndex"))
if mibBuilder.loadTexts: atEnvMonv2FanEntry.setStatus('current')
atEnvMonv2FanStackMemberId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanStackMemberId.setStatus('current')
atEnvMonv2FanBoardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanBoardIndex.setStatus('current')
atEnvMonv2FanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanIndex.setStatus('current')
atEnvMonv2FanDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 4), DisplayStringUnsized().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanDescription.setStatus('current')
atEnvMonv2FanCurrentSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 5), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanCurrentSpeed.setStatus('current')
atEnvMonv2FanLowerThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanLowerThreshold.setStatus('current')
atEnvMonv2FanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("failed", 1), ("good", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FanStatus.setStatus('current')
atEnvMonv2VoltageTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2), )
if mibBuilder.loadTexts: atEnvMonv2VoltageTable.setStatus('current')
atEnvMonv2VoltageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1), ).setIndexNames((0, "AT-ENVMONv2-MIB", "atEnvMonv2VoltageStackMemberId"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2VoltageBoardIndex"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2VoltageIndex"))
if mibBuilder.loadTexts: atEnvMonv2VoltageEntry.setStatus('current')
atEnvMonv2VoltageStackMemberId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageStackMemberId.setStatus('current')
atEnvMonv2VoltageBoardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageBoardIndex.setStatus('current')
atEnvMonv2VoltageIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageIndex.setStatus('current')
atEnvMonv2VoltageDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 4), DisplayStringUnsized().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageDescription.setStatus('current')
atEnvMonv2VoltageCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageCurrent.setStatus('current')
atEnvMonv2VoltageUpperThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageUpperThreshold.setStatus('current')
atEnvMonv2VoltageLowerThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageLowerThreshold.setStatus('current')
atEnvMonv2VoltageStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("outOfRange", 1), ("inRange", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2VoltageStatus.setStatus('current')
atEnvMonv2TemperatureTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3), )
if mibBuilder.loadTexts: atEnvMonv2TemperatureTable.setStatus('current')
atEnvMonv2TemperatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1), ).setIndexNames((0, "AT-ENVMONv2-MIB", "atEnvMonv2TemperatureStackMemberId"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2TemperatureBoardIndex"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2TemperatureIndex"))
if mibBuilder.loadTexts: atEnvMonv2TemperatureEntry.setStatus('current')
atEnvMonv2TemperatureStackMemberId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureStackMemberId.setStatus('current')
atEnvMonv2TemperatureBoardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureBoardIndex.setStatus('current')
atEnvMonv2TemperatureIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureIndex.setStatus('current')
atEnvMonv2TemperatureDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 4), DisplayStringUnsized().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureDescription.setStatus('current')
atEnvMonv2TemperatureCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureCurrent.setStatus('current')
atEnvMonv2TemperatureUpperThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureUpperThreshold.setStatus('current')
atEnvMonv2TemperatureStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("outOfRange", 1), ("inRange", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2TemperatureStatus.setStatus('current')
atEnvMonv2PsbObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4))
atEnvMonv2PsbTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1), )
if mibBuilder.loadTexts: atEnvMonv2PsbTable.setStatus('current')
atEnvMonv2PsbEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1), ).setIndexNames((0, "AT-ENVMONv2-MIB", "atEnvMonv2PsbHostStackMemberId"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2PsbHostBoardIndex"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2PsbHostSlotIndex"))
if mibBuilder.loadTexts: atEnvMonv2PsbEntry.setStatus('current')
atEnvMonv2PsbHostStackMemberId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbHostStackMemberId.setStatus('current')
atEnvMonv2PsbHostBoardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbHostBoardIndex.setStatus('current')
atEnvMonv2PsbHostSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbHostSlotIndex.setStatus('current')
atEnvMonv2PsbHeldBoardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbHeldBoardIndex.setStatus('current')
atEnvMonv2PsbHeldBoardId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1, 5), ObjectIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbHeldBoardId.setStatus('current')
atEnvMonv2PsbDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 1, 1, 6), DisplayStringUnsized().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbDescription.setStatus('current')
atEnvMonv2PsbSensorTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2), )
if mibBuilder.loadTexts: atEnvMonv2PsbSensorTable.setStatus('current')
atEnvMonv2PsbSensorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1), ).setIndexNames((0, "AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorStackMemberId"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorBoardIndex"), (0, "AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorIndex"))
if mibBuilder.loadTexts: atEnvMonv2PsbSensorEntry.setStatus('current')
atEnvMonv2PsbSensorStackMemberId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorStackMemberId.setStatus('current')
atEnvMonv2PsbSensorBoardIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorBoardIndex.setStatus('current')
atEnvMonv2PsbSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorIndex.setStatus('current')
atEnvMonv2PsbSensorType = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 4), AtEnvMonv2PsbSensorType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorType.setStatus('current')
atEnvMonv2PsbSensorDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 5), DisplayStringUnsized().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorDescription.setStatus('current')
atEnvMonv2PsbSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("failed", 1), ("good", 2), ("notPowered", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorStatus.setStatus('current')
atEnvMonv2PsbSensorReading = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 4, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2PsbSensorReading.setStatus('current')
atEnvMonv2Traps = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5))
atEnvMonv2FanAlarmSetEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 1)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2FanStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanCurrentSpeed"))
if mibBuilder.loadTexts: atEnvMonv2FanAlarmSetEvent.setStatus('deprecated')
atEnvMonv2FanAlarmClearedEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 2)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2FanStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2FanCurrentSpeed"))
if mibBuilder.loadTexts: atEnvMonv2FanAlarmClearedEvent.setStatus('deprecated')
atEnvMonv2VoltAlarmSetEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 3)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2VoltageStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageUpperThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageCurrent"))
if mibBuilder.loadTexts: atEnvMonv2VoltAlarmSetEvent.setStatus('deprecated')
atEnvMonv2VoltAlarmClearedEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 4)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2VoltageStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageUpperThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageLowerThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2VoltageCurrent"))
if mibBuilder.loadTexts: atEnvMonv2VoltAlarmClearedEvent.setStatus('deprecated')
atEnvMonv2TempAlarmSetEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 5)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureUpperThreshold"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureCurrent"))
if mibBuilder.loadTexts: atEnvMonv2TempAlarmSetEvent.setStatus('deprecated')
atEnvMonv2TempAlarmClearedEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 6)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureDescription"), ("AT-ENVMONv2-MIB", "atEnvMonv2TemperatureUpperThreshold"))
if mibBuilder.loadTexts: atEnvMonv2TempAlarmClearedEvent.setStatus('deprecated')
atEnvMonv2PsbAlarmSetEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 7)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorType"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorDescription"))
if mibBuilder.loadTexts: atEnvMonv2PsbAlarmSetEvent.setStatus('deprecated')
atEnvMonv2PsbAlarmClearedEvent = NotificationType((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 5, 8)).setObjects(("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorStackMemberId"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorBoardIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorIndex"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorType"), ("AT-ENVMONv2-MIB", "atEnvMonv2PsbSensorDescription"))
if mibBuilder.loadTexts: atEnvMonv2PsbAlarmClearedEvent.setStatus('deprecated')
atEnvMonv2FaultLedTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6), )
if mibBuilder.loadTexts: atEnvMonv2FaultLedTable.setStatus('current')
atEnvMonv2FaultLedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1), ).setIndexNames((0, "AT-ENVMONv2-MIB", "atEnvMonv2FaultLedStackMemberId"))
if mibBuilder.loadTexts: atEnvMonv2FaultLedEntry.setStatus('current')
atEnvMonv2FaultLedStackMemberId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLedStackMemberId.setStatus('current')
atEnvMonv2FaultLed1Flash = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("heatsinkFanFailure", 1), ("noFault", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLed1Flash.setStatus('current')
atEnvMonv2FaultLed2Flashes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("chassisFanFailure", 1), ("noFault", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLed2Flashes.setStatus('current')
atEnvMonv2FaultLed3Flashes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("sensorFailure", 1), ("noFault", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLed3Flashes.setStatus('current')
atEnvMonv2FaultLed4Flashes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("xemInitialisationFailure", 1), ("noFault", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLed4Flashes.setStatus('current')
atEnvMonv2FaultLed5Flashes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2))).clone(namedValues=NamedValues(("noFault", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLed5Flashes.setStatus('current')
atEnvMonv2FaultLed6Flashes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 4, 4, 3, 12, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("temperatureFailure", 1), ("noFault", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atEnvMonv2FaultLed6Flashes.setStatus('current')
mibBuilder.exportSymbols("AT-ENVMONv2-MIB", atEnvMonv2TemperatureDescription=atEnvMonv2TemperatureDescription, atEnvMonv2VoltAlarmClearedNotify=atEnvMonv2VoltAlarmClearedNotify, atEnvMonv2FaultLed2Flashes=atEnvMonv2FaultLed2Flashes, atEnvMonv2VoltageDescription=atEnvMonv2VoltageDescription, atEnvMonv2PsbAlarmSetEvent=atEnvMonv2PsbAlarmSetEvent, atEnvMonv2VoltageStatus=atEnvMonv2VoltageStatus, PYSNMP_MODULE_ID=atEnvMonv2, atEnvMonv2FaultLedTable=atEnvMonv2FaultLedTable, atEnvMonv2PsbSensorType=atEnvMonv2PsbSensorType, atEnvMonv2PsbDescription=atEnvMonv2PsbDescription, atEnvMonv2VoltageUpperThreshold=atEnvMonv2VoltageUpperThreshold, atEnvMonv2VoltAlarmSetEvent=atEnvMonv2VoltAlarmSetEvent, atEnvMonv2TemperatureStackMemberId=atEnvMonv2TemperatureStackMemberId, atEnvMonv2FanAlarmSetEvent=atEnvMonv2FanAlarmSetEvent, atEnvMonv2PsbHeldBoardId=atEnvMonv2PsbHeldBoardId, atEnvMonv2=atEnvMonv2, atEnvMonv2FaultLed5Flashes=atEnvMonv2FaultLed5Flashes, atEnvMonv2PsbSensorStackMemberId=atEnvMonv2PsbSensorStackMemberId, atEnvMonv2TempAlarmClearedNotify=atEnvMonv2TempAlarmClearedNotify, atEnvMonv2VoltageStackMemberId=atEnvMonv2VoltageStackMemberId, atEnvMonv2FanAlarmSetNotify=atEnvMonv2FanAlarmSetNotify, atEnvMonv2FanBoardIndex=atEnvMonv2FanBoardIndex, atEnvMonv2VoltageIndex=atEnvMonv2VoltageIndex, atEnvMonv2PsbSensorStatus=atEnvMonv2PsbSensorStatus, atEnvMonv2FanAlarmClearedNotify=atEnvMonv2FanAlarmClearedNotify, atEnvMonv2PsbAlarmClearedEvent=atEnvMonv2PsbAlarmClearedEvent, atEnvMonv2FanEntry=atEnvMonv2FanEntry, atEnvMonv2FanStatus=atEnvMonv2FanStatus, atEnvMonv2PsbHostBoardIndex=atEnvMonv2PsbHostBoardIndex, atEnvMonv2Traps=atEnvMonv2Traps, atEnvMonv2FanAlarmClearedEvent=atEnvMonv2FanAlarmClearedEvent, atEnvMonv2PsbHeldBoardIndex=atEnvMonv2PsbHeldBoardIndex, atEnvMonv2PsbSensorDescription=atEnvMonv2PsbSensorDescription, atEnvMonv2TempAlarmClearedEvent=atEnvMonv2TempAlarmClearedEvent, atEnvMonv2PsbHostStackMemberId=atEnvMonv2PsbHostStackMemberId, atEnvMonv2FanCurrentSpeed=atEnvMonv2FanCurrentSpeed, atEnvMonv2FaultLed3Flashes=atEnvMonv2FaultLed3Flashes, atEnvMonv2TempAlarmSetNotify=atEnvMonv2TempAlarmSetNotify, atEnvMonv2PsbSensorBoardIndex=atEnvMonv2PsbSensorBoardIndex, atEnvMonv2FaultLedStackMemberId=atEnvMonv2FaultLedStackMemberId, atEnvMonv2TemperatureCurrent=atEnvMonv2TemperatureCurrent, atEnvMonv2PsbAlarmSetNotify=atEnvMonv2PsbAlarmSetNotify, atEnvMonv2TemperatureStatus=atEnvMonv2TemperatureStatus, atEnvMonv2VoltageTable=atEnvMonv2VoltageTable, atEnvMonv2TempAlarmSetEvent=atEnvMonv2TempAlarmSetEvent, atEnvMonv2PsbSensorIndex=atEnvMonv2PsbSensorIndex, AtEnvMonv2PsbSensorType=AtEnvMonv2PsbSensorType, atEnvMonv2PsbObjects=atEnvMonv2PsbObjects, atEnvMonv2FaultLedEntry=atEnvMonv2FaultLedEntry, atEnvMonv2PsbSensorTable=atEnvMonv2PsbSensorTable, atEnvMonv2FanDescription=atEnvMonv2FanDescription, atEnvMonv2PsbEntry=atEnvMonv2PsbEntry, atEnvMonv2TemperatureUpperThreshold=atEnvMonv2TemperatureUpperThreshold, atEnvMonv2FaultLed1Flash=atEnvMonv2FaultLed1Flash, atEnvMonv2FanLowerThreshold=atEnvMonv2FanLowerThreshold, atEnvMonv2FanTable=atEnvMonv2FanTable, atEnvMonv2FaultLed6Flashes=atEnvMonv2FaultLed6Flashes, atEnvMonv2TemperatureBoardIndex=atEnvMonv2TemperatureBoardIndex, atEnvMonv2PsbHostSlotIndex=atEnvMonv2PsbHostSlotIndex, atEnvMonv2FaultLed4Flashes=atEnvMonv2FaultLed4Flashes, atEnvMonv2TemperatureTable=atEnvMonv2TemperatureTable, atEnvMonv2VoltageEntry=atEnvMonv2VoltageEntry, atEnvMonv2PsbTable=atEnvMonv2PsbTable, atEnvMonv2FanStackMemberId=atEnvMonv2FanStackMemberId, atEnvMonv2VoltageLowerThreshold=atEnvMonv2VoltageLowerThreshold, atEnvMonv2PsbSensorReading=atEnvMonv2PsbSensorReading, atEnvMonv2VoltAlarmSetNotify=atEnvMonv2VoltAlarmSetNotify, atEnvMonv2FanIndex=atEnvMonv2FanIndex, atEnvMonv2TemperatureEntry=atEnvMonv2TemperatureEntry, atEnvMonv2Notifications=atEnvMonv2Notifications, atEnvMonv2VoltAlarmClearedEvent=atEnvMonv2VoltAlarmClearedEvent, atEnvMonv2VoltageCurrent=atEnvMonv2VoltageCurrent, atEnvMonv2TemperatureIndex=atEnvMonv2TemperatureIndex, atEnvMonv2PsbSensorEntry=atEnvMonv2PsbSensorEntry, atEnvMonv2VoltageBoardIndex=atEnvMonv2VoltageBoardIndex, atEnvMonv2PsbAlarmClearedNotify=atEnvMonv2PsbAlarmClearedNotify)
| [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
36164698f74c29edb260150452d6baa3ffb30d63 | 953bb772f6e47c00849091fcf01958b97a48cb9d | /run.py | 099bf2144605efd6d5fbb8f8936b69de12ad94b4 | [] | no_license | Drooz/PythonBot | fb43382c346fe891f2e96885fc7a8cfa88169523 | a0010a6911d25a892bcc62a6bcb4e0de7950529c | refs/heads/master | 2021-07-12T20:42:11.047560 | 2017-10-18T18:49:01 | 2017-10-18T18:49:01 | 107,449,188 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,574 | py | import schedule
import time
def job():
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import tweepy, time, sys, urllib, json
# enter the corresponding information from your Twitter application/Forecast.io API KEY/lat and long:
CONSUMER_KEY = '##'
CONSUMER_SECRET = '##'
ACCESS_KEY = '##'
ACCESS_SECRET = '##'
FORECAST_IO_APIKEY ='GO FORCAST.IO'
LATITUDE = '41.0082'
LONGITUDE = '28.9784'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
url = "https://api.forecast.io/forecast/" + FORECAST_IO_APIKEY + "/" + LATITUDE + "," + LONGITUDE
response = urllib.request.urlopen(url);
s1 = response.read()
data = json.loads(s1.decode())
# print json.dumps(data, sort_keys=True, indent=4)
temperature = str(int(round(data['currently']['temperature'])))
degree_sign = u'\N{DEGREE SIGN}'
summary = data['daily']['summary']
today = data['hourly']['summary']
# Conv to C
tempf = str(int((int(temperature)-32)*5/9))
#END Conv
tweet = "It's " + tempf + degree_sign + "C. " + today + " " + summary
if len(tweet) > 140:
tweet = "It's " + tempf + degree_sign + "C. " + today
print (tweet)
api.update_status(status=tweet)
schedule.every(120).minutes.do(job)
schedule.every().hour.do(job)
schedule.every().day.at("10:30").do(job)
schedule.every().monday.do(job)
schedule.every().wednesday.at("13:15").do(job)
while True:
schedule.run_pending()
time.sleep(1)
| [
"noreply@github.com"
] | Drooz.noreply@github.com |
0bb86e8290317a9804fa8b774d8a344fa6d1faed | 6374c6a8e50d2343403558b98d9706f5e69e5c57 | /packages/vaex-contrib/vaex/contrib/_version.py | 40ba92567c2091b16067fefbfb5dc84529cf3cf0 | [
"MIT"
] | permissive | balbinot/vaex | 3772e2af29f6141ce8cfabf195dda7ff727f5eaf | f1e2c9923b7ba84cd0c3d628bc2cc3858b4c1de0 | refs/heads/master | 2022-11-25T11:37:50.194543 | 2022-11-16T21:15:27 | 2022-11-16T21:15:27 | 171,303,582 | 0 | 0 | MIT | 2019-02-18T14:57:29 | 2019-02-18T14:57:28 | null | UTF-8 | Python | false | false | 52 | py | __version__ = '0.1.2'
__version_tuple__ = (0, 1, 2)
| [
"maartenbreddels@gmail.com"
] | maartenbreddels@gmail.com |
f61feb4084c2ff1d012bd9e7953e641d57196ce1 | 795df757ef84073c3adaf552d5f4b79fcb111bad | /subset/ch_to_digit.py | e5fec92594e325531745a414eddf68751ef747af | [] | no_license | tnakaicode/jburkardt-python | 02cb2f9ba817abf158fc93203eb17bf1cb3a5008 | 1a63f7664e47d6b81c07f2261b44f472adc4274d | refs/heads/master | 2022-05-21T04:41:37.611658 | 2022-04-09T03:31:00 | 2022-04-09T03:31:00 | 243,854,197 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,779 | py | #! /usr/bin/env python
#
def ch_to_digit ( c ):
#*****************************************************************************80
#
## CH_TO_DIGIT returns the integer value of a base 10 digit.
#
# Example:
#
# C DIGIT
# --- -----
# '0' 0
# '1' 1
# ... ...
# '9' 9
# ' ' 0
# 'X' -1
#
# Licensing:
#
# This code is distributed under the GNU LGPL license.
#
# Modified:
#
# 05 June 2015
#
# Author:
#
# John Burkardt
#
# Parameters:
#
# Input, character C, the decimal digit, '0' through '9' or blank
# are legal.
#
# Output, integer DIGIT, the corresponding integer value. If C was
# 'illegal', then DIGIT is -1.
#
i0 = ord ( '0' )
i9 = ord ( '9' )
ic = ord ( c )
if ( i0 <= ic and ic <= i9 ):
digit = ic - i0
elif ( c == ' ' ):
digit = 0
else:
digit = -1
return digit
def ch_to_digit_test ( ):
#*****************************************************************************80
#
## CH_TO_DIGIT_TEST tests CH_TO_DIGIT.
#
# Licensing:
#
# This code is distributed under the GNU LGPL license.
#
# Modified:
#
# 05 June 2015
#
# Author:
#
# John Burkardt
#
import platform
from digit_to_ch import digit_to_ch
print ( '' )
print ( 'CH_TO_DIGIT_TEST' )
print ( ' Python version: %s' % ( platform.python_version ( ) ) )
print ( ' CH_TO_DIGIT: character -> decimal digit' )
print ( '' )
for i in range ( -2, 12 ):
c = digit_to_ch ( i )
i2 = ch_to_digit ( c )
print ( ' %8d "%c" %8d' % ( i, c, i2 ) )
#
# Terminate.
#
print ( '' )
print ( 'CH_TO_DIGIT_TEST:' )
print ( ' Normal end of execution.' )
return
if ( __name__ == '__main__' ):
from timestamp import timestamp
timestamp ( )
ch_to_digit_test ( )
timestamp ( )
| [
"tnakaicode@gmail.com"
] | tnakaicode@gmail.com |
e5b791d245408261beafe64cf3f24db3228cd019 | 1bf853a5fb329b812e7f5a9d5f4ac442b9f8a3af | /parsers/classroom_parser.py | 4daa85eec29e0a4b28d657bf5cc1c9e42434760a | [] | no_license | saplat/TG_parser | 41f3cffd7e13de8d4a6becde6b4362756900b1e9 | 34947dea69ee9c4e4b2212138fcf9e637888eac3 | refs/heads/main | 2023-04-03T07:00:15.243345 | 2021-04-07T17:52:43 | 2021-04-07T17:52:43 | 354,776,166 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,968 | py | from openpyxl.cell import Cell
from openpyxl.worksheet.worksheet import Worksheet
from schedule.document_settings import START_PARSE_ROW,END_PARSE_ROW, ROWS_ON_DAY, StructParse
class ClassroomParser:
def __init__(self, worksheet: Worksheet):
self.__worksheet = worksheet
self.__result_parse: dict[int, list[str]] = {}
def __check_merge(self, cell: Cell):
for it in self.__worksheet.merged_cells.ranges:
if cell.coordinate in it:
return True
return False
def parse(self, info_parse: tuple[int, StructParse]) -> dict[int, list[str]]:
count_day_rows = 1
current_day = 1
result: dict[int, list[str]] = {
1: [],
2: [],
3: [],
4: [],
5: [],
6: [],
}
for it in range(START_PARSE_ROW, END_PARSE_ROW, 2):
if count_day_rows * 2 > ROWS_ON_DAY:
current_day += 1
count_day_rows = 1
result_data = "None"
cell = self.__worksheet.cell(row=it, column=info_parse[0])
if self.__check_merge(cell):
room = cell.value
if room is not None:
result_data = room
else:
room_numerator = cell.value
room_denominator = self.__worksheet.cell(row=it + 1, column=info_parse[0]).value
if (room_numerator is not None) and (room_denominator is not None):
result_data = f'{room_numerator} / {room_denominator}'
elif (room_numerator is not None) and (room_denominator is None):
result_data = f'{room_numerator} / -'
elif (room_numerator is None) and (room_denominator is not None):
result_data = f'- / {room_denominator}'
result[current_day].append(result_data)
count_day_rows += 1
return result | [
"2ssdmit@gmail.com"
] | 2ssdmit@gmail.com |
dc0ef1742c4338c30fa9ea017d55f277f31ede1c | e7bab0cbd1c574d00abeac19c3e6f4bb43fd42e3 | /wyporzyczalnia/migrations/0002_auto_20210602_1416.py | 8053b1b8982c4922c33a5c9daf943a1d08f8fb53 | [] | no_license | duszek91/biblioteka2 | 591d5fb5b2d2e8cc9ffe2d8d55f4b177acbbfefe | 7b7e7d3103b87f2522361c876b3bca423a307df5 | refs/heads/main | 2023-05-14T10:58:11.410298 | 2021-06-02T16:20:15 | 2021-06-02T16:20:15 | 372,833,424 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 547 | py | # Generated by Django 3.2.3 on 2021-06-02 12:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wyporzyczalnia', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='book',
old_name='relise',
new_name='release',
),
migrations.AlterField(
model_name='book',
name='image',
field=models.ImageField(blank=True, null=True, upload_to='okładki'),
),
]
| [
"adamaczek91@gmail.com"
] | adamaczek91@gmail.com |
21f7f97d500c3d7149bb4a8c56f1789d487dca2b | 907102e2719e0773cb98a96618beebf485b59a70 | /compiler.py | 0452c484092c600bfbc2e136b4b28fc53367df8e | [] | no_license | a52290451/CompiladorExpresiones | 3b697acdb6adc749ad202cc1281e0ef1196645d4 | a91adb5cd072a7c7803c2684ef2ca1bf1bbdf8cd | refs/heads/master | 2021-04-26T23:42:34.677305 | 2018-03-07T00:38:41 | 2018-03-07T00:38:41 | 123,841,953 | 0 | 0 | null | 2018-03-05T00:15:04 | 2018-03-05T00:15:04 | null | UTF-8 | Python | false | false | 1,336 | py | # -*- coding: utf-8 -*-
from pila import Pila
class Elemento:
pilaC= Pila()
dic=[]
listaC=[y.split(' ') for y in [x.strip('\n') for x in open("caracteres.txt", 'r').readlines()]]
i=0
for x in listaC:
for element in x:
for x in dic:
for y in x:
if y==element:
element=x[1]
if (element == '+' or element == '-' or element == '*'
or element == '/'):
puntder=float(pilaC.desapilar())
puntizq=float(pilaC.desapilar())
if element=='+':
pilaC.apilar(puntizq + puntder)
if element=='-':
pilaC.apilar(puntizq - puntder)
if element=='*':
pilaC.apilar(puntizq * puntder)
if element=='/':
pilaC.apilar(puntizq / puntder)
else:
#print (element)
if(element == '='):
m=pilaC.desapilar()
n=pilaC.desapilar()
print m
print n
dic.append([m,n])
if(element != '='):
pilaC.apilar(element)
print (dic)
| [
"noreply@github.com"
] | a52290451.noreply@github.com |
df6e71ba8d721dc4ee24720aa36a4f52effc259d | ec9f108742315278c9e4e904efaf394c00b230af | /alpyro_msgs/visualization_msgs/imagemarker.py | 06220326e0d7c67b2a355eb86d2e552958a055b1 | [
"MIT"
] | permissive | rho2/alpyro_msgs | 3cdc51e0eac5b3cbb2599ce55f69d5813c3064e5 | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | refs/heads/master | 2022-12-05T09:54:16.291162 | 2020-08-26T18:16:37 | 2020-08-26T18:16:37 | 290,033,264 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,799 | py | from typing import List
from typing_extensions import Annotated
from typing import Final
from alpyro_msgs import RosMessage, duration, float32, int32, string, uint8
from alpyro_msgs.geometry_msgs.point import Point
from alpyro_msgs.std_msgs.colorrgba import ColorRGBA
from alpyro_msgs.std_msgs.header import Header
class ImageMarker(RosMessage):
__msg_typ__ = "visualization_msgs/ImageMarker"
__msg_def__ = "dWludDggQ0lSQ0xFPTAKdWludDggTElORV9TVFJJUD0xCnVpbnQ4IExJTkVfTElTVD0yCnVpbnQ4IFBPTFlHT049Mwp1aW50OCBQT0lOVFM9NAp1aW50OCBBREQ9MAp1aW50OCBSRU1PVkU9MQpzdGRfbXNncy9IZWFkZXIgaGVhZGVyCiAgdWludDMyIHNlcQogIHRpbWUgc3RhbXAKICBzdHJpbmcgZnJhbWVfaWQKc3RyaW5nIG5zCmludDMyIGlkCmludDMyIHR5cGUKaW50MzIgYWN0aW9uCmdlb21ldHJ5X21zZ3MvUG9pbnQgcG9zaXRpb24KICBmbG9hdDY0IHgKICBmbG9hdDY0IHkKICBmbG9hdDY0IHoKZmxvYXQzMiBzY2FsZQpzdGRfbXNncy9Db2xvclJHQkEgb3V0bGluZV9jb2xvcgogIGZsb2F0MzIgcgogIGZsb2F0MzIgZwogIGZsb2F0MzIgYgogIGZsb2F0MzIgYQp1aW50OCBmaWxsZWQKc3RkX21zZ3MvQ29sb3JSR0JBIGZpbGxfY29sb3IKICBmbG9hdDMyIHIKICBmbG9hdDMyIGcKICBmbG9hdDMyIGIKICBmbG9hdDMyIGEKZHVyYXRpb24gbGlmZXRpbWUKZ2VvbWV0cnlfbXNncy9Qb2ludFtdIHBvaW50cwogIGZsb2F0NjQgeAogIGZsb2F0NjQgeQogIGZsb2F0NjQgegpzdGRfbXNncy9Db2xvclJHQkFbXSBvdXRsaW5lX2NvbG9ycwogIGZsb2F0MzIgcgogIGZsb2F0MzIgZwogIGZsb2F0MzIgYgogIGZsb2F0MzIgYQoK"
__md5_sum__ = "1de93c67ec8858b831025a08fbf1b35c"
CIRCLE: Final[uint8] = 0
LINE_STRIP: Final[uint8] = 1
LINE_LIST: Final[uint8] = 2
POLYGON: Final[uint8] = 3
POINTS: Final[uint8] = 4
ADD: Final[uint8] = 0
REMOVE: Final[uint8] = 1
header: Header
ns: string
id: int32
type: int32
action: int32
position: Point
scale: float32
outline_color: ColorRGBA
filled: uint8
fill_color: ColorRGBA
lifetime: duration
points: Annotated[List[Point], 0, 0]
outline_colors: Annotated[List[ColorRGBA], 0, 0]
| [
"git@rho2.eu"
] | git@rho2.eu |
4c211042e5992a5d156891dbe99717f2e17a57f8 | b5ade61b39b7bc60fe24362d176d17ab0682c3fe | /sentiment-analyser/sentiment-analyser.py | 7b3a101ce762c8a5e9142db41f11cb094f8a0bff | [] | no_license | celrati/naturalLanguageProcessingAlgorithms | 085be17a8b687adb5f01c2205cf047d3302bc71e | 6cb954ff2b05bc2ed71b89b5843c03d8b16a54e9 | refs/heads/master | 2020-09-15T11:13:23.582373 | 2019-11-22T15:34:10 | 2019-11-22T15:34:10 | 223,429,875 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,290 | py | import sys
import nltk
def getTypeWord(word,pos,neg):
answer = "none"
negg = open(neg,"r")
poss = open(pos,"r")
for w in negg:
if w.strip('\n') == word:
answer = "neg"
#print(w)
for w in poss:
if w.strip('\n') == word:
answer = "pos"
#print(w)
return answer
def analyse(sen,pos,neg):
text = ""
file = open(sen,"r")
for line in file:
words = nltk.word_tokenize(line)
list_neg = []
list_pos = []
for w in words:
if getTypeWord(w,pos,neg) == "neg":
list_neg.append(w)
elif getTypeWord(w,pos,neg) == "pos":
list_pos.append(w)
fq_neg = nltk.FreqDist(w.lower() for w in list_neg )
fq_pos = nltk.FreqDist(w.lower() for w in list_pos )
scoren = 0
scorep = 0
for i,j in fq_pos.most_common(500):
scorep = scorep + j
for i,j in fq_neg.most_common(500):
scoren = scoren + j
if scorep > scoren:
print("+")
elif scorep < scoren:
print("-")
print("=")
def main():
args = sys.argv[1:]
if not args:
print 'usage: [--summaryfile] file [file ...]'
sys.exit(1)
summary = False
if args[0] == '--summaryfile':
summary = True
del args[0]
print("######### sentiment-analyser by Mohammed-Achraf Charif ##########\n the result is :")
analyse(args[0],args[1],args[2])
if __name__ == '__main__':
main()
| [
"m.charif.achraf@gmail.com"
] | m.charif.achraf@gmail.com |
39dbed09398a06255f4a5bcfd72a9097effd6421 | eb08f5defe0f33505e3db1449119badea2b478f3 | /zmirror/threadlocal.py | b5f9e9444fdba92681644a3e984d506a49a28284 | [
"MIT"
] | permissive | dimension88/zmirror | 0b08068a69be879af78e3169d7cf1210ba292107 | 96145ff0a5e2cb0fa856b4c944c4e70a063050be | refs/heads/master | 2020-12-11T05:31:55.289583 | 2016-09-18T00:56:22 | 2016-09-18T00:56:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,775 | py | # coding=utf-8
import threading
import requests
try:
from typing import Dict
except: # pragma: no cover
pass
class ZmirrorThreadLocal(threading.local):
"""
由于Python内置thread-local对代码补全的提示非常不友好, 所以自己继承一个
本类在 zmirror 中被实例化为变量 parse
这个变量的重要性不亚于 request, 在 zmirror 各个部分都会用到
其各个变量的含义如下:
parse.start_time 处理请求开始的时间, unix 时间戳
.remote_domain 当前请求对应的远程域名
.is_external_domain 远程域名是否是外部域名, 比如google镜像, www.gstatic.com 就是外部域名
.is_https 是否需要用https 来请求远程域名
.remote_url 远程服务器的url, 比如 https://google.com/search?q=233
.url_no_scheme 没有协议前缀的url,比如 google.com/search?q=233 通常在缓存中用
.remote_path_query 对应的远程path+query, 比如 /search?q=2333
.remote_path 对应的远程path, 比如 /search
.client_header 经过转换和重写以后的访问者请求头
.content_type 远程服务器响应头中的 content_type, 比如 "text/plain; encoding=utf-8"
.mime 远程服务器响应的MIME, 比如 "text/html"
.cache_control 远程服务器响应的cache_control内容
.remote_response 远程服务器的响应, requests.Response
.cacheable 是否可以对这一响应应用缓存 (CDN也算是缓存的一种, 依赖于此选项)
.extra_resp_headers 发送给浏览器的额外响应头 (比如一些调试信息什么的)
.streamed_our_response 是否以 stream 模式向浏览器传送这个响应
.temporary_domain_alias 用于纯文本域名替换, 见 `plain_replace_domain_alias` 选项
"""
def __init__(self, **kw):
# 初始化成空白值
self.start_time = None
self.remote_domain = None
self.is_external_domain = None
self.is_https = None
self.remote_url = None
self.url_no_scheme = None
self.remote_path_query = None
self.client_header = None
self.content_type = None
self.remote_path = None
self.mime = None
self.cache_control = None
self.remote_response = None
self.streamed_our_response = False
self.cacheable = False
self.extra_resp_headers = {}
self.temporary_domain_alias = []
self.__dict__.update(kw)
def dump(self):
return {
"start_time": self.start_time,
"remote_domain": self.remote_domain,
"is_external_domain": self.is_external_domain,
"is_https": self.is_https,
"remote_url": self.remote_url,
"url_no_scheme": self.url_no_scheme,
"remote_path_query": self.remote_path_query,
"client_header": self.client_header,
"content_type": self.content_type,
"remote_path": self.remote_path,
"mime": self.mime,
"cache_control": self.cache_control,
"temporary_domain_alias": self.temporary_domain_alias,
"remote_response": self.remote_response,
"streamed_our_response": self.streamed_our_response,
"cacheable": self.cacheable,
"extra_resp_headers": self.extra_resp_headers,
}
def __str__(self):
return str(self.dump())
def set_extra_resp_header(self, name, value):
"""
:type name: str
:type value: str
"""
h = self.extra_resp_headers
h[name] = value
self.extra_resp_headers = h
@property
def start_time(self):
"""
处理请求开始的时间, unix 时间戳
:rtype: Union[int, None]
"""
return self.__getattribute__("_start_time")
@start_time.setter
def start_time(self, value):
""":type value: Union[int, None]"""
self.__setattr__("_start_time", value)
@property
def remote_domain(self):
"""
当前请求对应的远程域名
:rtype: str
"""
return self.__getattribute__("_remote_domain")
@remote_domain.setter
def remote_domain(self, value):
""":type value: str"""
self.__setattr__("_remote_domain", value)
@property
def is_external_domain(self):
"""
远程域名是否是外部域名, 比如google镜像, www.gstatic.com 就是外部域名
:rtype: bool
"""
return self.__getattribute__("_is_external_domain")
@is_external_domain.setter
def is_external_domain(self, value):
""":type value: bool"""
self.__setattr__("_is_external_domain", value)
@property
def is_https(self):
"""
是否需要用https 来请求远程域名
:rtype: bool
"""
return self.__getattribute__("_is_https")
@is_https.setter
def is_https(self, value):
""":type value: bool"""
self.__setattr__("_is_https", value)
@property
def remote_url(self):
"""
远程服务器的url, 比如 https://google.com/search?q=233
:rtype: str
"""
return self.__getattribute__("_remote_url")
@remote_url.setter
def remote_url(self, value):
""":type value: str"""
self.__setattr__("_remote_url", value)
@property
def url_no_scheme(self):
"""
没有协议前缀的url,比如 google.com/search?q=233 通常在缓存中用
:rtype: str
"""
return self.__getattribute__("_url_no_scheme")
@url_no_scheme.setter
def url_no_scheme(self, value):
""":type value: str"""
self.__setattr__("_url_no_scheme", value)
@property
def remote_path_query(self):
"""
对应的远程path+query, 比如 /search?q=2333
:rtype: str
"""
return self.__getattribute__("_remote_path_query")
@remote_path_query.setter
def remote_path_query(self, value):
""":type value: str"""
self.__setattr__("_remote_path_query", value)
@property
def remote_path(self):
"""
对应的远程path, 比如 /search
:rtype: str
"""
return self.__getattribute__("_remote_path")
@remote_path.setter
def remote_path(self, value):
""":type value: str"""
self.__setattr__("_remote_path", value)
@property
def client_header(self):
"""
经过转换和重写以后的访问者请求头
:rtype: dict[str, str]
"""
return self.__getattribute__("_client_header")
@client_header.setter
def client_header(self, value):
""":type value: dict[str, str]"""
self.__setattr__("_client_header", value)
@property
def content_type(self):
"""
远程服务器响应头中的 content_type, 比如 "text/plain; encoding=utf-8"
:rtype: str
"""
return self.__getattribute__("_content_type")
@content_type.setter
def content_type(self, value):
""":type value: str"""
self.__setattr__("_content_type", value)
@property
def mime(self):
"""
远程服务器响应的MIME, 比如 "text/html"
:rtype: str
"""
return self.__getattribute__("_mime")
@mime.setter
def mime(self, value):
""":type value: str"""
self.__setattr__("_mime", value)
@property
def cache_control(self):
"""
远程服务器响应的cache_control内容
:rtype: str
"""
return self.__getattribute__("_cache_control")
@cache_control.setter
def cache_control(self, value):
""":type value: str"""
self.__setattr__("_cache_control", value)
@property
def remote_response(self):
"""
远程服务器的响应, 对象, requests.Response
:rtype: requests.Response
"""
return self.__getattribute__("_remote_response")
@remote_response.setter
def remote_response(self, value):
""":type value: requests.Response"""
self.__setattr__("_remote_response", value)
@property
def temporary_domain_alias(self):
"""
用于纯文本域名替换, 见 `plain_replace_domain_alias` 选项
:rtype: list
"""
return self.__getattribute__("_temporary_domain_alias")
@temporary_domain_alias.setter
def temporary_domain_alias(self, value):
""":type value: list"""
self.__setattr__("_temporary_domain_alias", value)
@property
def streamed_our_response(self):
"""我们的响应是否用 stream 模式传送
:rtype: bool"""
return self.__getattribute__("_streamed_our_response")
@streamed_our_response.setter
def streamed_our_response(self, value):
""":type value: bool"""
self.__setattr__("_streamed_our_response", value)
@property
def cacheable(self):
"""响应能否被缓存
:rtype: bool"""
return self.__getattribute__("_cacheable")
@cacheable.setter
def cacheable(self, value):
""":type value: bool"""
self.__setattr__("_cacheable", value)
@property
def extra_resp_headers(self):
"""额外的响应头
:rtype: Dict[str, str]"""
return self.__getattribute__("_extra_resp_headers")
@extra_resp_headers.setter
def extra_resp_headers(self, value):
""":type value: Dict[str, str]"""
self.__setattr__("_extra_resp_headers", value)
| [
"i@z.codes"
] | i@z.codes |
b1d3d678558d4f06edd0ebf97150540abafe4fad | 52bb0967590b203f0983e428e9709619a79531fa | /Save the Prisoner!.py | 66f2088a2f72ea40b800edf2413f6614b97d209c | [] | no_license | God-father1/Python-HR | 93e3d90832dc01198856595355aca3f031253330 | 9482b44565fd8507c747b4dade573cae282276ab | refs/heads/master | 2021-05-20T10:18:33.687584 | 2020-05-09T12:26:16 | 2020-05-09T12:26:16 | 252,245,649 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 574 | py | #!/bin/python3
import math
import os
import random
import re
import sys
# Complete the saveThePrisoner function below.
def saveThePrisoner(n, m, s):
a=0
a=(m+s-1)%n
if a==0:
return n
else:
return a
if __name__ == '__main__':
fptr = open(os.environ['OUTPUT_PATH'], 'w')
t = int(input())
for t_itr in range(t):
nms = input().split()
n = int(nms[0])
m = int(nms[1])
s = int(nms[2])
result = saveThePrisoner(n, m, s)
fptr.write(str(result) + '\n')
fptr.close()
| [
"58758331+God-father1@users.noreply.github.com"
] | 58758331+God-father1@users.noreply.github.com |
1642b72b20842baec99d2a92d494cd8b0463e372 | d54476a109bb7a75ab18c742e53425358eae2df7 | /shop/tests/test_forms.py | 9e820893b9e2044419bc61642c65de7d89ed1f3f | [] | no_license | OmarGonD/stickers_gallito | 8b46673a73d3fa6fdbdeb9726804f3e3c176543b | 4aa4f5aeb272b393410ed8b518aa39040f46a97b | refs/heads/master | 2022-12-09T20:38:23.672740 | 2019-12-13T14:41:41 | 2019-12-13T14:41:41 | 163,198,792 | 0 | 1 | null | 2022-04-22T21:00:01 | 2018-12-26T16:35:33 | HTML | UTF-8 | Python | false | false | 2,652 | py | from django.test import TestCase
from django.utils import timezone
from django.urls import reverse
from shop.models import Peru
from shop.forms import SignUpForm, ProfileForm
from django.contrib.auth import get_user_model
from django.core.management import call_command
import datetime
#coverage run manage.py test shop/tests -v 2
class SignUpFormTest(TestCase):
def setUp(self):
self.user = get_user_model().objects.create_user(
username='testuser', email='testemail@example.com',
password='secret')
def test_signup_form(self):
form_data = {'first_name': 'oma',
'last_name': 'gonza',
'username': 'omagonza',
'email': 'oma.gonzales@gmail.com',
'password1': 'caballo123',
'password2': 'caballo123'}
form = SignUpForm(data=form_data)
self.assertTrue(form.is_valid())
def test_profile_form(self):
call_command('ubigeo_peru')
peru = Peru.objects.all()
department_list = set()
province_list = set()
district_list = set()
for p in peru:
department_list.add(p.departamento)
department_list = list(department_list)
if len(department_list):
province_list = set(Peru.objects.filter(departamento=department_list[0]).values_list("provincia", flat=True))
province_list = list(province_list)
else:
province_list = set()
if len(province_list):
district_list = set(
Peru.objects.filter(departamento=department_list[0], provincia=province_list[0]).values_list("distrito", flat=True))
district_list = list(district_list)
else:
district_list = set()
form_data = {'user': self.user,
'dni': 454545,
'phone_number': 96959495,
'birthdate': datetime.datetime.now(),
'shipping_address1': 'Urb. Los Leones',
'shipping_address2': 'Colegio X',
'shipping_department': department_list[0],
'shipping_province': province_list[0],
'shipping_district': district_list[0]}
form = ProfileForm(district_list=district_list, province_list=province_list,
department_list=department_list, data=form_data)
print(form.errors)
self.assertTrue(form.is_valid())
| [
"oma.gonzales@gmail.com"
] | oma.gonzales@gmail.com |
37d5a698f7418ea38e637ac9b88963066cb3ad5c | 1ae9fa6877caec806495d4b85ead13b594cb532e | /CVGuide/blog/views.py | 6fb24d497170295e7c4a32c1cc01b1c6a435170f | [] | no_license | PhillipTodorov/djangoCVGuide | 3b60747c39fa8ddec1ab2ff912892ca23317a393 | 93da926735452a10363308b026406686f1ecf164 | refs/heads/master | 2022-02-17T16:58:08.623222 | 2019-08-21T13:26:52 | 2019-08-21T13:26:52 | 203,585,378 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 166 | py | from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello world. You're at the polls index.") | [
"ph.todorov@yahoo.co.uk"
] | ph.todorov@yahoo.co.uk |
b5a9cc829dc3d67d0a45ffc7f7ad8459583bf534 | 73cbc25ba52937fbed6c7a57e676fda254d219e1 | /figures.py | bd801c4b51262bc1ef923240cc725fe619256fa6 | [] | no_license | mrotar/flights_analysis | a86e08126c3afefbe4d3fdd77ebb3549d9e66c61 | bb8f2c5f3f05f09208c232319c0ac63394aa42a9 | refs/heads/master | 2020-04-16T08:24:59.973286 | 2019-01-12T19:30:50 | 2019-01-12T19:30:50 | 165,424,278 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 498 | py | from bokeh.plotting import figure, show, output_file
from bokeh.embed import components
fruits = ['Apples', 'Pears', 'Nectarines', 'Plums', 'Grapes', 'Strawberries']
counts = [5, 3, 4, 2, 4, 6]
p = figure(x_range=fruits, plot_height=250, title="Fruit Counts",
toolbar_location=None, tools="")
p.vbar(x=fruits, top=counts, width=0.9)
p.xgrid.grid_line_color = None
p.y_range.start = 0
script, div = components(p)
output_file('fruit_chart.html')
show(p)
# print (script)
# print(div) | [
"noreply@github.com"
] | mrotar.noreply@github.com |
77cef28d034ff163d22d5c7cc426110548c0c2f2 | 7bda1634a384b6335500c382ced8daf154266d00 | /venv/bin/gunicorn | 33ba129f17b81304a4a5a4db682bdd6c44da8133 | [] | no_license | shephe/mydevskills_backend | 4cd9f74b6ce7c3141f4b0d17a0fb98b3ec3ce251 | 5a8c66d1489fe0532557b9c1dbe7a24ca8b9c173 | refs/heads/master | 2023-08-18T18:20:53.521390 | 2021-08-20T19:02:56 | 2021-08-20T19:02:56 | 275,255,141 | 0 | 0 | null | 2021-09-22T19:19:35 | 2020-06-26T21:59:29 | Python | UTF-8 | Python | false | false | 278 | #!/Users/sheila/pycharmprojects/mydevskills/devskills_djangoapi/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from gunicorn.app.wsgiapp import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())
| [
"spkelley26@gmail.com"
] | spkelley26@gmail.com | |
b97fe93a1acffc229780679f3dfa0d29b458ad6c | 6f1c4ab45abb244310b68734bd2c9b00f164faa3 | /Simulator/src_sqdb/make_fake_db.py | f118363f795af56bc66be83ca36b3fbcc5518cfd | [] | no_license | tmatsumu/LB_SYSPL_updated | 8882b4c35740c0f237322a61c151f46869b690f1 | 244da4ade38ee98eedfff92d483a68cd27058c4e | refs/heads/master | 2021-04-29T18:50:41.670625 | 2020-05-20T01:44:25 | 2020-05-20T01:44:25 | 121,703,231 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 5,861 | py | import numpy as np
import sqlite3 as sq
import fileinput
import sys
import os
def read_table(filename):
import fileinput
arr1=[]; arr2=[]; arr3=[]; arr4=[];
arr5=[]; arr6=[]; arr7=[]; arr8=[];
arr9=[]; arr10=[]; arr11=[]; arr12=[];
arr13=[]; arr14=[]; arr15=[]; arr16=[];
filelines = fileinput.input(filename)
i=0
for line in filelines:
if i>=0:
ar = line.split()
arr1.append(int(ar[0])); arr2.append(float(ar[1])); arr3.append(float(ar[2])); arr4.append(float(ar[3]))
arr5.append(float(ar[4])); arr6.append(int(ar[5])); arr7.append(int(ar[6])); arr8.append(int(ar[7]))
arr9.append(float(ar[8])); arr10.append(float(ar[9])); arr11.append(float(ar[10])); arr12.append(float(ar[11]))
arr13.append(float(ar[12])); arr14.append(float(ar[13])); arr15.append(float(ar[14])); arr16.append(float(ar[15]))
i+=1
return np.array(arr1),np.array(arr2),np.array(arr3),np.array(arr4),np.array(arr5),np.array(arr6),np.array(arr7),np.array(arr8),np.array(arr9),np.array(arr10),np.array(arr11),np.array(arr12),np.array(arr13),np.array(arr14),np.array(arr15),np.array(arr16)
class construct_table():
def __init__(self):
self.db_name = 'tmp.db'
self.dir_ptg = {}
self.first_mjd = {}
self.last_mjd = {}
self.num = 1
def make_CESdb(self):
if os.path.exists(self.db_name):
print 'DB already exits'
return -1
else:
conn = sq.connect(self.db_name)
c = conn.cursor()
c.execute('create table pb1_observation_fake (id integer, run_id integer, run_subid integer, dir_ptg text, first_mjd real, last_mjd real)')
for i in range(0,self.num):
list_entries = ( int(i),
int(i/5),
int(i%5),
self.dir_ptg[i],
self.first_mjd[i],
self.last_mjd[i])
c.execute('insert into pb1_observation_fake values (?,?,?,?,?,?)',list_entries)
conn.commit()
c.close()
def make_Flag_pixel(self):
num = 1511
if os.path.exists(self.db_name):
print 'DB already exits'
return -1
else:
conn = sq.connect(self.db_name)
c = conn.cursor()
c.execute('create table Flag_pixel (flag integer)')
for i in range(0,self.num):
list_entries = ( int(0))
c.execute('insert into CESdb values (?)',list_entries)
conn.commit()
c.close()
class read_DB():
def __init__(self):
self.filename = 'tmp.db'
self.sq_command = 'select * from pb1_observation_fake'
def read_pb1_observation_fake(self):
conn = sq.connect(self.filename)
c = conn.cursor()
c.execute(self.sq_command)
id=[];run_id=[];run_subid=[];dir_ptg=[];first_mjd=[];last_mjd=[]
for ar in c:
id.append(int(ar[0]))
run_id.append(int(ar[1]))
run_subid.append(int(ar[2]))
dir_ptg.append(str(ar[3]))
first_mjd.append(float(ar[4]))
last_mjd.append(float(ar[5]))
c.close()
self.CESdb = {'id':id,'run_id':run_id,'run_subid':run_subid,'dir_ptg':dir_ptg,
'first_mjd':first_mjd,'last_mjd':last_mjd}
return self.CESdb
def display_all(self,db_dict):
keys = db_dict.keys()
num = len(db_dict[keys[0]])
print keys
for i in range(num):
tmp = []
for j in keys: tmp.append(db_dict[j][i])
print tmp
print keys
def io_example_pb1_observation_fake(filename):
read = read_DB()
read.filename = filename
db_new = read.read_pb1_observation_fake()
read.display_all(db_new)
####################################################################################################################################
#dir_ptgdata = '/home/tmatsumu/data_sim/PBI/ScanStrategy/RunLog/1333707630.59_id20120406_candidate_100Hz_lst23_7days_noHWP_el40'
#dir_ptgdata = '/project/projectdirs/polar/user/tmatsumu/sim/ScanStrategy/RunLog/1340002291.46_id20120618_candidate_100Hz_lst23_7days_noHWP_el40'
#dir_ptgdata = '/project/projectdirs/polar/pipeline/pb1_ntp/ExampleData/1340002291.46_id20120618_candidate_100Hz_lst23_7days_noHWP_el40'
dir_ptgdata = '/project/projectdirs/polar/user/tmatsumu/sim/ScanStrategy/RunLog/1343282418.39_id20120726_candidate_100Hz_lst23_7days_noHWP_el40'
filename_table = dir_ptgdata+'/table.txt'
a1,a2,period,a4,a5,a6,a7,a8,a9,a10,a11,first_mjd,a13,a14,a15,a16=read_table(filename_table)
dir_date = ['observation_20120701','observation_20120702','observation_20120703','observation_20120704','observation_20120705','observation_20120706','observation_20120707']
#dir_date = ['observation_20120401','observation_20120402','observation_20120403','observation_20120404','observation_20120405','observation_20120406','observation_20120407','observation_20120408','observation_20120409','observation_20120410','observation_20120411','observation_20120412','observation_20120413']
dir_ces = ['scan0','scan1','scan2','scan3','scan4']
num_date = len(dir_date)
num_ces = len(dir_ces)
#num_date = 13
dir_out = []
for i in range(0,num_date):
for j in range(0,num_ces):
dir_out.append(dir_ptgdata+'/'+dir_date[i]+'/'+dir_ces[j])
print dir_out
db_filename = './pb1_observation_fake_example.db'
make_db = construct_table()
make_db.db_name = db_filename
make_db.dir_ptg = dir_out
make_db.first_mjd = first_mjd
make_db.last_mjd = first_mjd+period/3600./24.
make_db.num = len(dir_out)
print len(dir_out)
make_db.make_CESdb()
io_example_pb1_observation_fake(db_filename)
| [
"tmatsumu@cw11.cc.kek.jp"
] | tmatsumu@cw11.cc.kek.jp |
716af990e8fb5ee7ee29272dbbc277282284092a | f0bdfef27151b14ce368bf876c12e9c520c8b4d6 | /metrics/run.py | 2a81853a6e5259b0fd0f5fb06178f312ebf2bd81 | [
"MIT"
] | permissive | testlink-metrics/testlink-metrics-report | 56d82a65b20cf4587d2e30a157a6727185d9c24d | 628e21923b874c4a37755f6fb92420b0d78e59bc | refs/heads/master | 2021-03-18T18:37:28.308662 | 2020-05-08T06:32:32 | 2020-05-08T06:32:32 | 247,091,078 | 10 | 0 | MIT | 2020-04-26T10:13:47 | 2020-03-13T14:31:57 | HTML | UTF-8 | Python | false | false | 2,142 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from flask import Flask, render_template, request
import logging
from metrics.svc.tmr_client import TMRClient
logging.basicConfig(level=logging.INFO, format='[ %(asctime)s ] %(levelname)s %(message)s')
TMR_VERSION = '1.2.1'
app = Flask(__name__)
tmrclient = TMRClient()
@app.route('/favicon.ico')
def favicon():
return app.send_static_file('favicon.ico')
pass
@app.route('/')
def index():
project_id = request.args.get('project_id')
plan_id = request.args.get('plan_id')
build_id = request.args.get('build_id')
platform_id = request.args.get('platform_id')
case_id = request.args.get('case_id')
req_id = request.args.get('req_id')
report = request.args.get('report')
return render_template(
'index.html',
tmr_version=TMR_VERSION,
project_id=project_id,
plan_id=plan_id,
build_id=build_id,
platform_id=platform_id,
case_id=case_id,
req_id=req_id,
projects=tmrclient.list_project(),
plans=tmrclient.list_plan(project_id=project_id),
builds=tmrclient.list_build(plan_id=plan_id),
platforms=tmrclient.list_platform(plan_id=plan_id),
summary=tmrclient.get_summary(project_id=project_id,
plan_id=plan_id,
build_id=build_id,
platform_id=platform_id,
req_id=req_id,
report=report)
)
@app.route('/case')
def case():
project_id = request.args.get('project_id')
plan_id = request.args.get('plan_id')
build_id = request.args.get('build_id')
platform_id = request.args.get('platform_id')
case_ext_id = request.args.get('case_ext_id')
return render_template(
'case.html',
case=tmrclient.get_case(project_id=project_id, plan_id=plan_id, build_id=build_id, platform_id=platform_id,
case_ext_id=case_ext_id)
)
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80, debug=True)
| [
"seoktaehyeon@msn.com"
] | seoktaehyeon@msn.com |
27090db014ed2bb55e604d37feb7125927866fdc | dbcccd41d4260614f8ed7b210b730628731a3cf4 | /wgraph/parsing/utils.py | b940972eeabbef1420f5984b50096e5a83a7bb25 | [
"MIT"
] | permissive | metopedia/wgraph | 9e26e2f816ffcbb29cfcc5b2990657e21c50941d | 71649dfd64e80fa8da20aa0db5e18d49f6ad4d13 | refs/heads/master | 2023-03-25T05:10:39.994551 | 2020-09-20T08:36:36 | 2020-09-20T08:36:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,567 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Some parsing utilities"""
from typing import Iterator, Iterable, Tuple, Optional
from wgraph.parsing.types import Ref, Title, Section, Line
def extract_named_argument(string: str, kw: str) -> Optional[str]:
token = f"{kw}="
start_of_word = string.find(token)
if start_of_word != -1:
start_of_word += len(token)
end_of_word = string.find("|", start_of_word)
if end_of_word == -1:
return string[start_of_word:]
else:
return string[start_of_word:end_of_word]
return None
def iter_links(line: str) -> Iterator[str]:
# Extract links between [[ and ]]
ref_begin = line.find("[[")
while ref_begin != -1:
ref_begin += 2
ref_end = line.find("]]", ref_begin)
if ref_end == -1:
break
yield line[ref_begin:ref_end]
ref_begin = line.find("[[", ref_end + 2)
# Extract links between '' and ''
ref_begin = line.find("''")
while ref_begin != -1:
ref_begin += 2
ref_end = line.find("''", ref_begin)
if ref_end == -1:
break
if line[ref_begin] != "[":
yield line[ref_begin:ref_end]
ref_begin = line.find("''", ref_end + 2)
def iter_templates(line: str) -> Iterator[str]:
ref_begin = line.find("{{")
while ref_begin != -1:
ref_end = line.find("}}", ref_begin)
if ref_end == -1:
break
yield line[ref_begin + 2 : ref_end]
ref_begin = line.find("{{", ref_end)
| [
"remi@cliqz.com"
] | remi@cliqz.com |
a75f6517e1c4ae9a998e951619b86e8d07e32935 | c09f521f12d12d2c06e9639429f77a0c74fd67d0 | /pytorchgeometric/lib/python3.7/site-packages/torch_scatter/__init__.py | 49bb3e12f8b9b02ff01efa544deb29af15a29d16 | [] | no_license | dinhinfotech/Pretrain_DGCNN_NIPS_2019 | bbfca04537607825d156b0fcf5abbd71faf93de5 | 020bcb6a4dc4593bae7f6c590d53227d5d6e1aa0 | refs/heads/master | 2022-10-26T08:09:26.052013 | 2019-04-05T13:11:34 | 2019-04-05T13:11:34 | 179,515,754 | 6 | 1 | null | 2022-10-10T09:12:35 | 2019-04-04T14:36:56 | Python | UTF-8 | Python | false | false | 444 | py | from .add import scatter_add
from .sub import scatter_sub
from .mul import scatter_mul
from .div import scatter_div
from .mean import scatter_mean
from .std import scatter_std
from .max import scatter_max
from .min import scatter_min
__version__ = '1.1.1'
__all__ = [
'scatter_add',
'scatter_sub',
'scatter_mul',
'scatter_div',
'scatter_mean',
'scatter_std',
'scatter_max',
'scatter_min',
'__version__',
]
| [
"dinhinfotech@gmail.com"
] | dinhinfotech@gmail.com |
e0f3f2c193b3b995e1e890607db182e89d5ab89a | 99bdb3251fecee538e0630f15f6574054dfc1468 | /bsp/nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py | 60ae52747bc1f5f1a5f3f0c6a2a1fcf5e1e1f77f | [
"Zlib",
"LicenseRef-scancode-proprietary-license",
"MIT",
"BSD-3-Clause",
"X11",
"BSD-4-Clause-UC",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | RT-Thread/rt-thread | 03a7c52c2aeb1b06a544143b0e803d72f47d1ece | 3602f891211904a27dcbd51e5ba72fefce7326b2 | refs/heads/master | 2023-09-01T04:10:20.295801 | 2023-08-31T16:20:55 | 2023-08-31T16:20:55 | 7,408,108 | 9,599 | 5,805 | Apache-2.0 | 2023-09-14T13:37:26 | 2013-01-02T14:49:21 | C | UTF-8 | Python | false | false | 70,098 | py | # NOTE: This script is test under Python 3.x
__copyright__ = "Copyright (C) 2020~2021 Nuvoton Technology Corp. All rights reserved"
__version__ = "v0.37"
import os
import sys
import argparse
import json
import crcmod
from Crypto.Cipher import AES
import hashlib
import ecdsa
import binascii
from datetime import datetime
import random
import shutil
from tqdm import tqdm
from xusbcom import XUsbComList
from concurrent.futures import ThreadPoolExecutor, as_completed
from UnpackImage import UnpackImage
from collections import namedtuple
from struct import unpack
import time
import platform
# for debug
import usb.core
import usb.util
ACK = 0x55AA55AA
TRANSFER_SIZE = 4096
MAX_HEADER_IMG = 4
# SPI NOR align for erase/program starting address
SPINOR_ALIGN = 4096
# Storage device type
DEV_DDR_SRAM = 0
DEV_NAND = 1
DEV_SD_EMMC = 2
DEV_SPINOR = 3
DEV_SPINAND = 4
DEV_OTP = 6
DEV_USBH = 7
DEV_UNKNOWN = 0xFF
# For OTP programming
ACT_LOAD = 1
ACT_WRITE = 2
ACT_ERASE = 3
ACT_READ = 4
ACT_MSC = 5
# Command options
OPT_NONE = 0
OPT_SCRUB = 1 # For erase, use with care
OPT_WITHBAD = 1 # For read
OPT_EXECUTE = 2 # For write
OPT_VERIFY = 3 # For write
OPT_UNPACK = 4 # For pack
OPT_RAW = 5 # For write
OPT_EJECT = 6 # For msc
OPT_STUFF = 7 # For stuff pack, output could be used by dd command
OPT_SETINFO = 8 # For set storage info for attach
OPT_CONCAT = 9 # For convert, concatenate at the end of encrypted data file
OPT_SHOWHDR = 10 # For convert. Instead of convert, show header content instead
OPT_NOCRC = 11 # For pack. unpack file without crc32 check
OPT_UNKNOWN = 0xFF # Error
# OPT block definitions
OPT_OTPBLK1 = 0x100
OPT_OTPBLK2 = 0x200
OPT_OTPBLK3 = 0x400
OPT_OTPBLK4 = 0x800
OPT_OTPBLK5 = 0x1000
OPT_OTPBLK6 = 0x2000
OPT_OTPBLK7 = 0x4000
OPT_OTPKEY = 0x8000
# for key lock
OPT_OTPKEY0 = 0x10000
OPT_OTPKEY1 = 0x20000
OPT_OTPKEY2 = 0x40000
OPT_OTPKEY3 = 0x80000
OPT_OTPKEY4 = 0x100000
OPT_OTPKEY5 = 0x200000
# Image type definitions
IMG_DATA = 0
IMG_TFA = 1
IMG_UBOOT = 2
IMG_LINUX = 3
IMG_DDR = 4
IMG_TEE = 5
IMG_DTB = 6
# If attach is a must. maybe better for real chip.
# devices = []
mp_mode = False
WINDOWS_PATH = "C:\\Program Files (x86)\\Nuvoton Tools\\NuWriter\\"
LINUX_PATH = "/usr/share/nuwriter/"
def conv_env(env_file_name, blk_size) -> bytearray:
try:
with open(env_file_name, "r") as env_file:
env_data = env_file.read().splitlines()
except (IOError, OSError) as err:
print(f"Open {env_file_name} failed")
sys.exit(err)
out = bytearray(4) # Reserved for CRC
for lines in env_data:
out += bytes(lines, 'ascii')
out += b'\x00'
out += b'\x00'
out += b'\xFF' * (blk_size - len(out))
crc32_func = crcmod.predefined.mkCrcFun('crc-32')
checksum = crc32_func(out[4:])
out[0:4] = checksum.to_bytes(4, byteorder="little")
return out
def get_dpm(dpm) -> int:
return {
'a35sdsdis': 0x00000001,
'a35sdslock': 0x00000002,
'a35sndsdis': 0x00000004,
'a35sndslock': 0x00000008,
'a35nsdsdis': 0x00000010,
'a35nsdslock': 0x00000020,
'a35nsndsdis': 0x00000040,
'a35nsndslock': 0x00000080,
'm4dsdis': 0x00000100,
'm4dslock': 0x00000200,
'm4ndsdis': 0x00000400,
'm4ndslock': 0x00000800,
'extdis': 0x00001000,
'extlock': 0x00002000,
'exttdis': 0x00004000,
'exttlock': 0x00008000,
'giccfgsdis': 0x00010000,
'giccfgslock': 0x00020000
}.get(dpm, 0)
def get_plm(plm) -> int:
return {
'oem': 0x1,
'deploy': 0x3,
'rma': 0x7,
'prma': 0xF
}.get(plm, 0)
def conv_otp(opt_file_name) -> (bytearray, int):
try:
with open(opt_file_name, "r") as json_file:
try:
d = json.load(json_file)
except json.decoder.JSONDecodeError as err:
print(f"{opt_file_name} parsing error")
sys.exit(err)
except (IOError, OSError) as err:
print(f"Open {opt_file_name} failed")
sys.exit(err)
# Bootcfg, DPM, PLM, and PWD 4 bytes each, MAC addr 8 bytes each, sec/nsec 88 bytes each
data = bytearray(208)
option = 0
for key in d.keys():
if key == 'boot_cfg':
cfg_val = 0
for sub_key in d['boot_cfg'].keys():
if sub_key == 'posotp':
if d['boot_cfg']['posotp'] == 'enable':
cfg_val |= 1
if sub_key == 'qspiclk':
if d['boot_cfg']['qspiclk'] == '50mhz':
cfg_val |= 2
if sub_key == 'wdt1en':
if d['boot_cfg']['wdt1en'] == 'enable':
cfg_val |= 4
if sub_key == 'uart0en':
if d['boot_cfg']['uart0en'] == 'disable':
cfg_val |= 0x10
if sub_key == 'sd0bken':
if d['boot_cfg']['sd0bken'] == 'enable':
cfg_val |= 0x20
if sub_key == 'tsiimg':
if d['boot_cfg']['tsiimg'] == 'enable':
cfg_val |= 0x40
if sub_key == 'tsidbg':
if d['boot_cfg']['tsidbg'] == 'disable':
cfg_val |= 0x80
if sub_key == 'bootsrc':
if d['boot_cfg']['bootsrc'] == 'sd' or d['boot_cfg']['bootsrc'] == 'emmc':
cfg_val |= 0x400
elif d['boot_cfg']['bootsrc'] == 'nand':
cfg_val |= 0x800
elif d['boot_cfg']['bootsrc'] == 'usb':
cfg_val |= 0xC00
if sub_key == 'page':
if d['boot_cfg']['page'] == '2k':
cfg_val |= 0x1000
elif d['boot_cfg']['page'] == '4k':
cfg_val |= 0x2000
elif d['boot_cfg']['page'] == '8k':
cfg_val |= 0x3000
if sub_key == 'option':
if d['boot_cfg']['option'] == 'sd1' or d['boot_cfg']['option'] == 'emmc1' or \
d['boot_cfg']['option'] == 't12' or d['boot_cfg']['option'] == 'spinand4':
cfg_val |= 0x4000
elif d['boot_cfg']['option'] == 't24' or d['boot_cfg']['option'] == 'spinor1':
cfg_val |= 0x8000
elif d['boot_cfg']['option'] == 'noecc' or d['boot_cfg']['option'] == 'spinor4':
cfg_val |= 0xC000
if sub_key == 'secboot':
if d['boot_cfg']['secboot'] == 'disable':
cfg_val |= 0x5A000000
data[0:4] = cfg_val.to_bytes(4, byteorder='little')
option |= OPT_OTPBLK1
elif key == 'dpm_plm':
for sub_key in d['dpm_plm'].keys():
if sub_key == 'dpm':
dpm_val = 0
for dpm_key in d['dpm_plm']['dpm'].keys():
dpm_val |= get_dpm(dpm_key)
if dpm_val != 0:
data[4:8] = dpm_val.to_bytes(4, byteorder='little')
elif sub_key == 'plm':
plm_val = get_plm(d['dpm_plm']['plm'])
if plm_val != 0:
data[8:12] = plm_val.to_bytes(4, byteorder='little')
option |= OPT_OTPBLK2
elif key == 'mac0':
data[12:18] = bytes.fromhex(d['mac0'])
option |= OPT_OTPBLK3
elif key == 'mac1':
data[20:26] = bytes.fromhex(d['mac1'])
option |= OPT_OTPBLK4
elif key == 'dplypwd':
data[28:32] = bytes.fromhex(d['dplypwd'])
option |= OPT_OTPBLK5
elif key == 'sec':
newkey = bytes.fromhex(d['sec'])
newkey += b'\x00' * (88 - len(newkey))
data[32:120] = newkey
option |= OPT_OTPBLK6
elif key == 'nonsec':
newkey = bytes.fromhex(d['nonsec'])
newkey += b'\x00' * (88 - len(newkey))
data[120:208] = newkey
option |= OPT_OTPBLK7
elif key == 'huk0':
newkey = bytes.fromhex(d['huk0']['key'])
if len(newkey) != 16:
print("HUK0 is 128-bit")
sys.exit(2)
newkey += b'\x00' * (32 - len(newkey))
# size - 128-bit
newkey += b'\x08\x00\x00\x00'
# key number - 0
newkey += b'\x00\x00\x00\x00'
# meta - owner: cpu, cpu readable
newkey += b'\x04\x00\x05\x80'
data += newkey
elif key == 'huk1':
newkey = bytes.fromhex(d['huk1']['key'])
if len(newkey) != 16:
print("HUK1 is 128-bit")
sys.exit(2)
newkey += b'\x00' * (32 - len(newkey))
# size - 128-bit
newkey += b'\x08\x00\x00\x00'
# key number - 1
newkey += b'\x01\x00\x00\x00'
# meta - owner: cpu, cpu readable
newkey += b'\x04\x00\x05\x80'
data += newkey
elif key == 'huk2':
newkey = bytes.fromhex(d['huk2']['key'])
if len(newkey) != 16:
print("HUK0 is 128-bit")
sys.exit(2)
newkey += b'\x00' * (32 - len(newkey))
# size - 128-bit
newkey += b'\x08\x00\x00\x00'
# key number - 2
newkey += b'\x02\x00\x00\x00'
# meta - owner: cpu, cpu readable
newkey += b'\x04\x00\x05\x80'
data += newkey
elif key == 'key3':
newkey = bytes.fromhex(d['key3']['key'])
if len(newkey) != 32:
print("key3 is 256-bit")
sys.exit(2)
newkey += b'\x00' * (32 - len(newkey))
# size - 256-bit
newkey += b'\x00\x01\x00\x00'
# key number - 3
newkey += b'\x03\x00\x00\x00'
if d['key3']['meta'] == 'aes256-unreadable':
newkey += b'\x00\x06\x00\x80'
elif d['key3']['meta'] == 'aes256-cpu-readable':
newkey += b'\x04\x06\x00\x80'
elif d['key3']['meta'] == 'sha256-unreadable':
newkey += b'\x00\x06\x01\x80'
elif d['key3']['meta'] == 'sha256-cpu-readable':
newkey += b'\x04\x06\x01\x80'
elif d['key3']['meta'] == 'eccp256-unreadable':
newkey += b'\x00\x06\x04\x80'
elif d['key3']['meta'] == 'eccp256-cpu-readable':
newkey += b'\x04\x06\x04\x80'
data += newkey
elif key == 'key4':
newkey = bytes.fromhex(d['key4']['key'])
if len(newkey) != 32:
print("key4 is 256-bit")
sys.exit(2)
newkey += b'\x00' * (32 - len(newkey))
# size - 256-bit
newkey += b'\x00\x01\x00\x00'
# key number - 4
newkey += b'\x04\x00\x00\x00'
if d['key4']['meta'] == 'aes256-unreadable':
newkey += b'\x00\x06\x00\x80'
elif d['key4']['meta'] == 'aes256-cpu-readable':
newkey += b'\x04\x06\x00\x80'
elif d['key4']['meta'] == 'sha256-unreadable':
newkey += b'\x00\x06\x01\x80'
elif d['key4']['meta'] == 'sha256-cpu-readable':
newkey += b'\x04\x06\x01\x80'
elif d['key4']['meta'] == 'eccp256-unreadable':
newkey += b'\x00\x06\x04\x80'
elif d['key4']['meta'] == 'eccp256-cpu-readable':
newkey += b'\x04\x06\x04\x80'
data += newkey
elif key == 'key5':
newkey = bytes.fromhex(d['key5']['key'])
if len(newkey) != 32:
print("key5 is 256-bit")
sys.exit(2)
newkey += b'\x00' * (32 - len(newkey))
# size - 256-bit
newkey += b'\x00\x01\x00\x00'
# key number - 5
newkey += b'\x05\x00\x00\x00'
if d['key5']['meta'] == 'aes256-unreadable':
newkey += b'\x00\x06\x00\x80'
elif d['key5']['meta'] == 'aes256-cpu-readable':
newkey += b'\x04\x06\x00\x80'
elif d['key5']['meta'] == 'sha256-unreadable':
newkey += b'\x00\x06\x01\x80'
elif d['key5']['meta'] == 'sha256-cpu-readable':
newkey += b'\x04\x06\x01\x80'
elif d['key5']['meta'] == 'eccp256-unreadable':
newkey += b'\x00\x06\x04\x80'
elif d['key5']['meta'] == 'eccp256-cpu-readable':
newkey += b'\x04\x06\x04\x80'
data += newkey
elif key == 'publicx':
newkey = bytes.fromhex(d['publicx'])
if len(newkey) != 32:
print("IBR publicx is 256-bit")
sys.exit(2)
data += bytes.fromhex(d['publicx'])
data += b'\x00\x01\x00\x00' # 256 bits
data += b'\x06\x00\x00\x00'
data += b'\x01\x06\x04\x80'
elif key == 'publicy':
newkey = bytes.fromhex(d['publicy'])
if len(newkey) != 32:
print("IBR publicy is 256-bit")
sys.exit(2)
data += bytes.fromhex(d['publicy'])
data += b'\x00\x01\x00\x00' # 256 bits
data += b'\x07\x00\x00\x00'
data += b'\x01\x06\x04\x80'
elif key == 'aeskey':
newkey = bytes.fromhex(d['aeskey'])
if len(newkey) != 32:
print("IBR aeskey is 256-bit")
sys.exit(2)
data += bytes.fromhex(d['aeskey'])
data += b'\x00\x01\x00\x00' # 256 bits
data += b'\x08\x00\x00\x00'
data += b'\x01\x06\x00\x80'
try:
with open("otp_data.bin", "wb") as out_file:
out_file.write(data[0:len(data)])
except (IOError, OSError) as err:
print(f"Open otp_data.bin failed")
sys.exit(err)
if len(data) > 208:
option |= OPT_OTPKEY
return data, option
def __img_erase(dev, media, start, length, option) -> int:
nand_align, spinand_align = dev.get_align()
if (media == DEV_NAND and nand_align == 0) or \
(media == DEV_SPINAND and spinand_align == 0):
print("Unable to get block size")
return -1
if (media == DEV_NAND and start % nand_align != 0) or\
(media == DEV_SPINAND and start % spinand_align != 0) or \
(media == DEV_SPINOR and start % SPINOR_ALIGN != 0):
print("Starting address must be block aligned")
return -1
cmd = start.to_bytes(8, byteorder='little')
cmd += length.to_bytes(8, byteorder='little')
cmd += ACT_ERASE.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(media)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
bar = tqdm(total=100, position=dev.get_id(), ascii=True)
previous_progress = 0
while True:
# xusb ack with total erase progress.
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") <= 100:
bar.update(int.from_bytes(ack, byteorder="little") - previous_progress)
previous_progress = int.from_bytes(ack, byteorder="little")
if int.from_bytes(ack, byteorder="little") == 100:
break
bar.close()
return 0
# default erase all (count=0)
def do_img_erase(media, start, length=0, option=OPT_NONE) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__img_erase, dev, media, start, length, option) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures):
if future.result() == 0:
success += 1
else:
failed += 1
print(f"Successfully erased {success} device(s)")
if failed > 0:
print(f"Failed to erase {failed} device(s)")
def do_otp_erase(option) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
start = 0
length = 0
dev = devices[0]
load_otp_writer(dev)
cmd = start.to_bytes(8, byteorder='little')
cmd += length.to_bytes(8, byteorder='little')
cmd += ACT_ERASE.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(DEV_OTP)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
print(f"Failed to erase device(s)")
# There's no way to tell the progress...
ack = dev.read(4)
data = int.from_bytes(ack, byteorder="little")
if option == 0x100:
data >>= 2
data &= 0x3
if option == 0x400:
data >>= 6
data &= 0x3
if option == 0x800:
data >>= 8
data &= 0x3
if option & 0x8000:
data >>= 16
#print(f"Erase count state {hex(data)}")
print(f"Successfully erased device(s)")
def load_otp_writer(dev) -> int:
try:
with open("otp_writer.bin", "rb") as writer_file:
otp_writer = writer_file.read()
except (IOError, OSError) as err:
print(f"Open {opt_file_name} failed")
sys.exit(err)
option = 0
img_length = len(otp_writer)
cmd = b'\x00\x00\xf0\x86\x00\x00\x00\x00'
cmd += img_length.to_bytes(8, byteorder='little')
cmd += ACT_LOAD.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(DEV_OTP)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
for offset in range(0, img_length, TRANSFER_SIZE):
xfer_size = TRANSFER_SIZE if offset + TRANSFER_SIZE < img_length else img_length - offset
dev.write(otp_writer[offset: offset + xfer_size])
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != xfer_size:
print("Acked size error")
return -1
while True:
# wait TSI update firmware
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") == ACK:
break
return 0
def __otp_program(dev, otp_data, option) -> int:
img_length = len(otp_data)
cmd = b'\x00\x00\xf0\x86\x00\x00\x00\x00'
cmd += img_length.to_bytes(8, byteorder='little')
cmd += ACT_WRITE.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(DEV_OTP)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
# There's no way to tell the progress...
dev.write(otp_data)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != img_length:
print("Acked size error")
return -1
# There's no way to tell the progress...
ack = dev.read(4)
data = int.from_bytes(ack, byteorder="little")
#print(f"Can program count {hex(data)}")
return 0
def do_otp_program(opt_file_name) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
load_otp_writer(devices[0])
otp_data, option = conv_otp(opt_file_name)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__otp_program, dev, otp_data, option) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures):
if future.result() == 0:
success += 1
else:
failed += 1
print(f"Successfully programmed {success} device(s)")
if failed > 0:
print(f"Failed to program {failed} device(s)")
def do_otp_read(media, start, out_file_name, length=0x1, option=OPT_NONE) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
# Only support one device in read function
dev = devices[0]
load_otp_writer(dev)
cmd = start.to_bytes(8, byteorder='little')
cmd += length.to_bytes(8, byteorder='little')
cmd += ACT_READ.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(media)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return
# FIXME: Don't know real length for "read all"
bar = tqdm(total=length, ascii=True)
data = b''
remain = length
while remain > 0:
ack = dev.read(4)
# Get the transfer length of next read
xfer_size = int.from_bytes(ack, byteorder="little")
data += dev.read(xfer_size)
dev.write(xfer_size.to_bytes(4, byteorder='little')) # ack
remain -= xfer_size
bar.update(xfer_size)
try:
with open(out_file_name, "wb") as out_file:
out_file.write(data[0:length])
except (IOError, OSError) as err:
print(f"Open {out_file_name} failed")
sys.exit(err)
bar.close()
def __pack_program(dev, media, pack_image, option) -> int:
nand_align, spinand_align = dev.get_align()
image_cnt = pack_image.img_count()
if (media == DEV_NAND and nand_align == 0) or \
(media == DEV_SPINAND and spinand_align == 0):
print("Unable to get block size")
return -1
for i in range(image_cnt):
img_length, img_start, img_type = pack_image.img_attr(i)
if (media == DEV_NAND and img_start % nand_align != 0) or \
(media == DEV_SPINAND and img_start % spinand_align != 0) or \
(media == DEV_SPINOR and img_start % SPINOR_ALIGN != 0):
print("Starting address must be block aligned")
return -1
time.sleep(1)
dev.set_media(media)
cmd = img_start.to_bytes(8, byteorder='little')
cmd += img_length.to_bytes(8, byteorder='little')
cmd += ACT_WRITE.to_bytes(4, byteorder='little')
cmd += img_type.to_bytes(4, byteorder='little')
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
text = f"Programming {i}/{image_cnt}"
bar = tqdm(total=img_length, position=dev.get_id(), ascii=True, desc=text)
for offset in range(0, img_length, TRANSFER_SIZE):
xfer_size = TRANSFER_SIZE if offset + TRANSFER_SIZE < img_length else img_length - offset
dev.write(pack_image.img_content(i, offset, xfer_size))
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != xfer_size:
print("Ack size error")
return -1
bar.update(xfer_size)
bar.close()
dev.read(4)
# FIXME: Added time.sleep(1) to make SPI NAND Pack Program + Verify PASS
time.sleep(1)
if option == OPT_VERIFY:
dev.set_media(media)
cmd = img_start.to_bytes(8, byteorder='little')
cmd += img_length.to_bytes(8, byteorder='little')
cmd += ACT_READ.to_bytes(4, byteorder='little')
cmd += b'\x00' * 4
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
remain = img_length
text = f"Verifying {i}/{image_cnt}"
bar = tqdm(total=img_length, position=dev.get_id(), ascii=True, desc=text)
while remain > 0:
ack = dev.read(4)
# Get the transfer length of next read
xfer_size = int.from_bytes(ack, byteorder="little")
data = dev.read(xfer_size)
dev.write(xfer_size.to_bytes(4, byteorder='little'))
offset = img_length - remain
# For SD/eMMC
if xfer_size > remain:
xfer_size = remain
data = data[0: remain]
if data != bytearray(pack_image.img_content(i, offset, xfer_size)):
print("Verify failed")
return -1
remain -= xfer_size
bar.update(xfer_size)
bar.close()
return 0
def do_pack_program(media, pack_file_name, option=OPT_NONE) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
pack_image = UnpackImage(pack_file_name, option)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__pack_program, dev, media, pack_image, option) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures):
if future.result() == 0:
success += 1
else:
failed += 1
print(f"Successfully programmed {success} device(s)")
if failed > 0:
print(f"Failed to program {failed} device(s)")
def __img_program(dev, media, start, img_data, option) -> int:
nand_align, spinand_align = dev.get_align()
if (media == DEV_NAND and nand_align == 0) or \
(media == DEV_SPINAND and spinand_align == 0):
print("Unable to get block size")
return -1
if (media == DEV_NAND and start % nand_align != 0) or\
(media == DEV_SPINAND and start % spinand_align != 0) or \
(media == DEV_SPINOR and start % SPINOR_ALIGN != 0):
print("Starting address must be block aligned")
return -1
img_length = len(img_data)
print(f"image length is {img_length}")
cmd = start.to_bytes(8, byteorder='little')
cmd += img_length.to_bytes(8, byteorder='little')
cmd += ACT_WRITE.to_bytes(4, byteorder='little')
if option == OPT_EXECUTE:
cmd += option.to_bytes(4, byteorder='little')
else:
cmd += b'\x00' * 4
dev.set_media(media)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
# Set ascii=True is for Windows cmd terminal, position > 0 doesn't work as expected in cmd though...
bar = tqdm(total=img_length, position=dev.get_id(), ascii=True, desc="Programming")
for offset in range(0, img_length, TRANSFER_SIZE):
xfer_size = TRANSFER_SIZE if offset + TRANSFER_SIZE < img_length else img_length - offset
dev.write(img_data[offset: offset + xfer_size])
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != xfer_size:
print("Ack size error")
return -1
bar.update(xfer_size)
dev.read(4)
bar.close()
if option == OPT_VERIFY:
dev.set_media(media)
cmd = start.to_bytes(8, byteorder='little')
cmd += img_length.to_bytes(8, byteorder='little')
cmd += ACT_READ.to_bytes(4, byteorder='little')
cmd += b'\x00' * 4
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
remain = img_length
bar = tqdm(total=img_length, position=dev.get_id(), ascii=True, desc="Verifying")
while remain > 0:
ack = dev.read(4)
# Get the transfer length of next read
xfer_size = int.from_bytes(ack, byteorder="little")
data = dev.read(xfer_size)
dev.write(xfer_size.to_bytes(4, byteorder='little')) # ack
offset = img_length - remain
# For SD/eMMC
if xfer_size > remain:
xfer_size = remain
data = data[0: remain]
if data != bytearray(img_data[offset: offset + xfer_size]):
print("Verify failed")
return -1
remain -= xfer_size
bar.update(xfer_size)
print("Verify pass")
bar.close()
return 0
def do_img_program(media, start, image_file_name, option=OPT_NONE) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
try:
with open(image_file_name, "rb") as image_file:
img_data = image_file.read()
except (IOError, OSError) as err:
print(f"Open {image_file_name} failed")
sys.exit(err)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__img_program, dev, media, start, img_data, option) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures):
if future.result() == 0:
success += 1
else:
failed += 1
print(f"Successfully programmed {success} device(s)")
if failed > 0:
print(f"Failed to program {failed} device(s)")
def do_img_read(media, start, out_file_name, length=0x1, option=OPT_NONE) -> None:
# only support read from 1 device
# devices = XUsbComList(attach_all=False).get_dev()
_XUsbComList = XUsbComList(attach_all=False)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
# Only support one device in read function
dev = devices[0]
cmd = start.to_bytes(8, byteorder='little')
cmd += length.to_bytes(8, byteorder='little')
cmd += ACT_READ.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(media)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return
# FIXME: Don't know real length for "read all"
bar = tqdm(total=length, ascii=True)
data = b''
remain = length
while remain > 0:
ack = dev.read(4)
# Get the transfer length of next read
xfer_size = int.from_bytes(ack, byteorder="little")
data += dev.read(xfer_size)
dev.write(xfer_size.to_bytes(4, byteorder='little')) # ack
remain -= xfer_size
bar.update(xfer_size)
try:
with open(out_file_name, "wb") as out_file:
out_file.write(data[0:length])
except (IOError, OSError) as err:
print(f"Open {out_file_name} failed")
sys.exit(err)
bar.close()
def __attach(dev, ini_data, xusb_data) -> int:
ini_len = len(ini_data)
out = int(ini_len).to_bytes(4, byteorder="little")
out += b'\x00\x00\x03\x28' # Execute address is 0x28030000
dev.write(out)
dev.write(ini_data)
in_buf = dev.read(4)
if int.from_bytes(in_buf, byteorder="little") != ini_len:
print("Length error")
return -1
in_buf = dev.read(4)
if int.from_bytes(in_buf, byteorder="little") != ACK:
val = int.from_bytes(in_buf, byteorder="little")
print(f"Ack error {val}")
return -1
xusb_len = len(xusb_data)
out = int(xusb_len).to_bytes(4, byteorder="little")
out += b'\x00\x00\x00\x87' # Execute address is 0x87000000
dev.write(out)
for offset in range(0, xusb_len, TRANSFER_SIZE):
xfer_size = TRANSFER_SIZE if offset + TRANSFER_SIZE < xusb_len else xusb_len - offset
dev.write(xusb_data[offset: offset + xfer_size])
if offset + xfer_size != xusb_len: # Ignore the ack of last packet
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != xfer_size:
_ack = int.from_bytes(ack, byteorder="little")
print(f"Ack size error {_ack} {xfer_size}")
return -1
return 0
def __get_info(dev, data) -> int:
try:
info = dev.get_info(data)
except usb.core.USBError as err:
sys.exit(err)
_info_struct = namedtuple('_info_struct',
'page_per_blk page_size blk_cnt bad_clk_cnt oob_size usr_cfg0 spi_id usr_cfg1 quad_cmd \
read_sts_cmd write_sts_cmd sts_val dummy_byte blk rsv use_cfg2 snand_id snand_page_size \
snand_oob snand_quad_cmd snand_read_sts_cmd snand_write_sts_cmd snand_sts_val \
snand_dummy_byte snand_blk_cnt snand_page_per_blk')
info_struct = _info_struct._make(unpack('<IIIIIIIIBBBBIIIIIHHBBBBIII', info))
print("==== NAND ====")
print("Page per block: " + str(info_struct.page_per_blk))
print("Page size: " + str(info_struct.page_size))
print("Block per flash: " + str(info_struct.blk_cnt))
print("Bad block count: " + str(info_struct.bad_clk_cnt))
print("Spare size: " + str(info_struct.oob_size))
print("Is uer config: " + str(info_struct.usr_cfg0))
print("==== SPI NOR ====")
print("ID: " + str(info_struct.spi_id))
print("Is uer config: " + str(info_struct.usr_cfg1))
print("Quad read cmd: " + str(info_struct.quad_cmd))
print("Read sts cmd: " + str(info_struct.read_sts_cmd))
print("Write sts cmd: " + str(info_struct.write_sts_cmd))
print("Sts value: " + str(info_struct.sts_val))
print("Dummy byte: " + str(info_struct.dummy_byte))
print("==== eMMC ====")
print("Block: " + str(info_struct.blk))
print("Reserved: " + str(info_struct.rsv))
print("==== SPI NAND ====")
print("Is uer config: " + str(info_struct.use_cfg2))
print("ID: " + str(info_struct.snand_id))
print("Page size: " + str(info_struct.snand_page_size))
print("Spare size: " + str(info_struct.snand_oob))
print("Quad read cmd: " + str(info_struct.snand_quad_cmd))
print("Read sts cmd: " + str(info_struct.snand_read_sts_cmd))
print("Write sts cmd: " + str(info_struct.snand_write_sts_cmd))
print("Sts value: " + str(info_struct.snand_sts_val))
print("Dummy byte: " + str(info_struct.snand_dummy_byte))
print("Block per flash: " + str(info_struct.snand_blk_cnt))
print("Page per block: " + str(info_struct.snand_page_per_blk))
dev.set_align(info_struct.page_size * info_struct.page_per_blk,
info_struct.snand_page_size * info_struct.snand_page_per_blk)
return 0
def do_attach(ini_file_name, option=OPT_NONE) -> None:
global mp_mode
init_location = "missing"
if os.path.exists(ini_file_name): # default use the init file in current directory
init_location = ini_file_name
else:
if platform.system() == 'Windows':
if os.path.exists(WINDOWS_PATH + "ddrimg\\" + ini_file_name):
init_location = WINDOWS_PATH + "ddrimg\\" + ini_file_name
elif platform.system() == 'Linux':
if os.path.exists(LINUX_PATH + "ddrimg/" + ini_file_name):
init_location = LINUX_PATH + "ddrimg/" + ini_file_name
if init_location == "missing":
print(f"Cannot find {ini_file_name}")
sys.exit(3)
try:
with open(init_location, "rb") as ini_file:
ini_data = ini_file.read()
except (IOError, OSError) as err:
print(f"Open {ini_file_name} failed")
sys.exit(err)
xusb_location = "missing"
if os.path.exists("xusb.bin"): # default use the xusb.bin in current directory
xusb_location = "xusb.bin"
else:
if platform.system() == 'Windows':
if os.path.exists(WINDOWS_PATH + "xusb.bin"):
xusb_location = WINDOWS_PATH + "xusb.bin"
elif platform.system() == 'Linux':
if os.path.exists(LINUX_PATH + "xusb.bin"):
xusb_location = LINUX_PATH + "xusb.bin"
if xusb_location == "missing":
print("Cannot find xusb.bin")
sys.exit(3)
try:
with open(xusb_location, "rb") as xusb_file:
xusb_data = xusb_file.read()
except (IOError, OSError) as err:
print("Open xusb.bin failed")
sys.exit(err)
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__attach, dev, ini_data, xusb_data) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures, timeout=2):
if future.result() == 0:
success += 1
else:
failed += 1
print(f"Successfully attached {success} device(s)")
if failed > 0:
print(f"Failed to attach {failed} device(s)")
if success == 0:
return
time.sleep(1)
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComListNew = XUsbComList(attach_all=mp_mode)
devices = _XUsbComListNew.get_dev()
data = bytearray(76)
# assign option file to set media info
if option == OPT_SETINFO:
try:
with open("info.json", "r") as json_file:
try:
d = json.load(json_file)
except json.decoder.JSONDecodeError as err:
print(f"{json_file} parsing error")
sys.exit(err)
except (IOError, OSError) as err:
print("Open info.json failed")
sys.exit(err)
# now generate info from info.json
for key in d.keys():
if key == 'spinand':
data[48] = 1
for sub_key in d['spinand'].keys():
if sub_key == 'pagesize':
data[56:58] = int(d['spinand']['pagesize'], 0).to_bytes(2, byteorder="little")
elif sub_key == 'sparearea':
data[58:60] = int(d['spinand']['sparearea'], 0).to_bytes(2, byteorder="little")
elif sub_key == 'quadread':
data[60:61] = int(d['spinand']['quadread'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'readsts':
data[61:62] = int(d['spinand']['readsts'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'writests':
data[62:63] = int(d['spinand']['writests'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'stsvalue':
data[63:64] = int(d['spinand']['stsvalue'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'dummy':
data[64:68] = int(d['spinand']['dummy'], 0).to_bytes(4, byteorder="little")
elif sub_key == 'blkcnt':
data[68:72] = int(d['spinand']['blkcnt'], 0).to_bytes(4, byteorder="little")
elif sub_key == 'pageperblk':
data[72:76] = int(d['spinand']['pageperblk'], 0).to_bytes(4, byteorder="little")
elif key == 'spinor':
data[28] = 1
for sub_key in d['spinor'].keys():
if sub_key == 'quadread':
data[32:33] = int(d['spinor']['quadread'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'readsts':
data[33:34] = int(d['spinor']['readsts'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'writests':
data[34:35] = int(d['spinor']['writests'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'stsvalue':
data[35:36] = int(d['spinor']['stsvalue'], 0).to_bytes(1, byteorder="little")
elif sub_key == 'dummy':
data[36:40] = int(d['spinor']['dummy'], 0).to_bytes(4, byteorder="little")
elif key == 'nand':
data[20] = 1
for sub_key in d['nand'].keys():
if sub_key == 'blkcnt':
data[8:12] = int(d['nand']['blkcnt'], 0).to_bytes(4, byteorder="little")
elif sub_key == 'pageperblk':
data[0:4] = int(d['nand']['pageperblk'], 0).to_bytes(4, byteorder="little")
if len(devices) == 0:
print("Device not found")
sys.exit(2)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__get_info, dev, data) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures, timeout=2):
if future.result() == 0:
success += 1
else:
failed += 1
print(f"Successfully get info from {success} device(s)")
def do_unpack(pack_file_name, nocrc32) -> None:
now = datetime.now()
pack_image = UnpackImage(pack_file_name, nocrc32)
image_cnt = pack_image.img_count()
try:
os.mkdir(now.strftime("%m%d-%H%M%S%f"))
except (IOError, OSError) as err:
sys.exit(err)
for i in range(image_cnt):
img_length, _, _ = pack_image.img_attr(i)
try:
with open(now.strftime("%m%d-%H%M%S%f") + "/img" + str(i) + ".bin", "wb") as img_file:
img_file.write(pack_image.img_content(i, 0, img_length))
except (IOError, OSError) as err:
print("Create output image file failed")
sys.exit(err)
try:
os.unlink("unpack")
except (IOError, OSError):
pass
try:
os.symlink(now.strftime("%m%d-%H%M%S%f"), "unpack")
except (IOError, OSError):
print("Create symbolic folder unpack failed")
print("Unpack images to directory {} complete".format(now.strftime("%m%d-%H%M%S%f")))
def do_stuff(cfg_file) -> None:
now = datetime.now()
try:
with open(cfg_file, "r") as json_file:
try:
d = json.load(json_file)
except json.decoder.JSONDecodeError as err:
print(f"{cfg_file} parsing error")
sys.exit(err)
except (IOError, OSError) as err:
print(f"Open {cfg_file} failed")
sys.exit(err)
try:
os.mkdir(now.strftime("%m%d-%H%M%S%f"))
pack_file = open(now.strftime("%m%d-%H%M%S%f") + "/pack.bin", "wb")
except (IOError, OSError) as err:
sys.exit(err)
offset = 0
out = bytearray()
# Start stuffing image
for img in d["image"]:
try:
with open(img["file"], "rb") as img_file:
data = img_file.read()
except (IOError, OSError) as err:
print(f"Open {img_file} failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
if int(img["offset"], 0) < offset:
print(f"Please place the files in {cfg_file} based on the ascending offset")
sys.exit(4)
elif int(img["offset"], 0) > offset:
out += b'\xFF' * (int(img["offset"], 0) - offset)
offset = int(img["offset"], 0)
out += data
offset += len(data)
pack_file.write(out)
pack_file.close()
try:
os.unlink("pack")
except (IOError, OSError):
pass
try:
os.symlink(now.strftime("%m%d-%H%M%S%f"), "pack")
except (IOError, OSError):
print("Create symbolic folder pack failed")
print("Generate pack file in directory {} complete".format(now.strftime("%m%d-%H%M%S%f")))
def do_pack(cfg_file) -> None:
now = datetime.now()
try:
with open(cfg_file, "r") as json_file:
try:
d = json.load(json_file)
except json.decoder.JSONDecodeError as err:
print(f"{cfg_file} parsing error")
sys.exit(err)
except (IOError, OSError) as err:
print(f"Open {cfg_file} failed")
sys.exit(err)
try:
os.mkdir(now.strftime("%m%d-%H%M%S%f"))
pack_file = open(now.strftime("%m%d-%H%M%S%f") + "/pack.bin", "wb")
except (IOError, OSError) as err:
sys.exit(err)
out = bytearray(b'\x20\x54\x56\x4e' + b'\xFF' * 12) # NVT + CRC32 + image count + 4 reserved bytes
# Start packing image
img_cnt = 0
for img in d["image"]:
try:
with open(img["file"], "rb") as img_file:
data = img_file.read()
except (IOError, OSError) as err:
print(f"Open {img_file} failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
img_cnt = img_cnt + 1
img_len = len(data)
out += img_len.to_bytes(8, byteorder="little")
try:
out += int(img["offset"], 0).to_bytes(8, byteorder="little")
except ValueError as err:
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
out += img["type"].to_bytes(4, byteorder="little")
out += b'\xFF' * 4
out += data
# Always put image start @ 16 byte boundary
pad = 16 - (img_len + 8) & 0xF
if pad != 16:
out += b'\xFF' * pad
# Fill image count
out[8:12] = img_cnt.to_bytes(4, byteorder="little")
# Fill CRC field
crc32_func = crcmod.predefined.mkCrcFun('crc-32')
checksum = crc32_func(out[8:])
out[4:8] = checksum.to_bytes(4, byteorder="little")
pack_file.write(out)
pack_file.close()
try:
os.unlink("pack")
except (IOError, OSError):
pass
try:
os.symlink(now.strftime("%m%d-%H%M%S%f"), "pack")
except (IOError, OSError):
print("Create symbolic folder pack failed")
print("Generate pack file in directory {} complete".format(now.strftime("%m%d-%H%M%S%f")))
def do_showhdr(cfg_file) -> None:
try:
header_file = open(cfg_file, "br")
except (IOError, OSError) as err:
print(f"Open {cfg_file} failed")
sys.exit(err)
if unpack('<I', header_file.read(4))[0] != 0x4E565420:
print("Header checker error, not a valid header image")
header_file.close()
return
checksum0 = unpack('<I', header_file.read(4))[0]
buf = header_file.read()
crc32_func = crcmod.predefined.mkCrcFun('crc-32')
checksum1 = crc32_func(buf)
if checksum1 != checksum0:
print("Checksum is incorrect")
print(f"Expect {checksum1}, get {checksum0}")
header_file.close()
return
header_file.seek(8)
print("Length: " + str(unpack('<I', header_file.read(4))[0]))
print("Version: " + hex(unpack('<I', header_file.read(4))[0]))
print("==== SPI INFO ====")
print("Page size: " + str(unpack('<H', header_file.read(2))[0]))
print("Spare area size: " + str(unpack('<H', header_file.read(2))[0]))
print("Page per block: " + str(unpack('<H', header_file.read(2))[0]))
print("Quad read cmd: " + hex(unpack('<B', header_file.read(1))[0]))
print("Read status cmd: " + hex(unpack('<B', header_file.read(1))[0]))
print("Write status cmd: " + hex(unpack('<B', header_file.read(1))[0]))
print("Status Value: " + hex(unpack('<B', header_file.read(1))[0]))
print("Dummy byte 1: " + str(unpack('<B', header_file.read(1))[0]))
print("Dummy byte 2: " + str(unpack('<B', header_file.read(1))[0]))
print("Suspend interval: " + str(unpack('<B', header_file.read(1))[0]))
header_file.read(3) # Skip three dummy bytes
print("==== SPI INFO ====")
print("Entry point: " + hex(unpack('<I', header_file.read(4))[0]))
count = unpack('<I', header_file.read(4))[0]
print(f"Image count: {count}")
for i in range(0, count):
print(f"==== Image {i} ====")
print("Offset: " + hex(unpack('<I', header_file.read(4))[0]))
print("Load addr: " + hex(unpack('<I', header_file.read(4))[0]))
print("Size: " + hex(unpack('<I', header_file.read(4))[0]))
print("Type: " + str(unpack('<I', header_file.read(4))[0]))
print("R: ", end='')
for _ in range(0, 32):
print(format(unpack('<B', header_file.read(1))[0], 'x'), end='')
print("")
print("S: ", end='')
for _ in range(0, 32):
print(format(unpack('<B', header_file.read(1))[0], 'x'), end='')
print("")
header_file.close()
def do_convert(cfg_file, option=OPT_NONE) -> None:
now = datetime.now()
try:
with open(cfg_file, "r") as json_file:
try:
d = json.load(json_file)
except json.decoder.JSONDecodeError as err:
print(f"{cfg_file} parsing error")
sys.exit(err)
except (IOError, OSError) as err:
print(f"Open {cfg_file} failed")
sys.exit(err)
try:
os.mkdir(now.strftime("%m%d-%H%M%S%f"))
except (IOError, OSError) as err:
print("Create output directory failed")
sys.exit(err)
if "header" in d:
out = bytearray(b'\x20\x54\x56\x4e' + b'\x00' * 8) # NVT + CRC + LEN
try:
out += int(d["header"]["version"], 0).to_bytes(4, byteorder="little")
# Fill SPI flash info
out += int(d["header"]["spiinfo"]["pagesize"], 0).to_bytes(2, byteorder="little")
out += int(d["header"]["spiinfo"]["sparearea"], 0).to_bytes(2, byteorder="little")
out += int(d["header"]["spiinfo"]["pageperblk"], 0).to_bytes(2, byteorder="little")
out += int(d["header"]["spiinfo"]["quadread"], 0).to_bytes(1, byteorder="little")
out += int(d["header"]["spiinfo"]["readsts"], 0).to_bytes(1, byteorder="little")
out += int(d["header"]["spiinfo"]["writests"], 0).to_bytes(1, byteorder="little")
out += int(d["header"]["spiinfo"]["stsvalue"], 0).to_bytes(1, byteorder="little")
out += int(d["header"]["spiinfo"]["dummy1"], 0).to_bytes(1, byteorder="little")
out += int(d["header"]["spiinfo"]["dummy2"], 0).to_bytes(1, byteorder="little")
out += int(d["header"]["spiinfo"]["suspintvl"], 0).to_bytes(1, byteorder="little")
out += b'\xFF' * 3 # 3 reserved bytes
out += int(d["header"]["entrypoint"], 0).to_bytes(4, byteorder="little")
except ValueError as err:
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
out += b'\xFF' * 4 # Reserve 4 bytes for image count
# Generate key file iff secure boot is enabled
if d["header"]["secureboot"] == 'yes':
try:
key_file = open(now.strftime("%m%d-%H%M%S%f") + "/header_key.txt", "w+")
except (IOError, OSError) as err:
print("Create key file failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
if "aeskey" in d["header"]:
try:
aeskey = bytes.fromhex(d["header"]["aeskey"])
except ValueError as err:
sys.exit(err)
else:
aeskey = ''.join(['%x' % random.randrange(16) for _ in range(0, 64)])
aeskey = binascii.unhexlify(bytes(aeskey, 'utf-8'))
key_file.write("AES key:\n" + str.upper(aeskey.hex()))
if "ecdsakey" in d["header"]:
try:
sk = ecdsa.SigningKey.from_string(bytes.fromhex(d["header"]["ecdsakey"]),
curve=ecdsa.NIST256p,
hashfunc=hashlib.sha256)
except ValueError as err:
sys.exit(err)
else:
sk = ecdsa.SigningKey.generate(curve=ecdsa.NIST256p, hashfunc=hashlib.sha256)
key_file.write("\nECDSA private key:\n" + str.upper(sk.to_string().hex()))
vk = sk.verifying_key
key_file.write("\nECDSA public key:\n" + format(vk.pubkey.point.x(), 'X') +
"\n" + format(vk.pubkey.point.y(), 'X') + "\n")
key_file.close()
img_cnt = len(d["header"]["image"])
if img_cnt > MAX_HEADER_IMG:
print("Can process 4 images in header max")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(2)
# Fill image information
for i in range(img_cnt):
img = d["header"]["image"][i]
try:
with open(img["file"], "rb") as img_file:
data = img_file.read()
except (IOError, OSError) as err:
print("Open image file failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
try:
out += int(img["offset"], 0).to_bytes(4, byteorder="little")
out += int(img["loadaddr"], 0).to_bytes(4, byteorder="little")
out += os.path.getsize(img["file"]).to_bytes(4, byteorder="little")
out += int(img["type"]).to_bytes(4, byteorder="little")
except ValueError as err:
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
if d["header"]["secureboot"] == 'yes':
# Use CFB and each image is process independently, so call new() for every image
aes_enc = AES.new(aeskey, AES.MODE_CFB, b'\x00' * 16, segment_size=128)
data_out = aes_enc.encrypt(data)
# R & S
out += sk.sign(data_out)
# Write encrypt image
try:
with open(now.strftime("%m%d-%H%M%S%f") + '/enc_' +
os.path.basename(img["file"]), "wb") as enc_file:
enc_file.write(data_out)
except (IOError, OSError) as err:
print("Create encrypt file failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
else:
out += b'\xFF' * 64 # Just pack 0xFF if secure boot is disabled
# Fill header length
out[8:12] = int(len(out) - 8).to_bytes(4, byteorder="little")
# Fill image count
out[36:40] = img_cnt.to_bytes(4, byteorder="little")
# Fill header checksum
crc32_func = crcmod.predefined.mkCrcFun('crc-32')
out[4:8] = crc32_func(out[8:]).to_bytes(4, byteorder="little")
try:
with open(now.strftime("%m%d-%H%M%S%f") + "/header.bin", "wb") as header_file:
header_file.write(out)
except (IOError, OSError) as err:
print("Create header file failed")
sys.exit(err)
if "env" in d:
try:
with open(now.strftime("%m%d-%H%M%S%f") + "/uboot-env.bin", "wb") as out_file:
out_file.write(conv_env(d["env"]["file"], int(d["env"]["blksize"], 0)))
except (IOError, OSError, ValueError) as err:
print("Create header file failed")
sys.exit(err)
# Misc images
if "data" in d:
try:
key_file = open(now.strftime("%m%d-%H%M%S%f") + "/data_key.txt", "w+")
except (IOError, OSError) as err:
print("Create key file failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
if "aeskey" in d["data"]:
try:
aeskey = bytes.fromhex(d["data"]["aeskey"])
except ValueError as err:
sys.exit(err)
else:
aeskey = ''.join(['%x' % random.randrange(16) for _ in range(0, 64)])
aeskey = binascii.unhexlify(bytes(aeskey, 'utf-8'))
key_file.write("AES key:\n" + str.upper(aeskey.hex()))
if "ecdsakey" in d["data"]:
try:
sk = ecdsa.SigningKey.from_string(bytes.fromhex(d["data"]["ecdsakey"]),
curve=ecdsa.NIST256p,
hashfunc=hashlib.sha256)
except ValueError as err:
sys.exit(err)
else:
sk = ecdsa.SigningKey.generate(curve=ecdsa.NIST256p, hashfunc=hashlib.sha256)
key_file.write("\nECDSA private key:\n" + str.upper(sk.to_string().hex()))
vk = sk.verifying_key
key_file.write("\nECDSA public key:\n" + format(vk.pubkey.point.x(), 'X') +
"\n" + format(vk.pubkey.point.y(), 'X') + "\n")
key_file.close()
for img in d["data"]["image"]:
try:
with open(img["file"], "rb") as img_file:
data = img_file.read()
except (IOError, OSError) as err:
print(f"Open {img_file} failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
aes_enc = AES.new(aeskey, AES.MODE_CFB, b'\x00' * 16, segment_size=128)
data_out = aes_enc.encrypt(data)
signature = sk.sign(data_out)
try:
if option is OPT_CONCAT:
# Append the R & S at the end of signed image instead of writing to a separate file.
# The signed image could be used in deployed mode
data_out += signature
else:
with open(now.strftime("%m%d-%H%M%S%f") + '/sig_' + img["file"], "wb") as sig_file:
sig_file.write(signature) # R & S
with open(now.strftime("%m%d-%H%M%S%f") + '/enc_' + img["file"], "wb") as enc_file:
enc_file.write(data_out)
except (IOError, OSError) as err:
print("Create encrypt/signature file failed")
shutil.rmtree(now.strftime("%m%d-%H%M%S%f"))
sys.exit(err)
try:
os.unlink("conv")
except (IOError, OSError):
pass
try:
os.symlink(now.strftime("%m%d-%H%M%S%f"), "conv")
except (IOError, OSError):
print("Create symbolic folder conv failed")
print("Generate output image(s) in directory {} complete".format(now.strftime("%m%d-%H%M%S%f")))
def __msc(dev, media, reserve, option) -> int:
cmd = reserve.to_bytes(8, byteorder='little')
cmd += b'\x00' * 8
cmd += ACT_MSC.to_bytes(4, byteorder='little')
cmd += option.to_bytes(4, byteorder='little')
dev.set_media(media)
dev.write(cmd)
ack = dev.read(4)
if int.from_bytes(ack, byteorder="little") != ACK:
print("Receive ACK error")
return -1
return 0
def do_msc(media, reserve, option=OPT_NONE) -> None:
global mp_mode
# devices = XUsbComList(attach_all=mp_mode).get_dev()
_XUsbComList = XUsbComList(attach_all=mp_mode)
devices = _XUsbComList.get_dev()
if len(devices) == 0:
print("Device not found")
sys.exit(2)
with ThreadPoolExecutor(max_workers=8) as executor:
futures = [executor.submit(__msc, dev, media, reserve, option) for dev in devices]
success = 0
failed = 0
for future in as_completed(futures):
if future.result() == 0:
success += 1
else:
failed += 1
print("Successfully {} {} MSC device(s)".format("set" if option == "OPT_NONE" else "eject", success))
if failed > 0:
print("Failed to {} {} MSC device(s)".format("set" if option == "OPT_NONE" else "eject", failed))
def get_media(media) -> int:
media = str.upper(media)
return {
'DDR': DEV_DDR_SRAM,
'SRAM': DEV_DDR_SRAM,
'SD': DEV_SD_EMMC,
'EMMC': DEV_SD_EMMC,
'NAND': DEV_NAND,
'SPINAND': DEV_SPINAND,
'SPINOR': DEV_SPINOR,
'OTP': DEV_OTP,
'USBH': DEV_USBH
}.get(media, DEV_UNKNOWN)
def get_option(option) -> int:
option = str.upper(option)
return {
'SCRUB': OPT_SCRUB,
'WITHBAD': OPT_WITHBAD,
'VERIFY': OPT_VERIFY,
'EXECUTE': OPT_EXECUTE,
'UNPACK': OPT_UNPACK,
'RAW': OPT_RAW,
'EJECT': OPT_EJECT,
'STUFF': OPT_STUFF,
'SETINFO': OPT_SETINFO,
'CONCAT': OPT_CONCAT,
'SHOWHDR': OPT_SHOWHDR,
'NOCRC': OPT_NOCRC
}.get(option, OPT_UNKNOWN)
def get_type(img_type) -> int:
img_type = str.upper(img_type)
return {
'TFA': IMG_TFA,
'UBOOT': IMG_UBOOT,
'LINUX': IMG_LINUX,
'DDR': IMG_DDR,
'TEE': IMG_TEE
}.get(img_type, IMG_DATA)
def get_otpblock(num) -> int:
num = str.upper(num)
return {
'OTP1': OPT_OTPBLK1,
'OTP2': OPT_OTPBLK2,
'OTP3': OPT_OTPBLK3,
'OTP4': OPT_OTPBLK4,
'OTP5': OPT_OTPBLK5,
'OTP6': OPT_OTPBLK6,
'OTP7': OPT_OTPBLK7,
'KEY0': OPT_OTPKEY0+OPT_OTPKEY,
'KEY1': OPT_OTPKEY1+OPT_OTPKEY,
'KEY2': OPT_OTPKEY2+OPT_OTPKEY,
'KEY3': OPT_OTPKEY3+OPT_OTPKEY,
'KEY4': OPT_OTPKEY4+OPT_OTPKEY,
'KEY5': OPT_OTPKEY5+OPT_OTPKEY
}.get(num, OPT_UNKNOWN)
def main():
parser = argparse.ArgumentParser()
parser.add_argument("CONFIG", nargs='?', help="Config file", type=str, default='')
parser.add_argument("-a", "--attach", action='store_true', help="Attach to MA35D1")
parser.add_argument("-o", "--option", nargs='+', help="Option flag")
parser.add_argument("-t", "--type", nargs='+', help="Type flag")
group = parser.add_mutually_exclusive_group()
group.add_argument("-c", "--convert", action='store_true', help="Convert images")
group.add_argument("-p", "--pack", action='store_true', help="Generate pack file")
group.add_argument("-v", "--version", action='store_true', help="Show version number")
group.add_argument("-r", "--read", nargs='+', help="Read flash")
group.add_argument("-w", "--write", nargs='+', help="Write flash")
group.add_argument("-e", "--erase", nargs='+', help="Erase flash")
group.add_argument("-s", "--storage", nargs='+', help="Export eMMC/SD as Mass Storage Class")
if len(sys.argv) == 1:
parser.print_help()
sys.exit(0)
args = parser.parse_args()
if args.option:
option = get_option(args.option[0])
else:
option = OPT_NONE
if option is OPT_UNKNOWN:
print("Unknown option: " + args.option[0])
sys.exit(0)
# if args.type:
# img_type = get_type(args.type[0])
# else:
# img_type = IMG_DATA
cfg_file = args.CONFIG
if args.attach:
if not cfg_file:
print("Please assign a DDR ini file")
sys.exit(0)
do_attach(cfg_file, option)
if args.convert:
if cfg_file == '':
print("No config file assigned")
sys.exit(0)
else:
if option == OPT_SHOWHDR:
do_showhdr(cfg_file)
else:
do_convert(cfg_file, option)
elif args.pack:
if cfg_file == '':
print("No config file assigned")
sys.exit(0)
else:
if option == OPT_UNPACK:
do_unpack(cfg_file, 0)
elif option == OPT_NOCRC:
do_unpack(cfg_file, 1)
elif option == OPT_STUFF:
do_stuff(cfg_file)
else:
do_pack(cfg_file)
elif args.read:
# -r spinor all out.bin
# -r nand 0x1000 0x100 out.bin
# -r otp all out.bin (block1 ~ block7)
# -r otp blockno 0x4 out.bin
arg_count = len(args.read)
if arg_count < 3:
print("At lease take 3 arguments")
sys.exit(0)
media = get_media(args.read[0])
try:
if media == DEV_UNKNOWN:
raise ValueError(f"Cannot support read {str.upper(args.read[0])}")
if arg_count == 3 and str.upper(args.read[1]) != 'ALL':
raise ValueError("Unknown arguments")
except ValueError as err:
sys.exit(err)
if str.upper(args.read[1]) == 'ALL':
if media == DEV_OTP:
option |= 0x3fff00
do_otp_read(media, 0, args.read[2], 352, option)
else:
do_img_read(media, 0, args.read[2], 0, option)
else:
try:
if media == DEV_OTP:
option = get_otpblock(args.read[1]) | option
else:
start = int(args.read[1], 0)
length = int(args.read[2], 0)
except ValueError as err:
print("Wrong start/length value")
sys.exit(err)
if media == DEV_OTP:
do_otp_read(media, 0, args.read[3], length, option)
else:
do_img_read(media, start, args.read[3], length, option)
elif args.write:
# -w spinor 0x1000 image.bin
# -w otp otp.json
# -w nand pack.img
arg_count = len(args.write)
if arg_count < 2:
print("At lease take 2 arguments")
sys.exit(0)
media = get_media(args.write[0])
try:
if media == DEV_UNKNOWN:
raise ValueError(f"Unknown storage media {str.upper(args.write[0])}")
if option == OPT_VERIFY and media == DEV_OTP:
raise ValueError(f"Do not support verify option on {str.upper(args.write[0])}")
if option == OPT_EXECUTE and media != DEV_DDR_SRAM:
raise ValueError(f"Do not support execution on {str.upper(args.write[0])}")
if option == OPT_RAW and media != DEV_NAND:
raise ValueError(f"Do not support raw write on {str.upper(args.write[0])}")
except ValueError as err:
sys.exit(err)
if arg_count == 2:
if media == DEV_OTP:
do_otp_program(args.write[1])
else:
do_pack_program(media, args.write[1], option)
else:
try:
start = int(args.write[1], 0)
except ValueError as err:
print("Wrong start value")
sys.exit(err)
do_img_program(media, start, args.write[2], option)
elif args.erase:
# -e spinor all
# -e nand 0x100000 0x10000 -o withbad
# -e otp blockno
arg_count = len(args.erase)
if arg_count < 2:
print("At lease take 2 arguments")
sys.exit(0)
media = get_media(args.erase[0])
try:
if media in [DEV_DDR_SRAM, DEV_SD_EMMC, DEV_UNKNOWN]:
raise ValueError(f"{str.upper(args.erase[0])} does not support erase")
if arg_count == 2 and str.upper(args.erase[1]) != 'ALL' and media != DEV_OTP:
raise ValueError("Unknown arguments")
if str.upper(args.erase[1]) == 'ALL' and media == DEV_OTP:
raise ValueError("Wrong arguments")
except ValueError as err:
sys.exit(err)
if media == DEV_OTP:
option = get_otpblock(args.erase[1])
try:
# only can erase block 1, 3, 4
if option == OPT_OTPBLK2:
raise ValueError(f"Error block 2, only erase block 1, 3, 4")
if option == OPT_OTPBLK5:
raise ValueError(f"Error block 5, only erase block 1, 3, 4")
if option == OPT_OTPBLK6:
raise ValueError(f"Error block 6, only erase block 1, 3, 4")
if option == OPT_OTPBLK7:
raise ValueError(f"Error block 7, only erase block 1, 3, 4")
if option == OPT_UNKNOWN:
raise ValueError(f"Error key number")
except ValueError as err:
sys.exit(err)
do_otp_erase(option)
else:
if str.upper(args.erase[1]) == 'ALL':
do_img_erase(media, 0, 0, option)
else:
try:
start = int(args.erase[1], 0)
length = int(args.erase[2], 0)
except ValueError as err:
print("Wrong start/length value")
sys.exit(err)
do_img_erase(media, start, length, option)
elif args.storage:
# -s emmc 0x800000
# -s emmc -o remove
arg_count = len(args.erase)
if arg_count != 2 and option != OPT_EJECT:
print("Takes 2 arguments. Storage device and reserved size")
sys.exit(0)
media = get_media(args.storage[0])
try:
if media not in [DEV_SD_EMMC]:
raise ValueError("Only support eMMC/SD")
if option != OPT_NONE and option != OPT_EJECT:
raise ValueError("Unsupported option")
except ValueError as err:
sys.exit(err)
if option == OPT_EJECT:
do_msc(media, 0, OPT_EJECT)
else:
try:
reserve = int(args.storage[1], 0)
except ValueError as err:
print("Wrong reserve size")
sys.exit(err)
do_msc(media, reserve)
elif args.version:
print('NuWriter ' + __version__)
print(__copyright__)
# Here goes the main function
if __name__ == "__main__":
#os.system("start cmd.exe") #Call do it. Will open cmd window in each process
main()
| [
"bernard.xiong@gmail.com"
] | bernard.xiong@gmail.com |
5c68db0e138606d541df3702c34fd6b38db516a3 | 65c258f891c6822b097929f1369059f9770f355c | /Stefan/main.py | 40b2eec9f66fe2ebfd4d5ecc50b2a2d269927605 | [] | no_license | mwood1212/ADS-Group-Project | a45c80c62635179e93ed368c3eb53a0f0ff60896 | 81615002da92e7c540445e2f1cac96b494c21272 | refs/heads/main | 2023-04-30T07:42:07.646330 | 2021-05-19T18:36:16 | 2021-05-19T18:36:16 | 351,038,887 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,774 | py | import pandas
import time
verbose = False
verboseprint = print if verbose else lambda *a, **k: None
def loadData(fileName):
verboseprint("Loading data")
return pandas.read_csv(fileName, sep='\t', header=0, error_bad_lines=False)
def assertAllLocationsUs(dataFrame):
for (columnName, data) in dataFrame.iteritems():
if columnName == "marketplace":
for i in data:
assert (i == "US")
def assertAllCatogriesGrocery(dataFrame):
for (columnName, data) in dataFrame.iteritems():
if columnName == "product_category":
for i in data:
assert (i == "Grocery")
def runAsserts(dataFrame):
assertAllLocationsUs(dataFrame)
assertAllCatogriesGrocery(dataFrame)
def modifyBadData(dataFrame):
verboseprint("Removing bad data")
verboseprint("Length of data at start " + str(len(dataFrame)))
modifiedDataFrame = dataFrame
modifiedDataFrame = modifiedDataFrame.drop(modifiedDataFrame[modifiedDataFrame.product_category != "Grocery"].index)
modifiedDataFrame = modifiedDataFrame.drop(modifiedDataFrame[modifiedDataFrame.star_rating ].index)
print(modifiedDataFrame.star_rating.unique())
return modifiedDataFrame
if __name__ == "__main__":
timeNow = time.time()
print("Starting program")
dataFrame = loadData("datav1.tsv")
print(dataFrame.columns)
#dataFrame = modifyBadData(dataFrame)
#print(len(dataFrame))
#runAsserts(dataFrame)
nums = {}
sentences = dataFrame["review_body"]
i = 0
for data in sentences:
try:
nums.update({i: data.count("!")})
except:
print("Error")
i += 1
#print(nums)
print(time.time() - timeNow)
print("Finished Program")
| [
"stefanke555555@gmail.com"
] | stefanke555555@gmail.com |
285efa4f2db831661d0382699ef2c7c51daea75b | 6a3a2e52faa64ae1a1a9d61e905fc7e899ad4883 | /pyocd/probe/cmsis_dap_probe.py | 6f1c4a4b43fc7511edd8c47af60a776a6d30490b | [
"Apache-2.0"
] | permissive | maowubin/pyOCD | 75f5db4e0fc834c8f97afcae14c8eb57fd048b3a | 0bb6c57a2764a3fcf631833c32d64660bdc109f9 | refs/heads/master | 2023-03-14T18:58:36.793543 | 2021-03-03T21:11:06 | 2021-03-03T21:11:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 17,550 | py | # pyOCD debugger
# Copyright (c) 2018-2020 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import six
from time import sleep
import logging
from .debug_probe import DebugProbe
from ..core import exceptions
from ..core.plugin import Plugin
from .pydapaccess import DAPAccess
from ..board.mbed_board import MbedBoard
from ..board.board_ids import BOARD_ID_TO_INFO
LOG = logging.getLogger(__name__)
TRACE = LOG.getChild("trace")
TRACE.setLevel(logging.CRITICAL)
class CMSISDAPProbe(DebugProbe):
"""! @brief Wraps a pydapaccess link as a DebugProbe.
Supports CMSIS-DAP v1 and v2.
"""
# Masks for CMSIS-DAP capabilities.
SWD_CAPABILITY_MASK = 1
JTAG_CAPABILITY_MASK = 2
# Map from DebugProbe protocol types to/from DAPAccess port types.
PORT_MAP = {
DebugProbe.Protocol.DEFAULT: DAPAccess.PORT.DEFAULT,
DebugProbe.Protocol.SWD: DAPAccess.PORT.SWD,
DebugProbe.Protocol.JTAG: DAPAccess.PORT.JTAG,
DAPAccess.PORT.DEFAULT: DebugProbe.Protocol.DEFAULT,
DAPAccess.PORT.SWD: DebugProbe.Protocol.SWD,
DAPAccess.PORT.JTAG: DebugProbe.Protocol.JTAG,
}
# APnDP constants.
DP = 0
AP = 1
# Bitmasks for AP register address fields.
A32 = 0x0000000c
# Map from AP/DP and 2-bit register address to the enums used by pydapaccess.
REG_ADDR_TO_ID_MAP = {
# APnDP A32
( 0, 0x0 ) : DAPAccess.REG.DP_0x0,
( 0, 0x4 ) : DAPAccess.REG.DP_0x4,
( 0, 0x8 ) : DAPAccess.REG.DP_0x8,
( 0, 0xC ) : DAPAccess.REG.DP_0xC,
( 1, 0x0 ) : DAPAccess.REG.AP_0x0,
( 1, 0x4 ) : DAPAccess.REG.AP_0x4,
( 1, 0x8 ) : DAPAccess.REG.AP_0x8,
( 1, 0xC ) : DAPAccess.REG.AP_0xC,
}
## USB VID and PID pair for DAPLink firmware.
DAPLINK_VIDPID = (0x0d28, 0x0204)
@classmethod
def get_all_connected_probes(cls, unique_id=None, is_explicit=False):
try:
return [cls(dev) for dev in DAPAccess.get_connected_devices()]
except DAPAccess.Error as exc:
six.raise_from(cls._convert_exception(exc), exc)
@classmethod
def get_probe_with_id(cls, unique_id, is_explicit=False):
try:
dap_access = DAPAccess.get_device(unique_id)
if dap_access is not None:
return cls(dap_access)
else:
return None
except DAPAccess.Error as exc:
six.raise_from(cls._convert_exception(exc), exc)
def __init__(self, device):
super(CMSISDAPProbe, self).__init__()
self._link = device
self._supported_protocols = None
self._protocol = None
self._is_open = False
self._caps = set()
@property
def board_id(self):
"""! @brief Unique identifier for the board.
Only board IDs for DAPLink firmware are supported. We can't assume other
CMSIS-DAP firmware is using the same serial number format, so we cannot reliably
extract the board ID.
@return Either a 4-character board ID string, or None if the probe doesn't have a board ID.
"""
if self._link.vidpid == self.DAPLINK_VIDPID:
return self.unique_id[0:4]
else:
return None
@property
def description(self):
try:
# self.board_id may be None.
board_info = BOARD_ID_TO_INFO[self.board_id]
except KeyError:
return self.vendor_name + " " + self.product_name
else:
return "{0} [{1}]".format(board_info.name, board_info.target)
@property
def vendor_name(self):
return self._link.vendor_name
@property
def product_name(self):
return self._link.product_name
@property
def supported_wire_protocols(self):
"""! @brief Only valid after opening."""
return self._supported_protocols
@property
def unique_id(self):
return self._link.get_unique_id()
@property
def wire_protocol(self):
return self._protocol
@property
def is_open(self):
return self._is_open
@property
def capabilities(self):
return self._caps
def create_associated_board(self):
assert self.session is not None
# Only support associated Mbed boards for DAPLink firmware. We can't assume other
# CMSIS-DAP firmware is using the same serial number format, so we cannot reliably
# extract the board ID.
if self.board_id is not None:
return MbedBoard(self.session, board_id=self.board_id)
else:
return None
def open(self):
try:
TRACE.debug("trace: open")
self._link.open()
self._is_open = True
self._link.set_deferred_transfer(self.session.options.get('cmsis_dap.deferred_transfers'))
# Read CMSIS-DAP capabilities
self._capabilities = self._link.identify(DAPAccess.ID.CAPABILITIES)
self._supported_protocols = [DebugProbe.Protocol.DEFAULT]
if self._capabilities & self.SWD_CAPABILITY_MASK:
self._supported_protocols.append(DebugProbe.Protocol.SWD)
if self._capabilities & self.JTAG_CAPABILITY_MASK:
self._supported_protocols.append(DebugProbe.Protocol.JTAG)
self._caps = {
self.Capability.SWJ_SEQUENCE,
self.Capability.BANKED_DP_REGISTERS,
self.Capability.APv2_ADDRESSES,
self.Capability.JTAG_SEQUENCE,
}
if self._link.has_swd_sequence:
self._caps.add(self.Capability.SWD_SEQUENCE)
if self._link.has_swo():
self._caps.add(self.Capability.SWO)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def close(self):
try:
TRACE.debug("trace: close")
self._link.close()
self._is_open = False
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
# ------------------------------------------- #
# Target control functions
# ------------------------------------------- #
def connect(self, protocol=None):
TRACE.debug("trace: connect(%s)", protocol.name)
# Convert protocol to port enum.
if protocol is not None:
port = self.PORT_MAP[protocol]
else:
port = DAPAccess.PORT.DEFAULT
try:
self._link.connect(port)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
# Read the current mode and save it.
actualMode = self._link.get_swj_mode()
self._protocol = self.PORT_MAP[actualMode]
def swj_sequence(self, length, bits):
TRACE.debug("trace: swj_sequence(length=%i, bits=%x)", length, bits)
try:
self._link.swj_sequence(length, bits)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def swd_sequence(self, sequences):
TRACE.debug("trace: swd_sequence(sequences=%r)", sequences)
try:
self._link.swd_sequence(sequences)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def jtag_sequence(self, cycles, tms, read_tdo, tdi):
TRACE.debug("trace: jtag_sequence(cycles=%i, tms=%x, read_tdo=%s, tdi=%x)", cycles, tms, read_tdo, tdi)
try:
self._link.jtag_sequence(cycles, tms, read_tdo, tdi)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def disconnect(self):
TRACE.debug("trace: disconnect")
try:
self._link.disconnect()
self._protocol = None
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def set_clock(self, frequency):
TRACE.debug("trace: set_clock(freq=%i)", frequency)
try:
self._link.set_clock(frequency)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def reset(self):
TRACE.debug("trace: reset")
try:
self._link.assert_reset(True)
sleep(self.session.options.get('reset.hold_time'))
self._link.assert_reset(False)
sleep(self.session.options.get('reset.post_delay'))
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def assert_reset(self, asserted):
TRACE.debug("trace: assert_reset(%s)", asserted)
try:
self._link.assert_reset(asserted)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def is_reset_asserted(self):
try:
result = self._link.is_reset_asserted()
TRACE.debug("trace: is_reset_asserted -> %s", result)
return result
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def flush(self):
TRACE.debug("trace: flush")
try:
self._link.flush()
except DAPAccess.Error as exc:
TRACE.debug("trace: error from flush: %r", exc)
six.raise_from(self._convert_exception(exc), exc)
# ------------------------------------------- #
# DAP Access functions
# ------------------------------------------- #
def read_dp(self, addr, now=True):
reg_id = self.REG_ADDR_TO_ID_MAP[self.DP, addr]
try:
if not now:
TRACE.debug("trace: read_dp(addr=%#010x) -> ...", addr)
result = self._link.read_reg(reg_id, now=now)
except DAPAccess.Error as error:
TRACE.debug("trace: read_dp(addr=%#010x) -> error(%s)", addr, error)
six.raise_from(self._convert_exception(error), error)
# Read callback returned for async reads.
def read_dp_result_callback():
try:
value = result()
TRACE.debug("trace: ... read_dp(addr=%#010x) -> %#010x", addr, value)
return value
except DAPAccess.Error as error:
TRACE.debug("trace: ... read_dp(addr=%#010x) -> error(%s)", addr, error)
six.raise_from(self._convert_exception(error), error)
if now:
TRACE.debug("trace: read_dp(addr=%#010x) -> %#010x", addr, result)
return result
else:
return read_dp_result_callback
def write_dp(self, addr, data):
reg_id = self.REG_ADDR_TO_ID_MAP[self.DP, addr]
# Write the DP register.
try:
self._link.write_reg(reg_id, data)
TRACE.debug("trace: write_dp(addr=%#010x, data=%#010x)", addr, data)
except DAPAccess.Error as error:
TRACE.debug("trace: write_dp(addr=%#010x, data=%#010x) -> error(%s)", addr, data, error)
six.raise_from(self._convert_exception(error), error)
return True
def read_ap(self, addr, now=True):
assert type(addr) in (six.integer_types)
ap_reg = self.REG_ADDR_TO_ID_MAP[self.AP, (addr & self.A32)]
try:
if not now:
TRACE.debug("trace: read_ap(addr=%#010x) -> ...", addr)
result = self._link.read_reg(ap_reg, now=now)
except DAPAccess.Error as error:
six.raise_from(self._convert_exception(error), error)
# Read callback returned for async reads.
def read_ap_result_callback():
try:
value = result()
TRACE.debug("trace: ... read_ap(addr=%#010x) -> %#010x", addr, value)
return value
except DAPAccess.Error as error:
TRACE.debug("trace: ... read_ap(addr=%#010x) -> error(%s)", addr, error)
six.raise_from(self._convert_exception(error), error)
if now:
TRACE.debug("trace: read_ap(addr=%#010x) -> %#010x", addr, result)
return result
else:
return read_ap_result_callback
def write_ap(self, addr, data):
assert type(addr) in (six.integer_types)
ap_reg = self.REG_ADDR_TO_ID_MAP[self.AP, (addr & self.A32)]
try:
# Perform the AP register write.
self._link.write_reg(ap_reg, data)
TRACE.debug("trace: write_ap(addr=%#010x, data=%#010x)", addr, data)
except DAPAccess.Error as error:
TRACE.debug("trace: write_ap(addr=%#010x, data=%#010x) -> error(%s)", addr, data, error)
six.raise_from(self._convert_exception(error), error)
return True
def read_ap_multiple(self, addr, count=1, now=True):
assert type(addr) in (six.integer_types)
ap_reg = self.REG_ADDR_TO_ID_MAP[self.AP, (addr & self.A32)]
try:
if not now:
TRACE.debug("trace: read_ap_multi(addr=%#010x, count=%i) -> ...", addr, count)
result = self._link.reg_read_repeat(count, ap_reg, dap_index=0, now=now)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
# Need to wrap the deferred callback to convert exceptions.
def read_ap_repeat_callback():
try:
values = result()
TRACE.debug("trace: ... read_ap_multi(addr=%#010x, count=%i) -> [%s]", addr, count,
", ".join(["%#010x" % v for v in values]))
return values
except DAPAccess.Error as exc:
TRACE.debug("trace: ... read_ap_multi(addr=%#010x, count=%i) -> error(%s)",
addr, count, exc)
six.raise_from(self._convert_exception(exc), exc)
if now:
TRACE.debug("trace: read_ap_multi(addr=%#010x, count=%i) -> [%s]", addr, count,
", ".join(["%#010x" % v for v in result]))
return result
else:
return read_ap_repeat_callback
def write_ap_multiple(self, addr, values):
assert type(addr) in (six.integer_types)
ap_reg = self.REG_ADDR_TO_ID_MAP[self.AP, (addr & self.A32)]
try:
self._link.reg_write_repeat(len(values), ap_reg, values, dap_index=0)
TRACE.debug("trace: write_ap_multi(addr=%#010x, (%i)[%s])", addr, len(values),
", ".join(["%#010x" % v for v in values]))
except DAPAccess.Error as exc:
TRACE.debug("trace: write_ap_multi(addr=%#010x, (%i)[%s]) -> error(%s)", addr, len(values),
", ".join(["%#010x" % v for v in values]), exc)
six.raise_from(self._convert_exception(exc), exc)
# ------------------------------------------- #
# SWO functions
# ------------------------------------------- #
def swo_start(self, baudrate):
TRACE.debug("trace: swo_start(baud=%i)", baudrate)
try:
self._link.swo_configure(True, baudrate)
self._link.swo_control(True)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def swo_stop(self):
TRACE.debug("trace: swo_stop")
try:
self._link.swo_configure(False, 0)
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
def swo_read(self):
try:
data = self._link.swo_read()
TRACE.debug("trace: swo_read -> %i bytes", len(data))
return data
except DAPAccess.Error as exc:
six.raise_from(self._convert_exception(exc), exc)
@staticmethod
def _convert_exception(exc):
if isinstance(exc, DAPAccess.TransferFaultError):
return exceptions.TransferFaultError(*exc.args)
elif isinstance(exc, DAPAccess.TransferTimeoutError):
return exceptions.TransferTimeoutError(*exc.args)
elif isinstance(exc, DAPAccess.TransferError):
return exceptions.TransferError(*exc.args)
elif isinstance(exc, (DAPAccess.DeviceError, DAPAccess.CommandError)):
return exceptions.ProbeError(*exc.args)
elif isinstance(exc, DAPAccess.Error):
return exceptions.Error(*exc.args)
else:
return exc
class CMSISDAPProbePlugin(Plugin):
"""! @brief Plugin class for CMSISDAPProbe."""
def load(self):
return CMSISDAPProbe
@property
def name(self):
return "cmsisdap"
@property
def description(self):
return "CMSIS-DAP debug probe"
| [
"flit@me.com"
] | flit@me.com |
3a9d00dbffbfc164e2c73c7750ef4c357327fb63 | 67c599b9999542ca8f6a56d624fcaee8cee66119 | /sbscraper/__init__.py | 13d249c3f6d111510ed7caed1a6cd054a972db5a | [
"Apache-2.0"
] | permissive | quoppy/sbscraper | fdaa90c98235f3a192b38889934995ddd720a24c | 3b8ebfc67df614b2b807e65ecff80f4cc2f66715 | refs/heads/master | 2021-01-17T12:50:25.092138 | 2016-07-15T02:26:46 | 2016-07-15T02:26:46 | 63,233,528 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 226 | py | # -*- coding: utf-8 -*-
"""Scrapes websites for product information."""
__version__ = '0.0.1'
# Set NullHandler to avoid handler-related warnings.
import logging
logging.getLogger(__name__).addHandler(logging.NullHandler()) | [
"jl.listens+cloud9@gmail.com"
] | jl.listens+cloud9@gmail.com |
a2f4d170e79ddbac03d069e9c8697e6ebca71343 | bde22ccb01e6ed47788dc353fa5a3db826840b8f | /p1.py | 3be8867835a7148eb8ff27da98bd46edb9c0ae7b | [] | no_license | DaturaF/warehouse_system | d0e8f7d293bf2c90a486e4776ae3e341a6d0284c | 3717aa5cd6fb48cda831002cf8c186878d6003fe | refs/heads/master | 2021-01-25T07:02:10.112487 | 2017-06-07T14:45:21 | 2017-06-07T14:45:21 | 93,646,314 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,707 | py | #!/usr/bin/env python
#coding=utf-8
"""
仓库管理系统主界面
by: xf
2017.6.6
"""
# Form implementation generated from reading ui file 'C:\Users\Administrator\Desktop\p1.ui'
#
# Created: Fri Apr 21 10:21:55 2017
# by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from dingdan import *
from xiugai import *
from db import *
import time
import sys
reload(sys)
sys.setdefaultencoding('utf8')
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class P1(object):
def __init__(self):
super(P1, self).__init__()
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.resize(833, 386)
self.form = Dialog
self.num_flag = 0 # 表格的行数记录
self.label = QtGui.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(30, 40, 150, 15))
self.label.setObjectName(_fromUtf8("label"))
self.pushButton = QtGui.QPushButton(Dialog)
self.pushButton.setGeometry(QtCore.QRect(700, 80, 93, 28))
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.pushButton_2 = QtGui.QPushButton(Dialog)
self.pushButton_2.setGeometry(QtCore.QRect(700, 130, 93, 28))
self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
self.pushButton_3 = QtGui.QPushButton(Dialog)
self.pushButton_3.setGeometry(QtCore.QRect(160, 30, 150, 28))
self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
self.pushButton_4 = QtGui.QPushButton(Dialog)
self.pushButton_4.setGeometry(QtCore.QRect(320, 30, 150, 28))
self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))
self.tableWidget = QtGui.QTableWidget(Dialog)
self.tableWidget.setGeometry(QtCore.QRect(30, 70, 651, 291))
self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
self.tableWidget.setColumnCount(5)
self.tableWidget.setRowCount(1)
self.tableWidget.setHorizontalHeaderLabels([u'编号', u'交接方', u'货物信息', u'货物属性', u'操作状态'])
for x in range(self.tableWidget.columnCount()):
headItem = self.tableWidget.horizontalHeaderItem(x) # 获得水平方向表头的Item对象
headItem.setBackgroundColor(QColor(0, 60, 10)) # 设置单元格背景颜色
headItem.setTextColor(QColor(200, 111, 30)) # 设置文字颜色
self.tableWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) # 无法编辑
# 初始化表格
self.set_table()
# 开启监控线程
threads = []
t1 = threading.Thread(target=self.db_detective, args=())
threads.append(t1)
for t in threads:
t.setDaemon(True)
t.start()
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
self.pushButton.clicked.connect(self.finish_order)
self.pushButton_2.clicked.connect(self.cancel_order)
self.pushButton_3.clicked.connect(self.all_order)
self.pushButton_4.clicked.connect(self.change_message)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(_translate("Dialog", "仓库管理系统", None))
pe = QPalette()
pe.setColor(QPalette.WindowText, Qt.blue)
self.label.setPalette(pe)
self.label.setText(_translate("Dialog", "待处理货物", None))
self.pushButton.setText(_translate("Dialog", "完成入库", None))
self.pushButton_2.setText(_translate("Dialog", "完成出库", None))
self.pushButton_3.setText(_translate("Dialog", "查看全部库存记录", None))
self.pushButton_4.setText(_translate("Dialog", "修改库内货物信息", None))
def set_table(self): # 表单设置
print 'set table'
db = DataBase()
db.get_connect()
db.execute('use warehouse_manage_system')
sql = 'select serial_number,contract_party,cargo_message,cargo_property,status from inside_warehouse ' \
'where status=\'准备出库,未确认\' or status=\'准备入库,未确认\' or status=\'准备入库,已确认\' or status=\'准备出库,已确认\' ;'
result = db.execute(sql)
if result:
self.num_flag = len(result)-1
print 'num', self.num_flag
while self.tableWidget.rowCount() < self.num_flag+1:
self.tableWidget.insertRow(1)
for i in range(len(result)):
for j in range(len(result[i])):
mes = result[i][j]
newItem = QtGui.QTableWidgetItem(u"%s" % mes)
self.tableWidget.setItem(i, j, newItem)
db.db_close()
def finish_order(self): # 完成入库
num = self.tableWidget.currentRow()
serial_num = self.tableWidget.item(num, 0).text()
status = self.tableWidget.item(num, 4).text()
if status == u'准备入库,已确认':
self.num_flag -= 1
self.tableWidget.removeRow(num)
db = DataBase()
db.get_connect()
db.execute('use warehouse_manage_system')
sql = 'update inside_warehouse set status = \'已入库\' where serial_number = \'%s\';' % (serial_num)
db.execute(sql)
db.db_commit()
sql = 'update manifest set status = \'已入库\' where serial_number = \'%s\';' % (serial_num)
db.execute(sql)
db.db_commit()
db.db_close()
pe = QPalette()
pe.setColor(QPalette.WindowText, Qt.darkGreen)
self.label.setPalette(pe)
self.label.setText(_translate("Dialog", "确认入库完成", None))
self.label.show()
else:
pe = QPalette()
pe.setColor(QPalette.WindowText, Qt.darkRed)
self.label.setPalette(pe)
self.label.setText(_translate("Dialog", "选择的货物状态不正确,请重新确认", None))
self.label.show()
def cancel_order(self): # 完成出库
num = self.tableWidget.currentRow()
serial_num = self.tableWidget.item(num, 0).text()
status = self.tableWidget.item(num, 4).text()
if status == u'准备出库,已确认':
self.num_flag -= 1
self.tableWidget.removeRow(num)
db = DataBase()
db.get_connect()
db.execute('use warehouse_manage_system')
sql = 'update inside_warehouse set status = \'已出库\' where serial_number = \'%s\';' % (serial_num)
db.execute(sql)
db.db_commit()
sql = 'update manifest set status = \'已出库\' where serial_number = \'%s\';' % (serial_num)
db.execute(sql)
db.db_commit()
sql = 'update manifest set out_time = \'%s\' where serial_number = \'%s\';' % (time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time())),serial_num)
db.execute(sql)
db.db_commit()
db.db_close()
pe = QPalette()
pe.setColor(QPalette.WindowText, Qt.darkGreen)
self.label.setPalette(pe)
self.label.setText(_translate("Dialog", "确认出库完成", None))
self.label.show()
else:
pe = QPalette()
pe.setColor(QPalette.WindowText, Qt.darkRed)
self.label.setPalette(pe)
self.label.setText(_translate("Dialog", "选择的货物状态不正确,请重新确认", None))
self.label.show()
def db_detective(self): # 数据库数据实时监测线程
print 'thread start'
db = DataBase()
db.get_connect()
db.execute('use e_commerce')
sql = 'select confirm_time, phone, address, client_order, total_price from user_order ;'
result = db.execute(sql)
db.db_close()
num = len(result)
temp = num
print 'ori num', num
while True:
db = DataBase()
db.get_connect()
db.execute('use e_commerce')
sql = 'select confirm_time, phone, address, client_order, total_price from user_order ;'
result = db.execute(sql)
num = len(result)
if num != temp:
print 'new num', num, temp
for i in range(num-temp):
self.num_flag += 1
self.tableWidget.insertRow(self.num_flag)
for j in range(len(result[0])):
mes = result[-i-1][j]
newItem = QtGui.QTableWidgetItem(u"%s" % mes)
self.tableWidget.setItem(self.num_flag, j, newItem)
temp = num
db.db_close()
time.sleep(1)
def all_order(self): # 查看订单
self.form.hide()
Form1 = QtGui.QDialog()
ui = Ui_dingdan()
ui.setupUi(Form1)
Form1.show()
Form1.exec_()
self.form.show()
def change_message(self):
self.form.hide()
Form1 = QtGui.QDialog()
ui = Ui_xiugai()
ui.setupUi(Form1)
Form1.show()
Form1.exec_()
self.form.show()
self.set_table()
| [
"1187853170@qq.com"
] | 1187853170@qq.com |
544b79ac2871ed28f3ba737508806e5af274224d | 8c848d27cfd3b521311b9c668be7ba963f3cc39e | /src/import_history.py | da6845cd6a9704083f50eaacda6309af9a074efc | [
"BSD-3-Clause"
] | permissive | CESNET/GRIP | b9f29660937b78528c8221238d1e405b08688265 | 1892b28fb437d806a9d2a006639201752cb3db2a | refs/heads/master | 2023-03-20T16:17:53.010337 | 2018-10-25T10:52:02 | 2018-10-25T10:52:02 | 140,474,581 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,391 | py | import os
import sys
import json
import psycopg2
import settings
from list_ip_addr import list_ip
def import_idea_to_history(line):
if 'Category' not in line:
return
category = str(line['Category']).replace('[', '{').replace(']', '}').replace("'", "")
source = []
sourcep = []
sourceprot = []
if 'Source' not in line:
return
for i in line['Source']:
if 'IP4' in i:
source.extend(list_ip(i['IP4']))
if 'Port' in i:
sourcep.extend(i['Port'])
if 'Proto' in i:
sourceprot.extend(i['Proto'])
sourceIP = str(source).replace('[', '{').replace(']', '}').replace("'", "")
sourcePort = str(sourcep).replace('[', '{').replace(']', '}').replace("'", "")
sourceProto = str(sourceprot).replace('[', '{').replace(']', '}').replace("'", "")
target = []
targetp = []
targetprot = []
if 'Target' not in line:
return
for i in line['Target']:
if 'IP4' in i:
target.extend(list_ip(i['IP4']))
if 'Port' in i:
targetp.extend(i['Port'])
if 'Proto' in i:
targetprot.extend(i['Proto'])
targetIP = str(target).replace('[', '{').replace(']', '}').replace("'", "")
targetPort = str(targetp).replace('[', '{').replace(']', '}').replace("'", "")
targetProto = str(targetprot).replace('[', '{').replace(']', '}').replace("'", "")
attach = ''
if 'Attach' in line:
if 'Content' in line['Attach'][0]:
attach = line['Attach'][0]['Content'].encode('utf-8').decode('utf-8').replace("'", '"')
conn = psycopg2.connect("dbname='" + settings.DB_NAME + "'\
user='" + settings.DB_USER + "'\
password='" + settings.DB_PASS + "'\
host='" + settings.DB_HOST + "'")
conn.autocommit = True
cur = conn.cursor()
sql = """INSERT INTO history
VALUES (
'""" + line['ID'] + """',
'""" + line['DetectTime'] + """',
'""" + category + """',
'""" + sourceIP + """',
'""" + sourcePort + """',
'""" + sourceProto + """',
'""" + targetIP + """',
'""" + targetPort + """',
'""" + targetProto + """',
'""" + attach + """');
"""
cur.execute(sql)
#rows = cur.fetchall()
#for row in rows:
# print(row[0])
| [
"root@svepes1.liberouter.org"
] | root@svepes1.liberouter.org |
02c289f6787a894b12dce3c4d37341319d114e02 | e170e98d08c76fdcb9e6ee4fa4e09db6c3055ee1 | /_runfile1.py | fb36f6a70d56bb0bb8d7b7b2f1ecf230f4763177 | [] | no_license | Locke-bot/graphy | 74ed58ea99480ae6aef7ec7630f4995875543d35 | 4eadb198a5aea642cbfdb8795ad56f592f547d3a | refs/heads/master | 2023-09-01T04:05:53.719439 | 2021-10-01T17:33:13 | 2021-10-01T17:33:13 | 397,513,539 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 466 | py | # -*- coding: utf-8 -*-
"""
Created on Fri Apr 30 13:21:58 2021
@author: CHAINZ
"""
import time
from graphOCR_2 import Graph
import cv2
from matplotlib import pyplot as plt
gridunit=20
inittime= time.time()
img= cv2.imread("x_square.png", cv2.IMREAD_GRAYSCALE)
x= Graph(img,gridunit)
cor=x.get_coordinates()
plt.plot(cor[0], cor[1])
plt.grid(True)
plt.show()
print([[cor[0][i], cor[1][i]] for i in range(len(cor[1]))])
print(time.time()-inittime)
| [
"oladosumoses24@gmail.com"
] | oladosumoses24@gmail.com |
bbcee4ede5092eeebc1a80a52b8eed3a5f94f723 | fabcae09d3b564ccd3d0207c4acc961505a4f17a | /triangle_type.py | d756c7b4f10d1868c43130f53952bb538d5ccd85 | [] | no_license | ankurrathi1602/python_projects | 79be893626c80d7700f940b8e4e05cee464d04c2 | a8883cde705c3d7cdf43e3f6fc2ae3814cf7a7ba | refs/heads/master | 2020-12-03T06:17:24.810194 | 2020-01-02T14:20:06 | 2020-01-02T14:20:06 | 231,227,584 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 321 | py | # To find the type of the triangle
x, y, z = map(int, input().split())
if x > y+z or y > x+z or z > x+y:
print("Triangle is invalid")
else:
if x == y == z:
print("equilateral triangle")
elif x == y or y == z or x == z:
print("isosceles triangle")
else:
print("scalene triangle")
| [
"ankurrathi1611@gmail.com"
] | ankurrathi1611@gmail.com |
c740ade91160be9396ce3f0834943a1257459dd1 | a852caec1816bb6e0680afe4b4c1e29fe98e68f6 | /personality_api/urls.py | af08ef93867bb9a9fde4a4dacabebd31b403a3df | [] | no_license | AxSch/Vyou | e54ddac2933e5f98c5e21401f06fa40a375eaa96 | b5d6e289cfed2d24d5ddbda82955850ce4bf234c | refs/heads/master | 2022-12-13T11:34:19.841447 | 2019-02-13T06:41:10 | 2019-02-13T06:41:10 | 143,021,571 | 0 | 0 | null | 2022-12-02T11:54:14 | 2018-07-31T13:57:26 | JavaScript | UTF-8 | Python | false | false | 344 | py | from django.urls import include, path
from .views import PersonalityApi, EnergyFlowApi, EnergyLevelApi, EnergyMappingApi
urlpatterns = [
path('personality/', PersonalityApi.as_view()),
path('energy_flow/', EnergyFlowApi.as_view()),
path('energy_level/', EnergyLevelApi.as_view()),
path('energy_mapping/', EnergyMappingApi.as_view()),
] | [
"alex_schuneman@outlook.com"
] | alex_schuneman@outlook.com |
1508040a54d8ca8023e940ad28eebaec9629ab2c | 9e41a880c70ae0367b11aa5dd2fee5e21c9d8fdd | /dexcom_reader/dxcom-records-insertion | 7091c7d154627891065ae2cab2ca47b9d42c1e6b | [] | no_license | RSwallow987/decoding-dexcom | 42f17a6b97a723fe0d862edb926375428d3d1943 | 470bb8f0cd2c135a6a3f3342e0ba25b6e4fa57bb | refs/heads/master | 2021-05-30T00:13:53.370366 | 2014-11-25T22:42:58 | 2014-11-25T22:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 605 | #!/usr/bin/python
import user
import dexcom_reader
from dexcom_reader import readdata
from pprint import pformat, pprint
def main( ):
Dexcom = readdata.Dexcom
device = Dexcom.FindDevice()
if not device:
sys.stderr.write('Could not find Dexcom G4 Receiver!\n')
sys.exit(1)
else:
print device
dex = Dexcom(device)
records = dex.ReadRecords('INSERTION_TIME')
print '### Insertion records: %d' % (len(records))
print '```python'
pprint(records)
print '```'
print '### Insertion records: %d' % (len(records))
if __name__ == '__main__':
main( )
#####
# EOF
| [
"bewest@gmail.com"
] | bewest@gmail.com | |
2c8e0ba3d24d4e951ecbb03727674b82cd7245cb | 169cc760a21103fc884df20f4e5a88b7b4e4181a | /Comparison.py | b0369921897a73d2455f2c4f3f58ec5a2ee6d710 | [] | no_license | AndreasWituschek/fermi_analysis | 40028882d7d66fa6d22c8661ecaaff16ba07ab78 | bee846b4bf9cfb8ae20019cb9b38f1e4bfff69f3 | refs/heads/master | 2021-08-17T08:38:24.920011 | 2020-04-27T16:29:55 | 2020-04-27T16:29:55 | 170,501,167 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,081 | py | # -*- coding: utf-8 -*-
"""
Created on Tue Mar 5 02:47:44 2019
@author: ldm
"""
import numpy as np
import os
import fermi_analysis.functions as fk
import h5py
import matplotlib.pyplot as plt
import scipy.constants as spc
import pickle
import fermi_analysis.functions as fk
"""Experimental Parameters"""
# parameters for theoretical curve
l_He = 52.22 # helium 1s-4p transition in nm
l_ref = 266. # reference laser wavelenght in nm
harmonic = 5. # harmonic of FEL
delay_zero_pos = 11025.66
title = 'Comparison'
color = 'r'
""" Parameters for theoretical curve """
phi = 0.0 # phase offset between reference and signal in degrees
A = 1. # amplitude (=R from MFLI)
offset = 0. # offset
imp_data = []
fd_list = ['/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419_demod0_01',
'/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419_demod0_09',
'/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419_demod1_015',
'/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419_demod1_09',
'/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419_demod2_025',
'/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419_demod2_09']
# '/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Late/delayscan_run409-419']
#fd_list = ['/home/ldm/ExperimentalData/Online4LDM/20149020/Day_2/combined/Late/delayscan_run409-419_deomd2_025',
# '/home/ldm/ExperimentalData/Online4LDM/20149020/Day_2/combined/Late/delayscan_Run241-252',
# '/home/ldm/ExperimentalData/Online4LDM/20149020/Day_3/combined/Morning/delayscan_run395-405']
plot_off = 0
color_idx = np.linspace(0,1, len(fd_list))
figTDY, axY = plt.subplots(1, 1,'TD Y')
axY.set_title('Comparison Y')
axY.set_ylabel('Amplitude in a.u.')
figTDX, axX = plt.subplots(1, 1,'TD X')
axX.set_title('Comparison X')
axX.set_ylabel('Amplitude in a.u.')
figFD, axFD = plt.subplots(1, 1, 'FD')
axFD.set_xlabel(r'wavenumber [cm$^{-1}$]', fontsize=14)
axFD.set_ylabel('spectral amp. [arb. u.]', fontsize=14)
#fX = plt.figure()
for fn in fd_list:
imp_data = []
fp = open(fn , 'rb')
label = os.path.basename(os.path.normpath(fn))[10:]
while 1:
try:
imp_data.append(pickle.load(fp))
except EOFError:
break
fp.close()
T = imp_data[0]
Z = imp_data[1] + 1j*imp_data [3]
Z_s = imp_data[2] + 1j*imp_data [4]
R = np.sqrt(Z.real**2 + Z.imag**2)
R_s = np.sqrt(Z_s.real**2 + Z_s.imag**2)
Phi = np.angle(Z, deg=True)
Ttheo = np.linspace(T[0],T[-1], 1000)
Xtd,Ytd,Xt,Yt = fk.Curve(l_He, l_ref, harmonic, -90.0, max(abs(Z)), offset, T[0], T[-1], 1000)
# Optimal phase
Phi_theo = T * 1e-6 * (spc.c/l_ref * harmonic - spc.c/l_He) * 360.0
Phi_theo -= (Phi_theo[0]- Phi[0])
Phi -= Phi_theo
delay = T
X = Z.real
X_s = Z_s.real
Y = Z.imag
Y_s = Z_s.imag
# Fourier traffo
Zg = fk.GaussWindow(T, Z, False)
Td = T[1]-T[0]
wn, dft = fk.DFT(T, Zg, Td, l_ref , harmonic, zeroPaddingFactor = 2)
color = plt.cm.jet(color_idx[plot_off]) # get color for each iter
# Plot X time domain
axX.errorbar(delay, X, yerr=X_s, color=color, linestyle='o')
axX.plot(delay, X, 'o', color=color, label=label)
axX.plot(Ttheo, Xt, '-', color=color)
# Plot Y time domain
axY.errorbar(delay, Y, yerr=Y_s, color=color, linestyle='')
axY.plot(delay, Y, 'o', color=color, label=label)
axY.plot(Ttheo, -Yt, '-', color=color)
# plot frequency domain
axFD.plot(wn, abs(dft), '-', color = color, linewidth = 2, label=label)
axFD.axvline(191492.711,color = 'k' ,linestyle='-', linewidth= 2)
if plot_off <= 0:
axFD.axvline(harmonic*1E7/l_ref,color = 'k',linestyle='--', linewidth= 2)
plt.show()
plot_off += 1
print(plot_off, fn)
axX.legend()
axY.legend()
axFD.legend()
plt.show() | [
"ldm@pcl-ldm-ehf-03.(none)"
] | ldm@pcl-ldm-ehf-03.(none) |
31edc2d23b9bb87188c1582f8d11fc1719a7eb46 | 65ffed7634bb8f4fdb063d7c1baf2f0028c3bea4 | /NLI-VC-Thesaurus/lib/python3.6/site-packages/pandas/tests/test_lib.py | 7b04501bfc2c4033e41a8defb2dbc5a37f771f79 | [] | no_license | ygherman/NLI-VC-Thesaurus | b94325dcbdf25d9756ed54e8b1414568e8dc4250 | 9c1355447b7a885cff7b1a76a0124ddf9bc4cca6 | refs/heads/master | 2021-08-16T22:52:15.818540 | 2017-11-20T13:07:50 | 2017-11-20T13:08:24 | 108,041,265 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,167 | py | # -*- coding: utf-8 -*-
import numpy as np
import pandas as pd
import pandas._libs.lib as lib
import pandas.util.testing as tm
import pytest
class TestMisc(object):
def test_max_len_string_array(self):
arr = a = np.array(['foo', 'b', np.nan], dtype='object')
assert lib.max_len_string_array(arr), 3
# unicode
arr = a.astype('U').astype(object)
assert lib.max_len_string_array(arr), 3
# bytes for python3
arr = a.astype('S').astype(object)
assert lib.max_len_string_array(arr), 3
# raises
pytest.raises(TypeError,
lambda: lib.max_len_string_array(arr.astype('U')))
def test_fast_unique_multiple_list_gen_sort(self):
keys = [['p', 'a'], ['n', 'd'], ['a', 's']]
gen = (key for key in keys)
expected = np.array(['a', 'd', 'n', 'p', 's'])
out = lib.fast_unique_multiple_list_gen(gen, sort=True)
tm.assert_numpy_array_equal(np.array(out), expected)
gen = (key for key in keys)
expected = np.array(['p', 'a', 'n', 'd', 's'])
out = lib.fast_unique_multiple_list_gen(gen, sort=False)
tm.assert_numpy_array_equal(np.array(out), expected)
class TestIndexing(object):
def test_maybe_indices_to_slice_left_edge(self):
target = np.arange(100)
# slice
indices = np.array([], dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
for end in [1, 2, 5, 20, 99]:
for step in [1, 2, 4]:
indices = np.arange(0, end, step, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices],
target[maybe_slice])
# reverse
indices = indices[::-1]
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices],
target[maybe_slice])
# not slice
for case in [[2, 1, 2, 0], [2, 2, 1, 0], [0, 1, 2, 1], [-2, 0, 2],
[2, 0, -2]]:
indices = np.array(case, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert not isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(maybe_slice, indices)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
def test_maybe_indices_to_slice_right_edge(self):
target = np.arange(100)
# slice
for start in [0, 2, 5, 20, 97, 98]:
for step in [1, 2, 4]:
indices = np.arange(start, 99, step, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices],
target[maybe_slice])
# reverse
indices = indices[::-1]
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices],
target[maybe_slice])
# not slice
indices = np.array([97, 98, 99, 100], dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert not isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(maybe_slice, indices)
with pytest.raises(IndexError):
target[indices]
with pytest.raises(IndexError):
target[maybe_slice]
indices = np.array([100, 99, 98, 97], dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert not isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(maybe_slice, indices)
with pytest.raises(IndexError):
target[indices]
with pytest.raises(IndexError):
target[maybe_slice]
for case in [[99, 97, 99, 96], [99, 99, 98, 97], [98, 98, 97, 96]]:
indices = np.array(case, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert not isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(maybe_slice, indices)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
def test_maybe_indices_to_slice_both_edges(self):
target = np.arange(10)
# slice
for step in [1, 2, 4, 5, 8, 9]:
indices = np.arange(0, 9, step, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
# reverse
indices = indices[::-1]
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
# not slice
for case in [[4, 2, 0, -2], [2, 2, 1, 0], [0, 1, 2, 1]]:
indices = np.array(case, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert not isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(maybe_slice, indices)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
def test_maybe_indices_to_slice_middle(self):
target = np.arange(100)
# slice
for start, end in [(2, 10), (5, 25), (65, 97)]:
for step in [1, 2, 4, 20]:
indices = np.arange(start, end, step, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices],
target[maybe_slice])
# reverse
indices = indices[::-1]
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(target[indices],
target[maybe_slice])
# not slice
for case in [[14, 12, 10, 12], [12, 12, 11, 10], [10, 11, 12, 11]]:
indices = np.array(case, dtype=np.int64)
maybe_slice = lib.maybe_indices_to_slice(indices, len(target))
assert not isinstance(maybe_slice, slice)
tm.assert_numpy_array_equal(maybe_slice, indices)
tm.assert_numpy_array_equal(target[indices], target[maybe_slice])
def test_maybe_booleans_to_slice(self):
arr = np.array([0, 0, 1, 1, 1, 0, 1], dtype=np.uint8)
result = lib.maybe_booleans_to_slice(arr)
assert result.dtype == np.bool_
result = lib.maybe_booleans_to_slice(arr[:0])
assert result == slice(0, 0)
def test_get_reverse_indexer(self):
indexer = np.array([-1, -1, 1, 2, 0, -1, 3, 4], dtype=np.int64)
result = lib.get_reverse_indexer(indexer, 5)
expected = np.array([4, 2, 3, 6, 7], dtype=np.int64)
assert np.array_equal(result, expected)
class TestNullObj(object):
_1d_methods = ['isnullobj', 'isnullobj_old']
_2d_methods = ['isnullobj2d', 'isnullobj2d_old']
def _check_behavior(self, arr, expected):
for method in TestNullObj._1d_methods:
result = getattr(lib, method)(arr)
tm.assert_numpy_array_equal(result, expected)
arr = np.atleast_2d(arr)
expected = np.atleast_2d(expected)
for method in TestNullObj._2d_methods:
result = getattr(lib, method)(arr)
tm.assert_numpy_array_equal(result, expected)
def test_basic(self):
arr = np.array([1, None, 'foo', -5.1, pd.NaT, np.nan])
expected = np.array([False, True, False, False, True, True])
self._check_behavior(arr, expected)
def test_non_obj_dtype(self):
arr = np.array([1, 3, np.nan, 5], dtype=float)
expected = np.array([False, False, True, False])
self._check_behavior(arr, expected)
def test_empty_arr(self):
arr = np.array([])
expected = np.array([], dtype=bool)
self._check_behavior(arr, expected)
def test_empty_str_inp(self):
arr = np.array([""]) # empty but not null
expected = np.array([False])
self._check_behavior(arr, expected)
def test_empty_like(self):
# see gh-13717: no segfaults!
arr = np.empty_like([None])
expected = np.array([True])
self._check_behavior(arr, expected)
| [
"gh.gherman@gmail.com"
] | gh.gherman@gmail.com |
1d9847fea873f5179cc23094a8ee590369cb9bc9 | 3546dd5dbcffc8509440c820faa7cf28080c5df7 | /python35/Lib/site-packages/scipy/special/orthogonal.py | 86e6cb62df876fdf13c370d9234d85b61ad5b577 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"LGPL-2.1-only"
] | permissive | Matchoc/python_env | 55ad609c8270cc6148eda22d37f36709d73b3652 | 859d84d1717a265a4085ad29706b12c19c62d36f | refs/heads/master | 2022-02-13T11:05:51.825544 | 2020-06-05T02:42:08 | 2020-06-05T02:42:08 | 75,793,921 | 0 | 1 | Apache-2.0 | 2018-12-14T07:30:28 | 2016-12-07T03:06:13 | Python | UTF-8 | Python | false | false | 51,347 | py | """
A collection of functions to find the weights and abscissas for
Gaussian Quadrature.
These calculations are done by finding the eigenvalues of a
tridiagonal matrix whose entries are dependent on the coefficients
in the recursion formula for the orthogonal polynomials with the
corresponding weighting function over the interval.
Many recursion relations for orthogonal polynomials are given:
.. math::
a1n f_{n+1} (x) = (a2n + a3n x ) f_n (x) - a4n f_{n-1} (x)
The recursion relation of interest is
.. math::
P_{n+1} (x) = (x - A_n) P_n (x) - B_n P_{n-1} (x)
where :math:`P` has a different normalization than :math:`f`.
The coefficients can be found as:
.. math::
A_n = -a2n / a3n
\\qquad
B_n = ( a4n / a3n \\sqrt{h_n-1 / h_n})^2
where
.. math::
h_n = \\int_a^b w(x) f_n(x)^2
assume:
.. math::
P_0 (x) = 1
\\qquad
P_{-1} (x) == 0
For the mathematical background, see [golub.welsch-1969-mathcomp]_ and
[abramowitz.stegun-1965]_.
Functions::
gen_roots_and_weights -- Generic roots and weights.
j_roots -- Jacobi
js_roots -- Shifted Jacobi
la_roots -- Generalized Laguerre
h_roots -- Hermite
he_roots -- Hermite (unit-variance)
cg_roots -- Ultraspherical (Gegenbauer)
t_roots -- Chebyshev of the first kind
u_roots -- Chebyshev of the second kind
c_roots -- Chebyshev of the first kind ([-2,2] interval)
s_roots -- Chebyshev of the second kind ([-2,2] interval)
ts_roots -- Shifted Chebyshev of the first kind.
us_roots -- Shifted Chebyshev of the second kind.
p_roots -- Legendre
ps_roots -- Shifted Legendre
l_roots -- Laguerre
.. [golub.welsch-1969-mathcomp]
Golub, Gene H, and John H Welsch. 1969. Calculation of Gauss
Quadrature Rules. *Mathematics of Computation* 23, 221-230+s1--s10.
.. [abramowitz.stegun-1965]
Abramowitz, Milton, and Irene A Stegun. (1965) *Handbook of
Mathematical Functions: with Formulas, Graphs, and Mathematical
Tables*. Gaithersburg, MD: National Bureau of Standards.
http://www.math.sfu.ca/~cbm/aands/
.. [townsend.trogdon.olver-2014]
Townsend, A. and Trogdon, T. and Olver, S. (2014)
*Fast computation of Gauss quadrature nodes and
weights on the whole real line*. ArXiv 1410.5286.
.. [townsend.trogdon.olver-2015]
Townsend, A. and Trogdon, T. and Olver, S. (2015)
*Fast computation of Gauss quadrature nodes and
weights on the whole real line*.
IMA Journal of Numerical Analysis
doi: 10.1093/imanum/drv002
"""
#
# Author: Travis Oliphant 2000
# Updated Sep. 2003 (fixed bugs --- tested to be accurate)
from __future__ import division, print_function, absolute_import
# Scipy imports.
import numpy as np
from numpy import (any, exp, inf, pi, sqrt, floor, sin, cos, around,
int, hstack, arccos, arange)
from scipy import linalg
from scipy.special import airy
# Local imports.
from . import _ufuncs as cephes
_gam = cephes.gamma
from . import specfun
__all__ = ['legendre', 'chebyt', 'chebyu', 'chebyc', 'chebys',
'jacobi', 'laguerre', 'genlaguerre', 'hermite', 'hermitenorm',
'gegenbauer', 'sh_legendre', 'sh_chebyt', 'sh_chebyu', 'sh_jacobi',
'p_roots', 'ps_roots', 'j_roots', 'js_roots', 'l_roots', 'la_roots',
'he_roots', 'ts_roots', 'us_roots', 's_roots',
't_roots', 'u_roots', 'c_roots', 'cg_roots', 'h_roots',
'eval_legendre', 'eval_chebyt', 'eval_chebyu', 'eval_chebyc',
'eval_chebys', 'eval_jacobi', 'eval_laguerre', 'eval_genlaguerre',
'eval_hermite', 'eval_hermitenorm', 'eval_gegenbauer',
'eval_sh_legendre', 'eval_sh_chebyt', 'eval_sh_chebyu',
'eval_sh_jacobi', 'poch', 'binom']
# For backward compatibility
poch = cephes.poch
class orthopoly1d(np.poly1d):
def __init__(self, roots, weights=None, hn=1.0, kn=1.0, wfunc=None,
limits=None, monic=False, eval_func=None):
np.poly1d.__init__(self, roots, r=1)
equiv_weights = [weights[k] / wfunc(roots[k]) for
k in range(len(roots))]
self.__dict__['weights'] = np.array(list(zip(roots,
weights, equiv_weights)))
self.__dict__['weight_func'] = wfunc
self.__dict__['limits'] = limits
mu = sqrt(hn)
if monic:
evf = eval_func
if evf:
eval_func = lambda x: evf(x) / kn
mu = mu / abs(kn)
kn = 1.0
self.__dict__['normcoef'] = mu
self.__dict__['coeffs'] *= kn
# Note: eval_func will be discarded on arithmetic
self.__dict__['_eval_func'] = eval_func
def __call__(self, v):
if self._eval_func and not isinstance(v, np.poly1d):
return self._eval_func(v)
else:
return np.poly1d.__call__(self, v)
def _scale(self, p):
if p == 1.0:
return
self.__dict__['coeffs'] *= p
evf = self.__dict__['_eval_func']
if evf:
self.__dict__['_eval_func'] = lambda x: evf(x) * p
self.__dict__['normcoef'] *= p
def _gen_roots_and_weights(n, mu0, an_func, bn_func, f, df, symmetrize, mu):
"""[x,w] = gen_roots_and_weights(n,an_func,sqrt_bn_func,mu)
Returns the roots (x) of an nth order orthogonal polynomial,
and weights (w) to use in appropriate Gaussian quadrature with that
orthogonal polynomial.
The polynomials have the recurrence relation
P_n+1(x) = (x - A_n) P_n(x) - B_n P_n-1(x)
an_func(n) should return A_n
sqrt_bn_func(n) should return sqrt(B_n)
mu ( = h_0 ) is the integral of the weight over the orthogonal
interval
"""
k = np.arange(n, dtype='d')
c = np.zeros((2, n))
c[0,1:] = bn_func(k[1:])
c[1,:] = an_func(k)
x = linalg.eigvals_banded(c, overwrite_a_band=True)
# improve roots by one application of Newton's method
y = f(n, x)
dy = df(n, x)
x -= y/dy
fm = f(n-1, x)
fm /= np.abs(fm).max()
dy /= np.abs(dy).max()
w = 1.0 / (fm * dy)
if symmetrize:
w = (w + w[::-1]) / 2
x = (x - x[::-1]) / 2
w *= mu0 / w.sum()
if mu:
return x, w, mu0
else:
return x, w
# Jacobi Polynomials 1 P^(alpha,beta)_n(x)
def j_roots(n, alpha, beta, mu=False):
r"""Gauss-Jacobi quadrature.
Computes the sample points and weights for Gauss-Jacobi quadrature. The
sample points are the roots of the n-th degree Jacobi polynomial,
:math:`P^{\alpha, \beta}_n(x)`. These sample points and weights
correctly integrate polynomials of degree :math:`2n - 1` or less over the
interval :math:`[-1, 1]` with weight function
:math:`f(x) = (1 - x)^{\alpha} (1 + x)^{\beta}`.
Parameters
----------
n : int
quadrature order
alpha : float
alpha must be > -1
beta : float
beta must be > 0
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
m = int(n)
if n < 1 or n != m:
raise ValueError("n must be a positive integer.")
if alpha <= -1 or beta <= -1:
raise ValueError("alpha and beta must be greater than -1.")
if alpha == 0.0 and beta == 0.0:
return p_roots(m, mu)
if alpha == beta:
return cg_roots(m, alpha+0.5, mu)
mu0 = 2.0**(alpha+beta+1)*cephes.beta(alpha+1, beta+1)
a = alpha
b = beta
if a + b == 0.0:
an_func = lambda k: np.where(k == 0, (b-a)/(2+a+b), 0.0)
else:
an_func = lambda k: np.where(k == 0, (b-a)/(2+a+b),
(b*b - a*a) / ((2.0*k+a+b)*(2.0*k+a+b+2)))
bn_func = lambda k: 2.0 / (2.0*k+a+b)*np.sqrt((k+a)*(k+b) / (2*k+a+b+1)) \
* np.where(k == 1, 1.0, np.sqrt(k*(k+a+b) / (2.0*k+a+b-1)))
f = lambda n, x: cephes.eval_jacobi(n, a, b, x)
df = lambda n, x: 0.5 * (n + a + b + 1) \
* cephes.eval_jacobi(n-1, a+1, b+1, x)
return _gen_roots_and_weights(m, mu0, an_func, bn_func, f, df, False, mu)
def jacobi(n, alpha, beta, monic=False):
"""Returns the nth order Jacobi polynomial, P^(alpha,beta)_n(x)
orthogonal over [-1,1] with weighting function
(1-x)**alpha (1+x)**beta with alpha,beta > -1.
"""
if n < 0:
raise ValueError("n must be nonnegative.")
wfunc = lambda x: (1 - x)**alpha * (1 + x)**beta
if n == 0:
return orthopoly1d([], [], 1.0, 1.0, wfunc, (-1, 1), monic,
eval_func=np.ones_like)
x, w, mu = j_roots(n, alpha, beta, mu=True)
ab1 = alpha + beta + 1.0
hn = 2**ab1 / (2 * n + ab1) * _gam(n + alpha + 1)
hn *= _gam(n + beta + 1.0) / _gam(n + 1) / _gam(n + ab1)
kn = _gam(2 * n + ab1) / 2.0**n / _gam(n + 1) / _gam(n + ab1)
# here kn = coefficient on x^n term
p = orthopoly1d(x, w, hn, kn, wfunc, (-1, 1), monic,
lambda x: eval_jacobi(n, alpha, beta, x))
return p
# Jacobi Polynomials shifted G_n(p,q,x)
def js_roots(n, p1, q1, mu=False):
"""Gauss-Jacobi (shifted) quadrature.
Computes the sample points and weights for Gauss-Jacobi (shifted)
quadrature. The sample points are the roots of the n-th degree shifted
Jacobi polynomial, :math:`G^{p,q}_n(x)`. These sample points and weights
correctly integrate polynomials of degree :math:`2n - 1` or less over the
interval :math:`[0, 1]` with weight function
:math:`f(x) = (1 - x)^{p-q} x^{q-1}`
Parameters
----------
n : int
quadrature order
p1 : float
(p1 - q1) must be > -1
q1 : float
q1 must be > 0
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
if (p1-q1) <= -1 or q1 <= 0:
raise ValueError("(p - q) must be greater than -1, and q must be greater than 0.")
x, w, m = j_roots(n, p1-q1, q1-1, True)
x = (x + 1) / 2
scale = 2.0**p1
w /= scale
m /= scale
if mu:
return x, w, m
else:
return x, w
def sh_jacobi(n, p, q, monic=False):
"""Returns the nth order Jacobi polynomial, G_n(p,q,x)
orthogonal over [0,1] with weighting function
(1-x)**(p-q) (x)**(q-1) with p>q-1 and q > 0.
"""
if n < 0:
raise ValueError("n must be nonnegative.")
wfunc = lambda x: (1.0 - x)**(p - q) * (x)**(q - 1.)
if n == 0:
return orthopoly1d([], [], 1.0, 1.0, wfunc, (-1, 1), monic,
eval_func=np.ones_like)
n1 = n
x, w, mu0 = js_roots(n1, p, q, mu=True)
hn = _gam(n + 1) * _gam(n + q) * _gam(n + p) * _gam(n + p - q + 1)
hn /= (2 * n + p) * (_gam(2 * n + p)**2)
# kn = 1.0 in standard form so monic is redundant. Kept for compatibility.
kn = 1.0
pp = orthopoly1d(x, w, hn, kn, wfunc=wfunc, limits=(0, 1), monic=monic,
eval_func=lambda x: eval_sh_jacobi(n, p, q, x))
return pp
# Generalized Laguerre L^(alpha)_n(x)
def la_roots(n, alpha, mu=False):
r"""Gauss-generalized Laguerre quadrature.
Computes the sample points and weights for Gauss-generalized Laguerre
quadrature. The sample points are the roots of the n-th degree generalized
Laguerre polynomial, :math:`L^{\alpha}_n(x)`. These sample points and
weights correctly integrate polynomials of degree :math:`2n - 1` or less
over the interval :math:`[0, \infty]` with weight function
:math:`f(x) = x^{\alpha} e^{-x}`.
Parameters
----------
n : int
quadrature order
alpha : float
alpha must be > -1
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
m = int(n)
if n < 1 or n != m:
raise ValueError("n must be a positive integer.")
if alpha < -1:
raise ValueError("alpha must be greater than -1.")
mu0 = cephes.gamma(alpha + 1)
if m == 1:
x = np.array([alpha+1.0], 'd')
w = np.array([mu0], 'd')
if mu:
return x, w, mu0
else:
return x, w
an_func = lambda k: 2 * k + alpha + 1
bn_func = lambda k: -np.sqrt(k * (k + alpha))
f = lambda n, x: cephes.eval_genlaguerre(n, alpha, x)
df = lambda n, x: (n*cephes.eval_genlaguerre(n, alpha, x)
- (n + alpha)*cephes.eval_genlaguerre(n-1, alpha, x))/x
return _gen_roots_and_weights(m, mu0, an_func, bn_func, f, df, False, mu)
def genlaguerre(n, alpha, monic=False):
"""Returns the nth order generalized (associated) Laguerre polynomial,
L^(alpha)_n(x), orthogonal over [0,inf) with weighting function
exp(-x) x**alpha with alpha > -1
"""
if any(alpha <= -1):
raise ValueError("alpha must be > -1")
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = la_roots(n1, alpha, mu=True)
wfunc = lambda x: exp(-x) * x**alpha
if n == 0:
x, w = [], []
hn = _gam(n + alpha + 1) / _gam(n + 1)
kn = (-1)**n / _gam(n + 1)
p = orthopoly1d(x, w, hn, kn, wfunc, (0, inf), monic,
lambda x: eval_genlaguerre(n, alpha, x))
return p
# Laguerre L_n(x)
def l_roots(n, mu=False):
r"""Gauss-Laguerre quadrature.
Computes the sample points and weights for Gauss-Laguerre quadrature.
The sample points are the roots of the n-th degree Laguerre polynomial,
:math:`L_n(x)`. These sample points and weights correctly integrate
polynomials of degree :math:`2n - 1` or less over the interval
:math:`[0, \infty]` with weight function :math:`f(x) = e^{-x}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
numpy.polynomial.laguerre.laggauss
"""
return la_roots(n, 0.0, mu=mu)
def laguerre(n, monic=False):
"""Return the nth order Laguerre polynoimal, L_n(x), orthogonal over
[0,inf) with weighting function exp(-x)
"""
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = l_roots(n1, mu=True)
if n == 0:
x, w = [], []
hn = 1.0
kn = (-1)**n / _gam(n + 1)
p = orthopoly1d(x, w, hn, kn, lambda x: exp(-x), (0, inf), monic,
lambda x: eval_laguerre(n, x))
return p
# Hermite 1 H_n(x)
def h_roots(n, mu=False):
r"""Gauss-Hermite (physicst's) quadrature.
Computes the sample points and weights for Gauss-Hermite quadrature.
The sample points are the roots of the n-th degree Hermite polynomial,
:math:`H_n(x)`. These sample points and weights correctly integrate
polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-\infty, \infty]` with weight function :math:`f(x) = e^{-x^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
Notes
-----
For small n up to 150 a modified version of the Golub-Welsch
algorithm is used. Nodes are computed from the eigenvalue
problem and improved by one step of a Newton iteration.
The weights are computed from the well-known analytical formula.
For n larger than 150 an optimal asymptotic algorithm is applied
which computes nodes and weights in a numerically stable manner.
The algorithm has linear runtime making computation for very
large n (several thousand or more) feasible.
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
numpy.polynomial.hermite.hermgauss
he_roots
References
----------
.. [townsend.trogdon.olver-2014]
Townsend, A. and Trogdon, T. and Olver, S. (2014)
*Fast computation of Gauss quadrature nodes and
weights on the whole real line*. ArXiv 1410.5286.
.. [townsend.trogdon.olver-2015]
Townsend, A. and Trogdon, T. and Olver, S. (2015)
*Fast computation of Gauss quadrature nodes and
weights on the whole real line*.
IMA Journal of Numerical Analysis
doi: 10.1093/imanum/drv002
"""
m = int(n)
if n < 1 or n != m:
raise ValueError("n must be a positive integer.")
mu0 = np.sqrt(np.pi)
if n <= 150:
an_func = lambda k: 0.0*k
bn_func = lambda k: np.sqrt(k/2.0)
f = cephes.eval_hermite
df = lambda n, x: 2.0 * n * cephes.eval_hermite(n-1, x)
return _gen_roots_and_weights(m, mu0, an_func, bn_func, f, df, True, mu)
else:
nodes, weights = _h_roots_asy(m)
if mu:
return nodes, weights, mu0
else:
return nodes, weights
def _compute_tauk(n, k, maxit=5):
"""Helper function for Tricomi initial guesses
For details, see formula 3.1 in lemma 3.1 in the
original paper.
Parameters
----------
n : int
Quadrature order
k : ndarray of type int
Index of roots :math:`\tau_k` to compute
maxit : int
Number of Newton maxit performed, the default
value of 5 is sufficient.
Returns
-------
tauk : ndarray
Roots of equation 3.1
See Also
--------
initial_nodes_a
h_roots_asy
"""
a = n % 2 - 0.5
c = (4.0*floor(n/2.0) - 4.0*k + 3.0)*pi / (4.0*floor(n/2.0) + 2.0*a + 2.0)
f = lambda x: x - sin(x) - c
df = lambda x: 1.0 - cos(x)
xi = 0.5*pi
for i in range(maxit):
xi = xi - f(xi)/df(xi)
return xi
def _initial_nodes_a(n, k):
"""Tricomi initial guesses
Computes an initial approximation to the square of the `k`-th
(positive) root :math:`x_k` of the Hermite polynomial :math:`H_n`
of order :math:`n`. The formula is the one from lemma 3.1 in the
original paper. The guesses are accurate except in the region
near :math:`\sqrt{2n + 1}`.
Parameters
----------
n : int
Quadrature order
k : ndarray of type int
Index of roots to compute
Returns
-------
xksq : ndarray
Square of the approximate roots
See Also
--------
initial_nodes
h_roots_asy
"""
tauk = _compute_tauk(n, k)
sigk = cos(0.5*tauk)**2
a = n % 2 - 0.5
nu = 4.0*floor(n/2.0) + 2.0*a + 2.0
# Initial approximation of Hermite roots (square)
xksq = nu*sigk - 1.0/(3.0*nu) * (5.0/(4.0*(1.0-sigk)**2) - 1.0/(1.0-sigk) - 0.25)
return xksq
def _initial_nodes_b(n, k):
"""Gatteschi initial guesses
Computes an initial approximation to the square of the `k`-th
(positive) root :math:`x_k` of the Hermite polynomial :math:`H_n`
of order :math:`n`. The formula is the one from lemma 3.2 in the
original paper. The guesses are accurate in the region just
below :math:`\sqrt{2n + 1}`.
Parameters
----------
n : int
Quadrature order
k : ndarray of type int
Index of roots to compute
Returns
-------
xksq : ndarray
Square of the approximate root
See Also
--------
initial_nodes
h_roots_asy
"""
a = n % 2 - 0.5
nu = 4.0*floor(n/2.0) + 2.0*a + 2.0
# Airy roots by approximation
ak = specfun.airyzo(k.max(), 1)[0][::-1]
# Initial approximation of Hermite roots (square)
xksq = (nu +
2.0**(2.0/3.0) * ak * nu**(1.0/3.0) +
1.0/5.0 * 2.0**(4.0/3.0) * ak**2 * nu**(-1.0/3.0) +
(9.0/140.0 - 12.0/175.0 * ak**3) * nu**(-1.0) +
(16.0/1575.0 * ak + 92.0/7875.0 * ak**4) * 2.0**(2.0/3.0) * nu**(-5.0/3.0) -
(15152.0/3031875.0 * ak**5 + 1088.0/121275.0 * ak**2) * 2.0**(1.0/3.0) * nu**(-7.0/3.0))
return xksq
def _initial_nodes(n):
"""Initial guesses for the Hermite roots
Computes an initial approximation to the non-negative
roots :math:`x_k` of the Hermite polynomial :math:`H_n`
of order :math:`n`. The Tricomi and Gatteschi initial
guesses are used in the region where they are accurate.
Parameters
----------
n : int
Quadrature order
Returns
-------
xk : ndarray
Approximate roots
See Also
--------
h_roots_asy
"""
# Turnover point
# linear polynomial fit to error of 10, 25, 40, ..., 1000 point rules
fit = 0.49082003*n - 4.37859653
turnover = around(fit).astype(int)
# Compute all approximations
ia = arange(1, int(floor(n*0.5)+1))
ib = ia[::-1]
xasq = _initial_nodes_a(n, ia[:turnover+1])
xbsq = _initial_nodes_b(n, ib[turnover+1:])
# Combine
iv = sqrt(hstack([xasq, xbsq]))
# Central node is always zero
if n % 2 == 1:
iv = hstack([0.0, iv])
return iv
def _pbcf(n, theta):
"""Asymptotic series expansion of parabolic cylinder function
The implementation is based on sections 3.2 and 3.3 from the
original paper. Compared to the published version this code
adds one more term to the asymptotic series. The detailed
formulas can be found at [parabolic-asymptotics]_. The evaluation
is done in a transformed variable :math:`\theta := \arccos(t)`
where :math:`t := x / \mu` and :math:`\mu := \sqrt{2n + 1}`.
Parameters
----------
n : int
Quadrature order
theta : ndarray
Transformed position variable
Returns
-------
U : ndarray
Value of the parabolic cylinder function :math:`U(a, \theta)`.
Ud : ndarray
Value of the derivative :math:`U^{\prime}(a, \theta)` of
the parabolic cylinder function.
See Also
--------
h_roots_asy
References
----------
.. [parabolic-asymptotics]
http://dlmf.nist.gov/12.10#vii
"""
st = sin(theta)
ct = cos(theta)
# http://dlmf.nist.gov/12.10#vii
mu = 2.0*n + 1.0
# http://dlmf.nist.gov/12.10#E23
eta = 0.5*theta - 0.5*st*ct
# http://dlmf.nist.gov/12.10#E39
zeta = -(3.0*eta/2.0) ** (2.0/3.0)
# http://dlmf.nist.gov/12.10#E40
phi = (-zeta / st**2) ** (0.25)
# Coefficients
# http://dlmf.nist.gov/12.10#E43
a0 = 1.0
a1 = 0.10416666666666666667
a2 = 0.08355034722222222222
a3 = 0.12822657455632716049
a4 = 0.29184902646414046425
a5 = 0.88162726744375765242
b0 = 1.0
b1 = -0.14583333333333333333
b2 = -0.09874131944444444444
b3 = -0.14331205391589506173
b4 = -0.31722720267841354810
b5 = -0.94242914795712024914
# Polynomials
# http://dlmf.nist.gov/12.10#E9
# http://dlmf.nist.gov/12.10#E10
ctp = ct ** arange(16).reshape((-1,1))
u0 = 1.0
u1 = (1.0*ctp[3,:] - 6.0*ct) / 24.0
u2 = (-9.0*ctp[4,:] + 249.0*ctp[2,:] + 145.0) / 1152.0
u3 = (-4042.0*ctp[9,:] + 18189.0*ctp[7,:] - 28287.0*ctp[5,:] - 151995.0*ctp[3,:] - 259290.0*ct) / 414720.0
u4 = (72756.0*ctp[10,:] - 321339.0*ctp[8,:] - 154982.0*ctp[6,:] + 50938215.0*ctp[4,:] + 122602962.0*ctp[2,:] + 12773113.0) / 39813120.0
u5 = (82393456.0*ctp[15,:] - 617950920.0*ctp[13,:] + 1994971575.0*ctp[11,:] - 3630137104.0*ctp[9,:] + 4433574213.0*ctp[7,:]
- 37370295816.0*ctp[5,:] - 119582875013.0*ctp[3,:] - 34009066266.0*ct) / 6688604160.0
v0 = 1.0
v1 = (1.0*ctp[3,:] + 6.0*ct) / 24.0
v2 = (15.0*ctp[4,:] - 327.0*ctp[2,:] - 143.0) / 1152.0
v3 = (-4042.0*ctp[9,:] + 18189.0*ctp[7,:] - 36387.0*ctp[5,:] + 238425.0*ctp[3,:] + 259290.0*ct) / 414720.0
v4 = (-121260.0*ctp[10,:] + 551733.0*ctp[8,:] - 151958.0*ctp[6,:] - 57484425.0*ctp[4,:] - 132752238.0*ctp[2,:] - 12118727) / 39813120.0
v5 = (82393456.0*ctp[15,:] - 617950920.0*ctp[13,:] + 2025529095.0*ctp[11,:] - 3750839308.0*ctp[9,:] + 3832454253.0*ctp[7,:]
+ 35213253348.0*ctp[5,:] + 130919230435.0*ctp[3,:] + 34009066266*ct) / 6688604160.0
# Airy Evaluation (Bi and Bip unused)
Ai, Aip, Bi, Bip = airy(mu**(4.0/6.0) * zeta)
# Prefactor for U
P = 2.0*sqrt(pi) * mu**(1.0/6.0) * phi
# Terms for U
# http://dlmf.nist.gov/12.10#E42
phip = phi ** arange(6, 31, 6).reshape((-1,1))
A0 = b0*u0
A1 = (b2*u0 + phip[0,:]*b1*u1 + phip[1,:]*b0*u2) / zeta**3
A2 = (b4*u0 + phip[0,:]*b3*u1 + phip[1,:]*b2*u2 + phip[2,:]*b1*u3 + phip[3,:]*b0*u4) / zeta**6
B0 = -(a1*u0 + phip[0,:]*a0*u1) / zeta**2
B1 = -(a3*u0 + phip[0,:]*a2*u1 + phip[1,:]*a1*u2 + phip[2,:]*a0*u3) / zeta**5
B2 = -(a5*u0 + phip[0,:]*a4*u1 + phip[1,:]*a3*u2 + phip[2,:]*a2*u3 + phip[3,:]*a1*u4 + phip[4,:]*a0*u5) / zeta**8
# U
# http://dlmf.nist.gov/12.10#E35
U = P * (Ai * (A0 + A1/mu**2.0 + A2/mu**4.0) +
Aip * (B0 + B1/mu**2.0 + B2/mu**4.0) / mu**(8.0/6.0))
# Prefactor for derivative of U
Pd = sqrt(2.0*pi) * mu**(2.0/6.0) / phi
# Terms for derivative of U
# http://dlmf.nist.gov/12.10#E46
C0 = -(b1*v0 + phip[0,:]*b0*v1) / zeta
C1 = -(b3*v0 + phip[0,:]*b2*v1 + phip[1,:]*b1*v2 + phip[2,:]*b0*v3) / zeta**4
C2 = -(b5*v0 + phip[0,:]*b4*v1 + phip[1,:]*b3*v2 + phip[2,:]*b2*v3 + phip[3,:]*b1*v4 + phip[4,:]*b0*v5) / zeta**7
D0 = a0*v0
D1 = (a2*v0 + phip[0,:]*a1*v1 + phip[1,:]*a0*v2) / zeta**3
D2 = (a4*v0 + phip[0,:]*a3*v1 + phip[1,:]*a2*v2 + phip[2,:]*a1*v3 + phip[3,:]*a0*v4) / zeta**6
# Derivative of U
# http://dlmf.nist.gov/12.10#E36
Ud = Pd * (Ai * (C0 + C1/mu**2.0 + C2/mu**4.0) / mu**(4.0/6.0) +
Aip * (D0 + D1/mu**2.0 + D2/mu**4.0))
return U, Ud
def _newton(n, x_initial, maxit=5):
"""Newton iteration for polishing the asymptotic approximation
to the zeros of the Hermite polynomials.
Parameters
----------
n : int
Quadrature order
x_initial : ndarray
Initial guesses for the roots
maxit : int
Maximal number of Newton iterations.
The default 5 is sufficient, usually
only one or two steps are needed.
Returns
-------
nodes : ndarray
Quadrature nodes
weights : ndarray
Quadrature weights
See Also
--------
h_roots_asy
"""
# Variable transformation
mu = sqrt(2.0*n + 1.0)
t = x_initial / mu
theta = arccos(t)
# Newton iteration
for i in range(maxit):
u, ud = _pbcf(n, theta)
dtheta = u / (sqrt(2.0) * mu * sin(theta) * ud)
theta = theta + dtheta
if max(abs(dtheta)) < 1e-14:
break
# Undo variable transformation
x = mu * cos(theta)
# Central node is always zero
if n % 2 == 1:
x[0] = 0.0
# Compute weights
w = exp(-x**2) / (2.0*ud**2)
return x, w
def _h_roots_asy(n):
r"""Gauss-Hermite (physicst's) quadrature for large n.
Computes the sample points and weights for Gauss-Hermite quadrature.
The sample points are the roots of the n-th degree Hermite polynomial,
:math:`H_n(x)`. These sample points and weights correctly integrate
polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-\infty, \infty]` with weight function :math:`f(x) = e^{-x^2}`.
This method relies on asymptotic expansions which work best for n > 150.
The algorithm has linear runtime making computation for very large n
feasible.
Parameters
----------
n : int
quadrature order
Returns
-------
nodes : ndarray
Quadrature nodes
weights : ndarray
Quadrature weights
See Also
--------
h_roots
References
----------
.. [townsend.trogdon.olver-2014]
Townsend, A. and Trogdon, T. and Olver, S. (2014)
*Fast computation of Gauss quadrature nodes and
weights on the whole real line*. ArXiv 1410.5286.
.. [townsend.trogdon.olver-2015]
Townsend, A. and Trogdon, T. and Olver, S. (2015)
*Fast computation of Gauss quadrature nodes and
weights on the whole real line*.
IMA Journal of Numerical Analysis
doi: 10.1093/imanum/drv002
"""
iv = _initial_nodes(n)
nodes, weights = _newton(n, iv)
# Combine with negative parts
if n % 2 == 0:
nodes = hstack([-nodes[::-1], nodes])
weights = hstack([weights[::-1], weights])
else:
nodes = hstack([-nodes[-1:0:-1], nodes])
weights = hstack([weights[-1:0:-1], weights])
# Scale weights
weights *= sqrt(pi) / sum(weights)
return nodes, weights
def hermite(n, monic=False):
"""Return the nth order Hermite polynomial, H_n(x), orthogonal over
(-inf,inf) with weighting function exp(-x**2)
"""
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = h_roots(n1, mu=True)
wfunc = lambda x: exp(-x * x)
if n == 0:
x, w = [], []
hn = 2**n * _gam(n + 1) * sqrt(pi)
kn = 2**n
p = orthopoly1d(x, w, hn, kn, wfunc, (-inf, inf), monic,
lambda x: eval_hermite(n, x))
return p
# Hermite 2 He_n(x)
def he_roots(n, mu=False):
r"""Gauss-Hermite (statistician's) quadrature.
Computes the sample points and weights for Gauss-Hermite quadrature.
The sample points are the roots of the n-th degree Hermite polynomial,
:math:`He_n(x)`. These sample points and weights correctly integrate
polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-\infty, \infty]` with weight function :math:`f(x) = e^{-(x/2)^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
Notes
-----
For small n up to 150 a modified version of the Golub-Welsch
algorithm is used. Nodes are computed from the eigenvalue
problem and improved by one step of a Newton iteration.
The weights are computed from the well-known analytical formula.
For n larger than 150 an optimal asymptotic algorithm is used
which computes nodes and weights in a numerical stable manner.
The algorithm has linear runtime making computation for very
large n (several thousand or more) feasible.
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
numpy.polynomial.hermite_e.hermegauss
"""
m = int(n)
if n < 1 or n != m:
raise ValueError("n must be a positive integer.")
mu0 = np.sqrt(2.0*np.pi)
if n <= 150:
an_func = lambda k: 0.0*k
bn_func = lambda k: np.sqrt(k)
f = cephes.eval_hermitenorm
df = lambda n, x: n * cephes.eval_hermitenorm(n-1, x)
return _gen_roots_and_weights(m, mu0, an_func, bn_func, f, df, True, mu)
else:
nodes, weights = _h_roots_asy(m)
# Transform
nodes *= sqrt(2)
weights *= sqrt(2)
if mu:
return nodes, weights, mu0
else:
return nodes, weights
def hermitenorm(n, monic=False):
"""Return the nth order normalized Hermite polynomial, He_n(x), orthogonal
over (-inf,inf) with weighting function exp(-(x/2)**2)
"""
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = he_roots(n1, mu=True)
wfunc = lambda x: exp(-x * x / 2.0)
if n == 0:
x, w = [], []
hn = sqrt(2 * pi) * _gam(n + 1)
kn = 1.0
p = orthopoly1d(x, w, hn, kn, wfunc=wfunc, limits=(-inf, inf), monic=monic,
eval_func=lambda x: eval_hermitenorm(n, x))
return p
# The remainder of the polynomials can be derived from the ones above.
# Ultraspherical (Gegenbauer) C^(alpha)_n(x)
def cg_roots(n, alpha, mu=False):
r"""Gauss-Gegenbauer quadrature.
Computes the sample points and weights for Gauss-Gegenbauer quadrature.
The sample points are the roots of the n-th degree Gegenbauer polynomial,
:math:`C^{\alpha}_n(x)`. These sample points and weights correctly
integrate polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-1, 1]` with weight function
:math:`f(x) = (1 - x^2)^{\alpha - 1/2}`.
Parameters
----------
n : int
quadrature order
alpha : float
alpha must be > -0.5
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
m = int(n)
if n < 1 or n != m:
raise ValueError("n must be a positive integer.")
if alpha < -0.5:
raise ValueError("alpha must be greater than -0.5.")
elif alpha == 0.0:
# C(n,0,x) == 0 uniformly, however, as alpha->0, C(n,alpha,x)->T(n,x)
# strictly, we should just error out here, since the roots are not
# really defined, but we used to return something useful, so let's
# keep doing so.
return t_roots(n, mu)
mu0 = np.sqrt(np.pi) * cephes.gamma(alpha + 0.5) / cephes.gamma(alpha + 1)
an_func = lambda k: 0.0 * k
bn_func = lambda k: np.sqrt(k * (k + 2 * alpha - 1)
/ (4 * (k + alpha) * (k + alpha - 1)))
f = lambda n, x: cephes.eval_gegenbauer(n, alpha, x)
df = lambda n, x: (-n*x*cephes.eval_gegenbauer(n, alpha, x)
+ (n + 2*alpha - 1)*cephes.eval_gegenbauer(n-1, alpha, x))/(1-x**2)
return _gen_roots_and_weights(m, mu0, an_func, bn_func, f, df, True, mu)
def gegenbauer(n, alpha, monic=False):
"""Return the nth order Gegenbauer (ultraspherical) polynomial,
C^(alpha)_n(x), orthogonal over [-1,1] with weighting function
(1-x**2)**(alpha-1/2) with alpha > -1/2
"""
base = jacobi(n, alpha - 0.5, alpha - 0.5, monic=monic)
if monic:
return base
# Abrahmowitz and Stegan 22.5.20
factor = (_gam(2*alpha + n) * _gam(alpha + 0.5) /
_gam(2*alpha) / _gam(alpha + 0.5 + n))
base._scale(factor)
base.__dict__['_eval_func'] = lambda x: eval_gegenbauer(float(n), alpha, x)
return base
# Chebyshev of the first kind: T_n(x) =
# n! sqrt(pi) / _gam(n+1./2)* P^(-1/2,-1/2)_n(x)
# Computed anew.
def t_roots(n, mu=False):
r"""Gauss-Chebyshev (first kind) quadrature.
Computes the sample points and weights for Gauss-Chebyshev quadrature.
The sample points are the roots of the n-th degree Chebyshev polynomial of
the first kind, :math:`T_n(x)`. These sample points and weights correctly
integrate polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-1, 1]` with weight function :math:`f(x) = 1/\sqrt{1 - x^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
numpy.polynomial.chebyshev.chebgauss
"""
m = int(n)
if n < 1 or n != m:
raise ValueError('n must be a positive integer.')
x = np.cos(np.arange(2 * m - 1, 0, -2) * pi / (2 * m))
w = np.empty_like(x)
w.fill(pi/m)
if mu:
return x, w, pi
else:
return x, w
def chebyt(n, monic=False):
"""Return nth order Chebyshev polynomial of first kind, Tn(x). Orthogonal
over [-1,1] with weight function (1-x**2)**(-1/2).
"""
if n < 0:
raise ValueError("n must be nonnegative.")
wfunc = lambda x: 1.0 / sqrt(1 - x * x)
if n == 0:
return orthopoly1d([], [], pi, 1.0, wfunc, (-1, 1), monic,
lambda x: eval_chebyt(n, x))
n1 = n
x, w, mu = t_roots(n1, mu=True)
hn = pi / 2
kn = 2**(n - 1)
p = orthopoly1d(x, w, hn, kn, wfunc, (-1, 1), monic,
lambda x: eval_chebyt(n, x))
return p
# Chebyshev of the second kind
# U_n(x) = (n+1)! sqrt(pi) / (2*_gam(n+3./2)) * P^(1/2,1/2)_n(x)
def u_roots(n, mu=False):
r"""Gauss-Chebyshev (second kind) quadrature.
Computes the sample points and weights for Gauss-Chebyshev quadrature.
The sample points are the roots of the n-th degree Chebyshev polynomial of
the second kind, :math:`U_n(x)`. These sample points and weights correctly
integrate polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-1, 1]` with weight function :math:`f(x) = \sqrt{1 - x^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
m = int(n)
if n < 1 or n != m:
raise ValueError('n must be a positive integer.')
t = np.arange(m, 0, -1) * pi / (m + 1)
x = np.cos(t)
w = pi * np.sin(t)**2 / (m + 1)
if mu:
return x, w, pi / 2
else:
return x, w
def chebyu(n, monic=False):
"""Return nth order Chebyshev polynomial of second kind, Un(x). Orthogonal
over [-1,1] with weight function (1-x**2)**(1/2).
"""
base = jacobi(n, 0.5, 0.5, monic=monic)
if monic:
return base
factor = sqrt(pi) / 2.0 * _gam(n + 2) / _gam(n + 1.5)
base._scale(factor)
return base
# Chebyshev of the first kind C_n(x)
def c_roots(n, mu=False):
r"""Gauss-Chebyshev (first kind) quadrature.
Computes the sample points and weights for Gauss-Chebyshev quadrature.
The sample points are the roots of the n-th degree Chebyshev polynomial of
the first kind, :math:`C_n(x)`. These sample points and weights correctly
integrate polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-2, 2]` with weight function :math:`f(x) = 1/\sqrt{1 - (x/2)^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
x, w, m = t_roots(n, True)
x *= 2
w *= 2
m *= 2
if mu:
return x, w, m
else:
return x, w
def chebyc(n, monic=False):
"""Return n-th order Chebyshev polynomial of first kind, :math:`C_n(x)`.
Orthogonal over :math:`[-2, 2]` with weight function
:math:`f(x) = 1/\sqrt{1 - (x/2)^2}`
"""
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = c_roots(n1, mu=True)
if n == 0:
x, w = [], []
hn = 4 * pi * ((n == 0) + 1)
kn = 1.0
p = orthopoly1d(x, w, hn, kn,
wfunc=lambda x: 1.0 / sqrt(1 - x * x / 4.0),
limits=(-2, 2), monic=monic)
if not monic:
p._scale(2.0 / p(2))
p.__dict__['_eval_func'] = lambda x: eval_chebyc(n, x)
return p
# Chebyshev of the second kind S_n(x)
def s_roots(n, mu=False):
r"""Gauss-Chebyshev (second kind) quadrature.
Computes the sample points and weights for Gauss-Chebyshev quadrature.
The sample points are the roots of the n-th degree Chebyshev polynomial of
the second kind, :math:`S_n(x)`. These sample points and weights correctly
integrate polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-2, 2]` with weight function :math:`f(x) = \sqrt{1 - (x/2)^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
x, w, m = u_roots(n, True)
x *= 2
w *= 2
m *= 2
if mu:
return x, w, m
else:
return x, w
def chebys(n, monic=False):
r"""Return nth order Chebyshev polynomial of second kind, :math:`S_n(x)`.
Orthogonal over :math:`[-2, 2]` with weight function
:math:`f(x) = \sqrt{1 - (x/2)^2}`.
"""
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = s_roots(n1, mu=True)
if n == 0:
x, w = [], []
hn = pi
kn = 1.0
p = orthopoly1d(x, w, hn, kn,
wfunc=lambda x: sqrt(1 - x * x / 4.0),
limits=(-2, 2), monic=monic)
if not monic:
factor = (n + 1.0) / p(2)
p._scale(factor)
p.__dict__['_eval_func'] = lambda x: eval_chebys(n, x)
return p
# Shifted Chebyshev of the first kind T^*_n(x)
def ts_roots(n, mu=False):
r"""Gauss-Chebyshev (first kind, shifted) quadrature.
Computes the sample points and weights for Gauss-Chebyshev quadrature.
The sample points are the roots of the n-th degree shifted Chebyshev
polynomial of the first kind, :math:`T_n(x)`. These sample points and
weights correctly integrate polynomials of degree :math:`2n - 1` or less
over the interval :math:`[0, 1]` with weight function
:math:`f(x) = 1/\sqrt{x - x^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
xw = t_roots(n, mu)
return ((xw[0] + 1) / 2,) + xw[1:]
def sh_chebyt(n, monic=False):
"""Return nth order shifted Chebyshev polynomial of first kind, Tn(x).
Orthogonal over [0,1] with weight function (x-x**2)**(-1/2).
"""
base = sh_jacobi(n, 0.0, 0.5, monic=monic)
if monic:
return base
if n > 0:
factor = 4**n / 2.0
else:
factor = 1.0
base._scale(factor)
return base
# Shifted Chebyshev of the second kind U^*_n(x)
def us_roots(n, mu=False):
r"""Gauss-Chebyshev (second kind, shifted) quadrature.
Computes the sample points and weights for Gauss-Chebyshev quadrature.
The sample points are the roots of the n-th degree shifted Chebyshev
polynomial of the second kind, :math:`U_n(x)`. These sample points and
weights correctly integrate polynomials of degree :math:`2n - 1` or less
over the interval :math:`[0, 1]` with weight function
:math:`f(x) = \sqrt{x - x^2}`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
x, w, m = u_roots(n, True)
x = (x + 1) / 2
m_us = cephes.beta(1.5, 1.5)
w *= m_us / m
if mu:
return x, w, m_us
else:
return x, w
def sh_chebyu(n, monic=False):
"""Return nth order shifted Chebyshev polynomial of second kind, Un(x).
Orthogonal over [0,1] with weight function (x-x**2)**(1/2).
"""
base = sh_jacobi(n, 2.0, 1.5, monic=monic)
if monic:
return base
factor = 4**n
base._scale(factor)
return base
# Legendre
def p_roots(n, mu=False):
r"""Gauss-Legendre quadrature.
Computes the sample points and weights for Gauss-Legendre quadrature.
The sample points are the roots of the n-th degree Legendre polynomial
:math:`P_n(x)`. These sample points and weights correctly integrate
polynomials of degree :math:`2n - 1` or less over the interval
:math:`[-1, 1]` with weight function :math:`f(x) = 1.0`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
numpy.polynomial.legendre.leggauss
"""
m = int(n)
if n < 1 or n != m:
raise ValueError("n must be a positive integer.")
mu0 = 2.0
an_func = lambda k: 0.0 * k
bn_func = lambda k: k * np.sqrt(1.0 / (4 * k * k - 1))
f = cephes.eval_legendre
df = lambda n, x: (-n*x*cephes.eval_legendre(n, x)
+ n*cephes.eval_legendre(n-1, x))/(1-x**2)
return _gen_roots_and_weights(m, mu0, an_func, bn_func, f, df, True, mu)
def legendre(n, monic=False):
"""
Legendre polynomial coefficients
Returns the nth-order Legendre polynomial, P_n(x), orthogonal over
[-1, 1] with weight function 1.
Parameters
----------
n
Order of the polynomial
monic : bool, optional
If True, output is a monic polynomial (normalized so the leading
coefficient is 1). Default is False.
Returns
-------
P : orthopoly1d
The Legendre polynomial object
Examples
--------
Generate the 3rd-order Legendre polynomial 1/2*(5x^3 + 0x^2 - 3x + 0):
>>> from scipy.special import legendre
>>> legendre(3)
poly1d([ 2.5, 0. , -1.5, 0. ])
"""
if n < 0:
raise ValueError("n must be nonnegative.")
if n == 0:
n1 = n + 1
else:
n1 = n
x, w, mu0 = p_roots(n1, mu=True)
if n == 0:
x, w = [], []
hn = 2.0 / (2 * n + 1)
kn = _gam(2 * n + 1) / _gam(n + 1)**2 / 2.0**n
p = orthopoly1d(x, w, hn, kn, wfunc=lambda x: 1.0, limits=(-1, 1),
monic=monic, eval_func=lambda x: eval_legendre(n, x))
return p
# Shifted Legendre P^*_n(x)
def ps_roots(n, mu=False):
r"""Gauss-Legendre (shifted) quadrature.
Computes the sample points and weights for Gauss-Legendre quadrature.
The sample points are the roots of the n-th degree shifted Legendre
polynomial :math:`P^*_n(x)`. These sample points and weights correctly
integrate polynomials of degree :math:`2n - 1` or less over the interval
:math:`[0, 1]` with weight function :math:`f(x) = 1.0`.
Parameters
----------
n : int
quadrature order
mu : bool, optional
If True, return the sum of the weights, optional.
Returns
-------
x : ndarray
Sample points
w : ndarray
Weights
mu : float
Sum of the weights
See Also
--------
scipy.integrate.quadrature
scipy.integrate.fixed_quad
"""
x, w = p_roots(n)
x = (x + 1) / 2
w /= 2
if mu:
return x, w, 1.0
else:
return x, w
def sh_legendre(n, monic=False):
"""Returns the nth order shifted Legendre polynomial, P^*_n(x), orthogonal
over [0,1] with weighting function 1.
"""
if n < 0:
raise ValueError("n must be nonnegative.")
wfunc = lambda x: 0.0 * x + 1.0
if n == 0:
return orthopoly1d([], [], 1.0, 1.0, wfunc, (0, 1), monic,
lambda x: eval_sh_legendre(n, x))
x, w, mu0 = ps_roots(n, mu=True)
hn = 1.0 / (2 * n + 1.0)
kn = _gam(2 * n + 1) / _gam(n + 1)**2
p = orthopoly1d(x, w, hn, kn, wfunc, limits=(0, 1), monic=monic,
eval_func=lambda x: eval_sh_legendre(n, x))
return p
# -----------------------------------------------------------------------------
# Vectorized functions for evaluation
# -----------------------------------------------------------------------------
from ._ufuncs import (binom, eval_jacobi, eval_sh_jacobi, eval_gegenbauer,
eval_chebyt, eval_chebyu, eval_chebys, eval_chebyc,
eval_sh_chebyt, eval_sh_chebyu, eval_legendre,
eval_sh_legendre, eval_genlaguerre, eval_laguerre,
eval_hermite, eval_hermitenorm)
| [
"matchoc@hotmail.com"
] | matchoc@hotmail.com |
d31766103313defb7724d65c537da1ef76e932b5 | b2b7f549c8cdd632fbc2b6083e64e7c446365134 | /assignment3/assignment3_3.py | ced1cde6405f911f839318ddc43e5cb093dbc69c | [] | no_license | incubus9/anwala.github.io | 54709ecbd05be083222af6f0e4a369dcf44b8b0c | 50ba51e02ec08d43b49d8a40088e4a7ca977541b | refs/heads/master | 2021-09-13T12:49:47.688796 | 2018-04-30T01:57:40 | 2018-04-30T01:57:40 | 118,710,825 | 0 | 0 | null | 2018-01-24T04:16:10 | 2018-01-24T04:16:10 | null | UTF-8 | Python | false | false | 1,633 | py | import os, os.path
import re
from collections import Counter
wanted = 'NCAA'
cnt = Counter()
print(len([name for name in os.listdir('.') if os.path.isfile(name)]))
DIR = '/home/ryan/Desktop/CS432/Assignment3/html_complete/'
dirpath = '/home/david/Desktop/CS432/Assignment3/html_complete/'
print(len([name for name in os.listdir(DIR) if os.path.isfile(os.path.join(DIR, name))]))
for file in os.listdir(DIR):
if file.endswith(".txt"):
print(file,file=open('html_text.txt','a'))
with open('html_text.txt') as f:
text = f.read().splitlines()
for name in text:
filename=DIR+name
print(filename)
if 'NCAA' in open(filename).read():
print("true")
words = re.findall('\w+',open(filename).read().lower())
for word in words:
if word in wanted:
cnt[word] += 1
print(cnt)
import glob
def word_frequency(fileobj, words):
ct = Counter(dict((w, 0) for w in words))
file_words = (word for line in fileobj for word in line.split())
filtered_words = (word for word in file_words if word in words)
return Counter(filtered_words)
def count_words_in_dir(dirpath, words, action=None):
for filepath in glob.iglob(os.path.join(dirpath, '*.txt')):
with open(filepath) as f:
ct = word_frequency(f, words)
if action:
action(filepath, ct)
def print_summary(filepath, ct):
words = sorted(ct.keys())
counts = [str(ct[k]) for k in words]
print('{0}\n{1}\n{2}\n\n'.format(
filepath,
', '.join(words),
', '.join(counts)))
words = set(['basketball', 'NBA', 'NCAA'])
count_words_in_dir('./', words, action=print_summary)
| [
"noreply@github.com"
] | incubus9.noreply@github.com |
79fa52f649b0f4d801629e7b6885808e9b3d3de4 | e41b33472f12b9394aa7e4ec6ec6e69869db567a | /nablapps/interactive/migrations/0021_codegolf_result_unique.py | ffe8784abbc3306613a5fabb6bcf0ffe5a8a5939 | [
"MIT"
] | permissive | Nabla-NTNU/nablaweb | 0d4d0f8143aa05a28f54c1446e10ab429bd0914d | 5661cbea1011f8851a244ae3d72351fce647123f | refs/heads/master | 2023-07-08T01:56:26.629362 | 2023-06-26T15:20:50 | 2023-06-26T15:20:50 | 213,379,303 | 21 | 7 | MIT | 2023-08-31T18:09:34 | 2019-10-07T12:38:11 | Python | UTF-8 | Python | false | false | 839 | py | # Generated by Django 3.1.13 on 2021-11-20 16:53
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("interactive", "0020_result_submitted_at"),
]
operations = [
migrations.AlterField(
model_name="result",
name="submitted_at",
field=models.DateTimeField(
default=django.utils.timezone.now,
help_text="The time that the user first submitted code with this score (worse submissions do not update this field)",
),
),
migrations.AddConstraint(
model_name="result",
constraint=models.UniqueConstraint(
fields=("task", "user"), name="code_golf_result_unique_task_user"
),
),
]
| [
"aesvandal@gmail.com"
] | aesvandal@gmail.com |
e128093d53a1c732b1e5d9baa1629d3ab06deba4 | 5ae8b50108c5de4ad922658a466b96c98dbb90e8 | /2020-eis-tracing/fig_params.py | 50b7720b54e48c8f6f6631af3b008f9136f08489 | [] | no_license | dstansby/publication-code | 3e997cbd6197e554fbdca10ecf0c17e9b5e86cb0 | 111c069ece3582eec71145353943cf1a54e3c6ae | refs/heads/master | 2021-05-26T06:01:52.343135 | 2020-09-29T13:20:57 | 2020-09-29T13:20:57 | 127,780,322 | 4 | 4 | null | null | null | null | UTF-8 | Python | false | false | 55 | py | figwidth = 2 * 3.464567 # 88mm in inches
fontsize = 12 | [
"dstansby@gmail.com"
] | dstansby@gmail.com |
ccc3f79e8ea0be4b226986c63bee5424eff22036 | 0b76e97751ef17f311518e5e57c2d1c93fecbdde | /miniproject/api/organization/models.py | 5620b61daa230249a5074cd7298ef08581c6d54d | [
"MIT"
] | permissive | dandy7373/HR_web | 9b2bdaf06eca8ba261e539c2b3e0176538dcdfd1 | 65dd80159c7e3113961d55ef126b7df75c7bda13 | refs/heads/main | 2023-03-17T11:04:12.162620 | 2021-03-13T11:19:40 | 2021-03-13T11:19:40 | 328,761,851 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,224 | py | from djongo.models import Model, CharField, DateField, ObjectIdField, IntegerField, TextField, BooleanField, DateTimeField,ArrayField,EmailField
from django.utils import timezone
# Create your models here.
class LeavesToBeApproved(Model):
from_date=CharField()
from_email=CharField()
to=CharField()
to_date=CharField()
reason=CharField(max_length=500)
completed=CharField()
class Meta:
abstract= True
class Employees(Model):
id=CharField()
class Meta:
abstract=True
class WorkAssigned(Model):
description=CharField()
due_date=CharField()
start_date=CharField()
by=CharField()
completed=CharField()
class Meta:
abstract=True
class UserOrganization(Model):
_id=ObjectIdField()
name_org=CharField(max_length=25)
email=EmailField(max_length=25)
name= CharField(max_length=25)
tagline=CharField(max_length=50)
Leaves_to_be_approved=ArrayField(model_container=LeavesToBeApproved)
work_assigned=ArrayField(model_container=WorkAssigned)
password=CharField(max_length=10)
phone_number=CharField(max_length=10)
employees=ArrayField(model_container=Employees)
class Meta:
db_table='Organization'
| [
"daniel.shamirdavid@outlook.com"
] | daniel.shamirdavid@outlook.com |
90d3f6f3d591fc6d0866886da0e77dce787f80ba | 1944e53fcf1d74fe0c113ed27a826061c0e121c9 | /Ninja/playground.py | 104a58be154e916374960112476bcd1236ae0417 | [
"MIT"
] | permissive | SashaKrykun/Python-Study | 642600b5416a9b58de356ff84bd58e991bc28727 | f7c10c41eec58287aa2669d3e16326a52fc91bab | refs/heads/master | 2022-01-12T10:20:45.046817 | 2019-07-15T02:46:29 | 2019-07-15T02:46:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,802 | py | class TreeNode:
def __init__(self, data=None):
self.left = None
self.right = None
self.data = data
class LinkedListNode:
def __init__(self, data=None):
self.data = data
self.next = None
def binary_search(root_node, target):
while(root_node.left or root_node.right):
if root_node.data == target:
return True
elif root_node.data < target:
root_node = root_node.right
else:
root_node = root_node.left
return False
def binary_search(search_list, target):
left_index = 0
right_index = len(list) - 1
while left_index < right_index:
mid = (left_index + right_index) / 2
if target == search_list[mid]:
return True
elif target < search_list[mid]:
right_index = mid - 1
else:
left_index = mid + 1
return False
def bfs(tree_node, target):
q = []
q.append(tree_node)
while q:
current = q.popleft()
if not current:
continue
if current.data == target:
return True
q.append(current.left)
q.append(current.right)
return False
def permute(self, n):
self.result = []
self.permute_helper([], n)
return self.result
def permute_helper(self, current_result, n):
if len(current_result) == n:
self.result.append(current_result)
return
cannot_permute_R = len(current_result) >= 2 and current_result[-1] == current_result[-2] == 'R'
cannot_permute_B = len(current_result) >= 2 and current_result[-1] == current_result[-2] == 'B'
if not cannot_permute_R:
self.permute_helper(current_result + ['R'], n)
if not cannot_permute_B:
self.permute_helper(current_result + ['B'], n)
| [
"cyandterry@hotmail.com"
] | cyandterry@hotmail.com |
34779c95fdbc58fb7070c826513e74731d46dc5f | 993ef8924418866f932396a58e3ad0c2a940ddd3 | /Production/python/Run2017F-UL2017-v1/MET_cff.py | d0b3dfc8db5ef4693dafb26771f7b5aabac1d511 | [] | no_license | TreeMaker/TreeMaker | 48d81f6c95a17828dbb599d29c15137cd6ef009a | 15dd7fe9e9e6f97d9e52614c900c27d200a6c45f | refs/heads/Run2_UL | 2023-07-07T15:04:56.672709 | 2023-07-03T16:43:17 | 2023-07-03T16:43:17 | 29,192,343 | 16 | 92 | null | 2023-07-03T16:43:28 | 2015-01-13T13:59:30 | Python | UTF-8 | Python | false | false | 301,819 | py | import FWCore.ParameterSet.Config as cms
maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
readFiles = cms.untracked.vstring()
secFiles = cms.untracked.vstring()
source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
readFiles.extend( [
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/46ED485D-DC02-264B-8FA5-91F8CC1ED782.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EB3A00FE-21CB-CE43-8DD2-666681D74228.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DA5041C9-AEE9-C640-8A75-825AFDA5A64D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C6C2DC8C-C785-5840-8002-64C76BD3141F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2EEDF82B-7B44-7F48-83A8-882145F658CC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/F88EC2B0-63A8-564F-84AD-FDC53CD5F631.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/104BDE15-FE93-8844-9055-5281F3138F44.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/96F1D7C7-B967-9F47-8F38-43213C402A75.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/62EB1F23-6B9D-0A47-B701-15AC348D745D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C6A3711C-7C11-364C-89C1-79EC9ABCB6C6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6955EC1A-89C8-3B4F-9294-02BBADACAAB2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A92E5F3B-F955-B144-9D94-5351EC3AA2F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/887F73EA-903D-C041-8C7D-FFE6F918BC65.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B15AAE4D-8849-2F45-AB7C-28B0A63350F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EAFFF90B-01B8-D148-A6DA-0BF1B57FE5EC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9933EB30-26B0-7142-AE25-99649CB9B2D2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B5F35C1C-5F3D-D240-9FC8-285FC9F16D1C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CC6F708C-2B27-4C40-BCD2-C0C21DF35F5C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/72092DB6-33C0-E44E-B28E-605E79ABA439.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/69E30E63-86AC-2047-AB28-473E33D3FE6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C730097D-A509-9742-9D7C-06723E60BAC7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FC163518-FF4E-4C4D-97C4-BAF53B6EFB02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F6F168A7-D586-1E45-8823-DD0A61A13C97.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6C2CF654-3820-F648-841A-D72BD95AEC03.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/468ABBB3-433E-6C46-936E-29974C58A430.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/77537703-506C-AB48-B143-9381F738B2D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/29A4737D-BADF-2142-9B5D-3FCA2830D58F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6A453BD3-45E9-774E-9411-BDF8ABE01262.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F2AF1545-F82A-484E-9A98-BBC6A8582000.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/28F7DF0E-4DAB-1842-85D1-D5057A137400.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8DD8DC26-6F69-B345-9C0B-547D6D3E8621.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3A6A45B4-A161-A544-BAFA-0239BBF3FD20.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/22F2725D-3419-134F-B232-14AF67B4FB24.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EDDCC2B8-1BC0-0B42-B2B5-3379224597C6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1ADA9B8D-A11A-474F-A100-142E497076F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/899D5A85-A91B-6A4B-B158-B9F82531F14D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6B7D8D1C-E31A-D04E-A45B-9B48CEB376AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/25A780FB-33CD-DB4D-B7FF-32ABC154071E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/111D583C-965E-1043-A2A2-F5D75C302F12.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1293FE50-0500-C643-AFF9-87109D5A30E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/28181179-8826-0D47-9611-F30A3339A715.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C24CB881-37BC-6A47-A2CE-FECCEAE0C929.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/5487B3CC-8E87-C144-B176-6CE0389EC316.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/28D0C120-8DC4-8C45-BB39-CDD9021B7EC2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6E3C8C0B-A95E-0042-8339-232F4B3A5A03.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/CDEF1E87-82CD-CE42-A983-2E77B593F7A8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/EFF8F6AB-5E13-F541-B06D-0BA4D1DB364A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C9DB4C1D-317F-8540-9506-F4189A982585.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AA49B8F2-DDA4-9C4C-8D23-2B18893506FC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C027B92C-5183-A446-AE88-74DBD5F37624.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/7C1AD388-45C2-E84A-9C0F-0A9692557BB1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C133228F-A10C-0A4C-AE71-EA56CAA0089E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/B34B02E8-8BC4-3C48-BBD0-C00922506710.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/FC920496-F8FE-744E-990A-E4EC512AE34D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/373D33EA-5FA1-614C-894F-99009B6BBD11.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/62128BC8-7DE5-0D47-B0C7-0736AA86B334.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/23782D38-8E35-5B4C-892C-3FDF19E7A5E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/30524B40-C7D6-7A44-8CA0-E3AC10F5D464.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/94C19543-9AEC-DD48-BF27-73E5FC245FE7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/B35A5A5E-C369-EF4C-87FD-41E0073C0E30.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/317E7E7F-D032-7B40-9ECF-B819F368CFF6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/90509792-F025-3B44-9837-0BE42D66DA0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/02F0AB2E-0274-A343-BF15-23731D2119A8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/46FC402E-C8CE-5744-9101-E8E80BD853AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AF3EB336-1C1A-8B45-819D-AB41C067E1AB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/996C0B2D-F3D2-1543-BF3E-CAA6A4BFB7EE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E4D3ECE3-BD6E-BF41-8BB9-D6969AD3BBCB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/8836F74D-0200-3748-95F8-0CA4FB353FDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/339A8AB3-DC4E-C74D-A823-CECB6EC94467.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/59E294E4-75D8-AA49-B2EB-02E466AAE5F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/DF492C7A-B3C5-5743-9201-B6B4DB6DAD2B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D1589BDD-035C-8E47-8AB4-1525BED69FA8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2AF9C87D-892B-0645-BFE6-38CC136CB355.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AB7DDF3C-3D35-F446-91F3-9D1F8350529F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EB0DDD2D-09C9-8B4A-B9F3-D609451334CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A6627F85-01E8-564B-A300-1B2BA94383E5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/7E67C4E0-9904-0149-A0D5-BB433B7A1DE2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6AC570D0-16A4-3A4E-95D7-0826F607156E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C44C886B-4F44-304A-B09D-D8CD4080F21E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1CCE9D1E-D3C6-A348-8891-D08BA73C4137.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AF15E6E6-0C97-EE42-874F-631AF994648E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/F011EF8F-1F8C-1C48-B68F-6469F0851D86.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D78C2FDD-5056-1C42-B987-51E4B1EB030C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6EC9F42D-F3CC-E543-9910-7B63CB2F60D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/976CDE80-6FFA-9245-89D0-E3A94069B8DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/25A46235-831B-7B40-82B5-B4688D404B6C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DDB99DA2-BC05-B341-8950-E53DAF426BA9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/011B8FC6-076D-9243-9D3F-E4DB5837704F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0AFBDCEE-C2C6-2E4D-A3F5-D74C59AF72C7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/88FE8158-BC66-0E48-9CEC-5BB977C4267C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BCB0D24C-1DA9-4943-9AB3-C88D1CAA16EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0B0C0CD1-46E5-1746-B0E0-080C5329BE51.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D786A452-964C-A54E-BDE9-C578530122F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6D8AB245-05FC-5F4C-9412-8D578C6F4F94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/9ABC8C7C-66B3-5741-B8F8-2F7C95F6BF1F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/27B1861F-6456-014F-9CCE-8F0CF2BBC2AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F2CEA5CC-FBBB-AC40-871A-83EA935C3EC4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/FED65000-1929-0544-A9B8-A0B16B6F07B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/99542029-BBAC-F645-95E1-9A888D2719A7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/B682F493-3520-0344-BC0D-A1D7C9157622.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/FE5DAC78-CADB-444E-81A7-AC6C9FB9B15C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/C0B28AF6-2992-AF49-809A-F1E367C11A02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/DC3EC309-2A79-7742-8228-10AF6EA1D76C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/595BAEE0-58FC-7F4C-9954-4C90204C7DAA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/34AFDCBE-82FB-AA4F-863E-23F3BF35A11A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6E6EF07A-094D-8046-9828-01730CE95A39.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/D81C1D75-9167-F042-8B40-D9901134D562.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4BD258EB-4E11-2A4B-A571-C1ECF36EA803.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6F741838-969A-D64D-8F51-C98F65623978.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/79691360-B391-FE45-B8EB-648A85C7D431.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/384EB28C-7185-F440-A719-7CA891905491.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6FD6E68C-A2AE-BF4B-9EA9-351DA8211299.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/4FEB0581-E9C1-4C40-87BA-CC258E82F280.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AA71AEE1-10D1-C842-9AB9-ED455449E88B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/65FE493F-5B5B-844C-B166-D375431156DC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/EA8C218A-8420-B341-9EC6-F7681BD4A69A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/C7DBB5D8-4805-F645-9242-2ABABC00A472.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9D520C56-4471-6744-967C-04F6A2AD91A8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/5BC592F7-A5DD-FA4F-8097-C2B955F524B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D02E56A0-2FF3-BE43-B227-4BAE84E6A991.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F1C87787-E435-2640-99AF-31EFC686A4C0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DCC33ACB-E810-A640-B9C3-B601259F0665.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DB0B63A3-6103-6449-9087-4A5B1B577A69.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/74A19EDF-BCD2-6244-A02D-F55D3E957C6E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/22A8CCB9-AB50-9044-A74B-DE62D77C33CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C5F9965A-C42F-A044-B809-39E6EE5B2A9C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2E2D1665-EAF9-F94A-965E-6D309E73718F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/077523F6-8954-A04F-A643-031E9F067437.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/80081F45-6A8F-3C41-9041-6A3347DACD51.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3A9C44B1-EBAA-C14B-8D8D-81F8549E511D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/35C89C9E-7202-5440-9AFC-3EC07AC5C6A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4A3BECED-2557-E040-9CE6-F900AB7E4315.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/4B37DBE6-91EF-3842-AFFB-47F64A9BA8B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D5C3EA7F-7EBE-1544-950A-059A5821342A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/37A6C390-CA39-8542-BBBE-E053C0C8B7D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/5477DCFA-DC11-D445-9B8B-95AAD1CCA009.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A78923EA-B399-F842-8390-9AA2380C1703.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6195C060-C9F9-684B-BB2A-DB2EB3F6E214.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/B27BD293-7750-4A4D-A0BC-6CC6282ECF33.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/57A28BE3-3614-5C4D-BA46-7E9412AD6446.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1E2D2C00-6B60-154A-A4DA-1CF8403BF8CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/06EAEA8D-1C2E-0449-8C01-6D4E79531191.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/87542271-2A55-8B4A-B6DF-72C89BD04C4F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3D8B7C41-43EF-5C41-8D6F-D8F31D2D6B33.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9D80C0B1-98D0-8143-88FA-58BC954A7C6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B6DE9E61-A7A6-E14F-8519-1D001FD83654.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4D896DC3-B225-3043-9F49-82FF10DB4E62.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9C3880FF-8332-734F-9F1B-734A1F22BC33.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/903306BB-8466-9543-90D1-8A08B892DB8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6BE5292D-2111-4B40-A756-A33E71B3F7A8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5DE0A6A2-B975-8B41-9CD3-AA8D75B20CDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0073F9A9-3061-1C4D-A303-6EA95525B886.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8961C4A8-DB1E-C241-8541-7767CFB7DB55.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2EC545ED-60EA-DA44-9398-DEFDB01CE570.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D9407B2F-C08B-B442-B02A-2B5C9F5BA124.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/61B1E532-B708-8642-8157-20A72166C99C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FA775556-16A3-9640-BE2A-6488700BDFD5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F728265F-1ED5-4C47-B316-831CA99DB4E7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C4B839BA-D7F8-9A4A-9D62-D427019540C5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F6239DD5-F0B6-B443-A8A0-9628C839BAEE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A8918351-2EDF-4E4E-A66D-AC2AA05954D5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/4AA8B6A1-6C60-7145-AA89-A986EE0DD9B4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A25E59F1-CF48-4541-8B92-EFD83A7747EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/AEBF3648-3411-9D47-9528-6E95E7B6608E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EB8E69E8-CB35-EB47-9A95-F5320950B8DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2C73C722-670D-D14A-AEFE-04D986110B9D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/36621C31-089B-3C42-99A2-0FAB623096E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E921F142-D753-9744-9B94-4B9938055A10.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4493E4BA-AAE8-7848-B759-9411E7053EBD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/57C34935-D242-324D-926B-82083BE6BCAC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/65DDFFED-C20E-B544-9BC6-09E00D03ACA2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2C865A16-64A2-BF46-9C97-92B44BC24030.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FC4205A8-8511-7241-9192-F0ACAA6B0C5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/78730FC3-B18F-4A4F-A56B-95B49142731A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/126F2DA8-C053-1740-BD05-60654260DE84.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/CBE89597-DF26-9F45-86E0-935701E3CA5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7253DABC-39DF-B144-BA46-B6D1BF97AAE1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/22871E4C-3493-C745-AF27-C223B073ED7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/E22A12C8-7A91-E94D-AF0D-E9175735EB09.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9FA69C58-F019-D045-9AC0-0F18193E992C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0322B083-AF6F-5849-A470-FEC4A6544554.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/676963FE-2877-0A4A-B05F-907DA5F4FD41.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B9E01545-7D08-6140-8F7B-7D05A9230795.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3BB310B5-DB86-104B-911B-2B1FB9F62773.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F44187F5-94B8-194A-913E-C140B58E3997.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/92BC87AC-67B3-5142-97F6-EAD503830B3D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F67C1CD7-0186-FA44-9708-BD9E6784B6ED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3DAFA6EA-B020-5C4A-9EA3-BC94A7FC4A91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AE8624E3-81EF-3B45-831F-C1008F43D090.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BBD8B823-D849-1C40-9EED-D5DBDE84757A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B80D80F5-D5B3-1842-8602-85ABFE5F0083.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/304C80CB-A8E2-0747-96E5-A405B061718F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/3F6CDBC2-4009-814F-B1BA-027D040E9F0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/587A7817-ECAB-2947-95D8-99B279E6DD96.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/720B9174-EF3A-2A40-B1DD-B4C2EC458385.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/48ED1083-71FE-3C43-AAA7-4194398A8AF3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/996E8B88-16CE-1049-BD4B-BFCFEB2B98B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/575B20C1-8493-9243-B8AA-9284F7376A83.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/FC3BF17F-4D9C-0945-AAFE-D7011AF4CFF1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/103E1463-10F6-044B-8560-A71AB670655C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A41EFE5D-F285-774F-AC78-A8EE079D8B4B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/D324F8C3-F070-234F-83DD-1D05932E6EC2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/BA387FBD-688E-E445-B50E-BEA541173C0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/B7E9996C-2360-FE47-AABA-096C28DADD3B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/CCD6DEB5-7669-1047-A406-F84C89B055C0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/399E7E4C-94DE-9B40-805E-640E1C9AF6E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AA159E06-C53F-3942-B2EB-FE70BCEDA3C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/DE743E2C-69C1-2141-8DC1-F33736E7CDDD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6E5E855A-163B-3947-B51B-DABD308877A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/CD7AF883-A09A-3A42-9902-FAB486B0CF4D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/2FD6AC84-93D0-8241-AD2D-EF0A605F9C0F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D270FC4A-4BDB-9145-8425-6697D990941D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/E2FFEDAC-3D5B-DA46-9516-5D90894D1359.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/E2C92D2B-13DD-324E-BCC2-749925DDEE9B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/447A0461-E83A-6142-B0FD-880D8EA01B44.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C0965060-F560-B74E-948F-5C4CBAF8A372.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/2A1295A5-49BC-D944-A59B-CCF7D024BB9E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D4A862AF-56FC-6C42-9E3C-775C8909ED5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/D3C99A98-4F4C-5C49-9488-1391799F2680.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/BB300CC4-E99B-DE43-9010-05A3E5577D43.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BB5A94CE-830E-A649-B639-AB3CF124B633.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/268543FF-E4B2-1042-BB17-C038A0D7763B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/224B5A99-4D0C-C34D-A73B-9194EF9323A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5109AFEA-B97C-754C-A966-3A228C824FAF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B168D1E8-31C6-4E4A-A970-F1311F0027D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8B5B6DE0-5A49-BB41-97CF-36FFAF58CA6D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/861AA312-3607-1440-82F1-601BC8CFE92D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0479E54C-AC8C-0B4E-A779-FF1E8A539ED4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7E280F83-457F-2548-B77F-A18CBC29E2EC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/91E3B281-35AC-5D44-8874-AFDB0E6B9B97.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/75BFCC7F-84FB-564A-9697-AAB7A54D81B9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/30D99082-A35A-334E-8F58-A6C46B49AAC9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9ABD4F88-E3E1-A248-804D-DC2EB9F31D4D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A24C46C9-DB62-FE4E-9445-B53B5E9C5AB1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F2910EEF-4001-4143-A52F-62C33964E7E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C948C3A1-BE8B-2E45-9990-81D46E662FDA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/48359581-BC76-5C46-A90C-4BC955BDF11F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/8C4AD873-76AB-1A46-B1A7-2CB1C761A784.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F9914F4F-67E6-D347-9F41-C55FAB4B173E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1961C6CB-0C32-AA4F-8A1C-E1B537741F94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F55C588A-0D74-A447-B635-189E2BFF5F93.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/59493CEE-8954-2F41-9D99-22E6A9E54F5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/73F6B0B0-D3B5-8644-A379-B31FAE2F254B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1D2F87F4-D4EA-6A4F-B17A-E24F358B592A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3376E804-1670-5941-B9E0-7EE51AD7B042.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B85A173A-DF96-E54E-8AA5-20CFAE461744.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/14565A6C-6309-4C48-A465-63E504B7BACF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/97A5A87C-5732-CF4C-9393-EC5197CBF518.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/EC732E51-EA9A-4E4E-9836-47D898F17CC6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4C6DEDB8-4969-0745-A503-AC2CFDCE8FE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/661D5D23-33CD-6B41-B507-2D03939FE0CB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6A245B5E-8855-244E-8EB4-9879606B8034.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B189D752-FAA2-3B40-8CE8-D0AD2CDB3D2B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A3788D87-D006-D44F-B828-63C0579CD0CC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2C35E2B0-016E-9D4F-B719-93128DDD0332.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/60C74CBA-BCF7-5144-AD0F-9566425D5923.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F4F0AC0F-D185-504D-A8C9-71761A2C4E4C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B7275C16-B9A6-CE43-972B-07DC2795670A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/24A70BA7-7160-CF4B-8D1B-05C0213ED714.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/704BEB04-F165-414D-9B9A-7178B23A9134.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CD464206-74F3-0147-8B02-3E48D9C056AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1D6A8026-3020-3B40-ABA8-47E10AEF2DC3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/5819A295-CD80-6F4F-89E3-C5DAA4B4DF1A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/E3B7D47B-B470-934A-BDD0-8B7F6540329C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1FA8854A-6606-DF49-BC99-F874AB19C74D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A2621843-FFD0-EF41-93C6-2594143297B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0839E99C-DB39-8147-AE0E-84251BFB50A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/99A2EB64-7C8F-D443-9E62-A7959D1FC14D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/20E131FF-2D98-B646-BBC8-5C0970616C3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/89B01EF7-BBBF-8B4E-8CA3-B903D5571F9A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F29C2CFF-0538-1E43-8798-870B41E1BDDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0F3774FB-3384-4844-9703-FBED83560E29.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/092AD201-5DA2-0648-9F27-7060A5CF740D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BFB58A1A-84A2-8B4F-842C-8F205AD0231A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/E71BE642-B57A-A747-924E-D8E1CDD5C704.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/97345821-F711-FE49-8F4C-B416FF389602.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/51F8E696-FAA9-894A-966B-989F31B59017.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/252C95B8-E6A1-8A4F-8DCF-FAFC20DABC2B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C180C78F-F97B-E340-9CFD-A645B496DCBE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/213377C5-3FB3-6C4B-90DD-53914810EA14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3C2E614E-E184-A846-AA9D-E286204CE1E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D8A0EB63-A659-654A-AD3D-80BCAFB4690D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C09E8D52-B86C-7A48-B412-3119C758DC70.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/E89CE48B-9DE4-5C48-B955-06CFA105AA4B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0577A552-6ADE-034B-9061-64750F96F538.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/C9830E18-A04B-F847-9706-31EA654F27D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F64294AA-74BC-D24D-B15A-715BC8813B55.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E20DB748-1C55-4147-ADBB-234A66968FA4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ADA7699F-7090-4344-A3A3-C3FF000DCFE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7CF23222-54D0-1940-A9F2-FBFC166816DF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EF18911C-4AB8-1541-BB25-823FE589A194.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/36C24001-04F2-DB4F-9C54-F91C0E53C451.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C1998B0F-D82F-694D-9B68-EDCCF8ED1CDC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5DB39867-F911-854A-A137-A225473F4B75.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6FCF990B-E437-9F49-8085-32C038E72107.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/A7970CE8-4813-BD4B-B780-1C002A95655E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E96ED5B5-190D-0D49-8E55-ECB64FC0A252.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B08FB518-B488-FA44-9493-15575D06E88A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/2887E18B-2958-9B4B-BED8-090F1419E0F3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/55CDBFE1-37FF-BE4E-8DEF-B5BC30D0E62F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A42BAE2B-7A53-D540-95C0-A9A05052FBB9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/E6F05577-9C6D-5546-B12E-72A3A63979DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/8CFBDE65-3F34-F244-84BF-B5DC782E7921.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F72531F8-87EB-4045-9B84-BBAB181203DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/27F9E4C2-FD4F-1F46-B20A-2E7C51B89D5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/DE46C862-EEE5-CD45-ACC5-D2999227B532.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/85E6B1DC-BF52-484F-83E2-E91EF0397D35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/733F2E2F-78C8-1041-B4BA-D7844271FDB0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/3A04E0AF-88CF-0743-805E-50A55749B962.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/57DAB912-B8ED-4D49-896F-62CEB9D69A76.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/5FC9DB1F-DB91-4247-9B1E-3C644541E0C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2BE31478-0BB6-2940-8C1F-20F391519F0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B884BEB5-0B26-3E43-A975-A0C2F7A37827.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C4EEF617-BE3B-204B-AD99-5B0CBE6AB3A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FD579784-1F15-3340-9326-F2D3D9DD0713.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D6441383-49FA-B641-9616-AF9B6C842BC3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/7530743B-3508-A64E-A4E1-A3914862B48C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1DD10FCE-D830-634A-8FE8-DE04C474018F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C7DC8154-B0D5-3346-99FB-43079FB2443E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/06E10896-6131-5F48-99DA-9F3BB873D756.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/A5E75599-40BE-404B-8483-F22290F84446.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D87FDEF5-7CDD-884C-B316-1A1B34BD6A0F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3F94FF9F-A227-9742-B060-5170FF18DD81.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1D822D9E-49B3-CE4D-9526-C926F8639188.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F83C465C-0F88-3A46-A012-9351A5516905.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/61C26BCD-6EA0-6744-AAB0-041FAB9C2A31.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/6DE63443-B27E-E440-8025-6358B424A48C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/F7C7FD2A-2A47-E54D-B0E3-31E73E0627D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/2F4468EA-1FFE-7E42-A649-BB12EB331951.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8E50F3BE-5B8A-6647-9FE9-3554C485D93C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/F5F53502-E8A2-0A41-883C-0D655B56C61C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/9AA87D37-725A-2E4B-A474-A66C0BCBEAA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/3C2DA15B-D4F2-004E-88FB-8C4F27832480.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/BA79D4EE-E18A-E44C-A356-232456CDD714.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/32F60618-624C-D648-B357-5D7A144F43A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/36C79C68-0403-D24F-9048-1CAD339CD329.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CE4590A2-7716-F84A-A3EE-4C2F1C928CE4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/846F397E-3325-7341-8E04-1E46DC2B0345.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/65915B15-8F1E-6747-B6CD-0CF554868D82.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C156A0D5-530D-264F-91B7-5661E47D94A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7012A2AC-92C9-A144-9DF2-31075FCA6BB7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F1B7D990-4D6A-8C47-96AD-290EB4DF4AF1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8A514042-7E76-FA47-8843-1FCFE790CBD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/66D58805-FCB0-FE40-BBA7-D07E62753AFD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/853635F7-EBC8-6C41-A1CC-91C1A37A096E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0C71CBAF-3A15-2E4B-9972-17C54A751485.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4B33472C-8BBE-AE45-85AF-1B6F6D83D1B1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DDB6F3D3-DCCA-854B-A64C-65852B1B4EAA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/857E8877-DD4A-7B40-8E47-3725D22D74C2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C223CE35-E997-F347-B93C-BECA99E263F5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9D505B7C-3D9E-FA46-A80A-9AABC9CD4686.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CF37560B-F7D8-9E4F-8805-12FE4F743EAF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/581E3ED3-27B3-9B4C-B927-6CA85BF7984A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BF008746-7B50-7846-BD67-F9FD94638577.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5BFFCE5E-3E34-6B44-BFE1-65114E249D5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FD83215E-541F-964D-8AF5-CA6047287712.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/17B38687-916F-C646-9D50-0773E5E01767.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CC11E061-20BC-C840-88DA-3D378F47CD5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/15854051-A162-D342-8C00-594C475A6214.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CBBD1AD7-246F-7640-8AF8-162637B69D57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/3B74C60D-52A9-5445-835D-E5098BBE7AD4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A95E54B1-65F0-8E4E-A992-58196A367764.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2D793F68-AA44-404E-B503-3813222BB726.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/973979BE-A328-3040-8DC5-C0A7F277B815.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1C09F15E-C487-2A49-86B3-25796B135C3C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/5CA4A756-2D38-564C-861D-1854765AD8E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/90F968F9-8869-CB46-972E-B3BF3FE030B9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/38705D1A-4BD7-3D4B-91EE-3FAB4D78585F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A51F69B5-0B10-D845-B7C5-E477BFAE6F46.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A1E1BAD0-8BB5-C34F-9D0A-1C3AC984DC39.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/0BFAAD24-1B86-7845-98DE-B99E2A74F044.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/8302516E-A540-9942-9DE4-C445F32A2EF1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/68D25087-DC3D-604B-809D-F028EA8520ED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4AF8BAF3-AE9A-994B-8731-C69970178793.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A20A22B7-44E8-FA4F-B34C-4C440BA848BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5E9522AB-9AB1-6145-A95C-D602122726EB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1B217AF0-0B24-F643-BD23-5547AE8B7003.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E886162E-C725-3540-8A2B-871816657F07.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/561BD1A6-1FB2-F243-B230-D742AA5F925F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B5F9357D-EADB-D640-9768-999A0B8C178C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/105DBA81-A4DD-E841-9AE9-348961A6F30D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/07171087-A808-BB4B-A536-57E548D87367.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7B89705F-2C7E-AB46-8518-3970A19DE408.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4EF0449E-5400-9442-8E22-5CFCE88F29D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/203D04A3-38F6-A648-84F3-45BF2193ECD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3E584B90-4145-1F42-B047-855EBC4260D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DF59EC44-22E9-A549-9936-2D9ACFEE8915.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/098E50C4-7F18-0E45-9844-00503FA39649.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DB634DC0-B8BE-4542-8349-2262C161A913.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7FA52C2A-873E-B04C-9AA2-A9227E8D39F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E9DB568A-050C-0941-A02A-D75902BD29EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/60D2A38F-AD58-DC4E-A445-95A0D8A8C9D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DDEB7653-F7E5-8A43-B1BB-C20D1251C5C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6AF08AC4-294E-1341-A00F-6C8D799DBCE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D74FC7C6-FF32-DA49-A77C-29BFE945723C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C67D19D8-6ACD-764A-9BB6-EE6F1E03DFD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0A936567-4690-E942-971D-F7222C8180E4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BE031F01-22B0-D740-8223-17969187D2C5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D06B5780-52A3-2947-9AF3-3A7C6016B3DF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EE6FBB04-3552-2145-826A-3B9FCBBCCBA0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6F8BD4C4-BDF8-654B-B64F-A7ED3E805FA3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BC27685C-2659-4447-9B2A-0BF6CFBA092F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E7C72510-E728-384E-B1E5-37D05405CE48.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FFF80A14-E973-1D43-8441-FC08D8ED4E5A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6321E94F-93FD-7948-9D33-EF2A155AD154.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C866686D-5F68-9040-9D1A-8E89E359246D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D52BD4AE-CDBE-D444-9905-B61260F2027F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/43DD3D55-7242-224C-ADF2-95E969F55F25.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C7C244CA-2BDF-0F4E-96E4-CB7F975D52E5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C96C7360-B959-C247-9C05-E43EAC672D2D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B9FD3CE2-6DAE-8A4F-BA33-8F0E50CA0791.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AF592044-59E4-DE44-88D3-6EDC2CFC666C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/29C28CE9-043B-8D44-92CE-05BF88E6B44E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/535401C3-2909-134E-A629-872C841D1663.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2E788DAE-9CEA-5A4B-B871-C7A5BAF412BB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E44B154B-9558-9341-BFD7-C8397E57B4AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/90E36E77-BE9C-8E40-A603-2037298B9B62.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/53EB3E67-98DB-6E49-8CE6-03B903D9FDFE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EA351796-1466-E446-8C34-57E384E6AE70.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E818F99B-C23A-F140-A333-F1BF8576B47A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/28C52270-F478-764B-8C26-9395FFAD9FEE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/35599DD5-2C0E-C84A-B5BB-073A9D3B17BB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D6C2EC2B-DD02-5647-A009-80D94B7F8652.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F62D9063-4614-4346-AF9C-226EFF45C8D6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/BE860A71-8D36-BC46-826D-2B594768C5B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/27A18B31-E540-DB4B-8924-AB62F6065383.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0DF548AE-C03D-4D43-833C-55BA4ECDF6F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5217C45A-C8ED-7649-824F-CDA82A55A9F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/7ABA5831-5263-7243-B32E-5231F7CBFC3A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/47C2EA80-BCED-A04C-9080-6E517422E075.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/83EAB9B9-B557-FD4F-A0C0-02236FE5FDEF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B2FC1602-ABFC-C748-B22D-2A1BA58909FD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C98EA178-AC92-3C4C-9D77-22F8F21DDDF6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ABB77967-C8E3-6544-AE30-E70203765118.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/FE8D40DE-48A5-7F45-8EEA-B59E653D3DDA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F6675E2C-907A-3D4C-BEA8-DEEF0BF22B00.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/9A4E7C49-5806-C643-8F48-200E0641254D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/2DCE427A-486A-E64F-889B-BEDFADDF6670.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6225836D-534B-574C-AF69-AEB99292DF8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/278BFEF9-7EDE-254D-90E6-AEFB60B71CAC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0BFDF356-7A15-3048-93C6-47040B2F55D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/E5DAD8F7-043C-404F-8595-C6C7F19B9575.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/15E86483-EFBD-0F47-9FEB-C571153548F2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C8ED8069-61F9-5848-ADC7-93F853F6020E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6073E6E0-0649-984D-ADB1-344B0AEBD131.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A8BC056F-B2CE-0B40-80AC-B653E8C93BBC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1359FB93-282F-5C48-B3CD-7286A38B70D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C8447BF-C3DA-6340-821A-24B75AC852B3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B3286991-103F-BB41-87C0-F3FCD5D5920B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6EE5BE01-EA79-3640-AECA-69E982261E7F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/8A08149C-A4BF-5047-AB1F-DAE507809D5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/8FDFCC26-1752-4D4D-804E-4EB5AE22DF3C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/811FA4E0-0789-E94B-9267-3BA3CACD092C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/757DFBD4-FDE4-AF44-A144-161FF14043DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/349A495F-A364-B242-AB4F-6D733B125341.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/DC59AF47-A60A-8D4C-950D-5671277520C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1750361A-5076-FC4D-B434-CFB404E10F5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F56CDF79-CB1B-684B-9963-57F1E36EDA2B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/77A77990-370F-F444-9036-452F0DAF3C28.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2CB101B2-376E-3F4A-AF07-766F1C51838C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F2B5630C-8F45-D444-81E5-7968F9F6C183.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/49538F9F-6139-9242-AC34-0461907A72CC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/27BC6150-52CD-6344-BC14-4DF358680073.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A9AD5688-09C7-FF4B-ABED-C6153C3911A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6620000D-21CB-BD47-B548-9A1C55F02F7A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/094A3EB1-111C-AA44-9E3D-C27123196A0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DC422058-75EB-A44D-8101-9C0D40D83276.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0C9C0EB2-0C9F-DC4E-BB44-27C9275C56E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1156EBD5-A729-944F-9384-D303059F5C00.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9FC7D0E9-13F1-0D4A-B26F-A969C6769410.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/969BEE11-2C46-5845-97D8-DD4D2B388804.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/53F1635B-AB96-8E45-B7D8-19ECE059989E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FCCEC80F-2ED5-1D41-9591-9E0F1FB871D9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/86770D22-77F0-FE4E-90FE-E969AE7833BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D5929C04-3DAC-924B-A651-052AEE328AA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A1621F0B-11C1-3B48-AAE7-24ED7F1DDD75.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4CA977D5-0099-B148-A98A-A17D71C39900.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8103226E-48B8-2A41-8E87-51C803318DDE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/431F32E9-5001-5A41-967A-D7889F140278.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6B78D3D1-4397-C848-9024-1CE439D6D428.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/85B1B0D1-1841-764F-BAD9-3008EA5549E5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/1C880035-19D9-CD46-89F9-3B3BA9FFBBB4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C2F5119D-4448-2942-946F-A71A4B453078.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/03A7494D-C313-9440-AA0A-819FC05556A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2FC5AB3E-12D1-4642-BC21-6454916AB186.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8268C57D-1241-1447-860E-25EDB7447831.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/325356BD-1F25-0944-8769-154EEFA2B7B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/633A7581-D56A-AA46-99CD-A2B4D1A335A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7547B8D1-AFB5-E644-AFF6-B96E272BCC85.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8A63F1C2-74B7-1D40-9060-AEDB63BF7A7B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5F03AB5B-CFEB-8347-8018-608DC993D412.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/1B988AA0-FF2A-A749-871B-FD9A0F671B45.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C3A5A753-583B-FF4C-9CCC-F1565FF81DEE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/82F956CC-ECC9-774B-93DD-D3C7E8CAAA25.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A95C80BA-9C20-634B-A6C1-AAC5A4B1DF93.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/78E6E714-9D24-D947-9949-15AFB60A5743.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/ABDF99D6-475A-684D-9AAA-96DE10592422.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F7796882-272B-2246-B48C-4E676E98495B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/1B89CA36-CB92-1C4D-A3A7-C07C3C292ED0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0216B0C5-1111-6448-AF40-6B77ACEA0BD0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CF655072-28A0-D849-BE8B-B35FF711E054.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9AB9BD13-991A-F848-88DB-06B4CE76FD7A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/03DEAC91-304E-1445-8D9C-A4060A45DBC3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4C4D1EE7-9247-4E4C-866E-19E2FCB5BFC8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/08392EA5-96D8-874A-9162-5C18CD848645.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4B975894-B529-5846-B092-1ECD3C7C3D37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8593E179-6C93-184C-9C0D-79888F6F07A7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6CEB5373-D898-4F41-ABDA-06F509DF2194.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6F1E23C2-E045-4C4F-991A-54A513DA1281.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C5DD4B42-76F8-2F43-B41A-27FD33DCC9E1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FEA6DFF0-F6F8-0E45-854A-B50018A850BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B0143057-832C-1141-BBEF-5D762283C1F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/25906C3C-ECD7-0F47-A7B7-7FB74203962E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EC754F4F-4C87-7446-8E7B-69C7B204E2C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/BBB86BED-0E96-144F-AFC7-0302BDE74B80.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C27D7171-F5FC-414C-BEE5-E4001ACD485F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C4DDD0C8-EE1A-E246-BA5E-0591AD856F8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/FBCE7E92-6EED-8343-8716-8429199D4202.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/E57BB31E-887E-FC49-A614-718A263E645D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0E2F4D7B-64C2-334E-AF58-B5EEF9864F58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/84B32C90-7FEC-B840-AFD5-6349ED738F8C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/4DEB1B52-CC09-6041-B897-F70DB438E43F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/58D03CAD-CF7E-5C45-967A-E380F29D50B4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3FDF23A8-A9D7-7B46-9960-C00DBD2C2D42.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/8258AD43-C6DD-C245-9CD8-CDC92669225E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C9480D10-33AE-4D42-A219-18F2B1487E7E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/BA23CE29-2E58-8043-B3B8-2B49C9BEB2C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0F9BE92E-547F-3F4C-91F2-DA5DC91638D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2DED89F4-2EDC-F147-A39F-3EA97DEF437D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C8899DDF-4C68-F74B-9D3D-3B8190575402.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B8FDEFED-D58D-AE49-A18B-AD3D48AEDE31.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1697BCC4-C90A-0742-9737-062A321DC94C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/314F5692-8054-F043-949A-A92B38A75DAC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0FB3DD4D-F2E4-FB48-ADAA-48D48C163139.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/4AB21DCC-4CAF-024C-A713-56B3466B9F36.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6C6D8A9D-6340-5348-A415-3BA3E20D5C88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6DCCC900-9162-7042-9F96-0ACDBFC29842.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/31ED86AD-F8E6-5A43-AA6F-4669939753EE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/9407C964-D429-BA47-BE64-8880E6B1ACCA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2A21AB92-90D2-5A46-B277-EC73E3DF63D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D094300B-9896-454D-A75C-D97CBE591A47.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D2F66A07-497A-B048-8F16-89EB33731ADF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6A86141F-A706-5749-B781-379090AD46F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/DA1DC88A-0DBB-FC4F-9B1B-22A80DD0EC8C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/7B491B6D-B095-AD4A-B353-9DD2F91C1F6D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6B4D125E-E59E-3547-8C31-5335A256C337.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/51E5FA43-2EDE-0548-BB75-41FF9C5EF79C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/72BE42FC-84DB-804E-B858-A90B638271BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D7ABB8B0-5147-224C-B74A-B37EED053E53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8F4EF9EE-DEB0-5046-B6E4-0AD37CE5246F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9C4B6915-089B-0749-ACAC-5811A2558BAF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AA7640C4-A774-5044-8560-7D0B2D03BAB3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/37A68331-B4C4-2042-9235-9E1135E41582.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B6FB5DE3-BD4B-9F42-A88B-815DF629687E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/10EB13A0-B5E8-5C41-AA49-CA40BA28049D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2ADB20E0-B449-8345-A224-424F640C0E61.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E25D7AC5-519B-B34E-99F8-47BC933B1A02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7B862B0D-E4C4-794E-ADA9-E8024AC35B36.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9BC3294A-7E6D-DD4F-BB13-7316F1A976E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F5973748-C643-7A4E-A819-ED85DD2FAFD1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3DC9D111-3892-864F-97D2-82C2944040C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/AB125CFD-A2C7-044A-9D99-78E6E4327313.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6B575EA4-2FEB-8E4E-A53E-CB871A7484D2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C797B81B-4116-6348-A9D7-113FFC28A7ED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3CA6ECEA-6D76-5442-9804-FF009C3D7CD4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/FC037539-0FE3-C24C-80ED-44C3040712CE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F9DE276A-B1D2-4040-8AF7-EEECEC033FDA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6477003D-8AB7-FB4E-9C21-32BAA548BFC0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/01BA4CA0-827F-E24C-9501-DA3D77513B07.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/7CB9833F-0FC6-6E43-81D0-1A22AC9E59A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B6EE5132-FC63-E840-BDB8-6C413C00A06B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0F7C35BB-1132-F04F-BB42-BE8764E267C5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/62776AFF-4248-F243-B0DD-3ADAC6EA0A9D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A3D66CF4-A1D2-AD4B-BA3D-3FBCEAD2FCFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/DCB84545-D150-2748-A54E-37B96DF3F206.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/BF7BBBCE-06C7-A349-B595-370E63221883.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CFF43D32-459E-FA4C-80E2-619946A9E62C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6B739C73-3D88-F742-8486-5200EF5A7E0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6517F18E-EBAD-764D-B2EB-BF9FC328927C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/779F3E4D-5EA0-F747-BBA0-9A11E7A57857.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/DCB5BC15-CBDD-0D45-89CD-66B43DC973A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/26A937EC-7FF1-AB47-A708-1D84EF023677.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A1691786-9E02-CC43-9471-790D9DE37216.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6D449F50-9144-D54B-AC0C-EF7161693346.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A95599E7-0B54-FA4B-88AE-AC1EC56DFD6F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8233D38E-3A8C-D948-BA8F-530840F2F32E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BAB6721F-C09D-8C47-9C46-B0405DF32E5C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/E04C80C2-EE16-1A47-94EF-46B43D359E2D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/EC3C33B5-9DC3-3941-927D-17CDB775BDAC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/87B2C034-8782-FC4C-973B-A62931C1FFB9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D68DDAD0-7B14-8949-A943-C6A2E2B0F4AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8918E36C-EF84-6145-82B5-03E26ADE1072.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E588FF97-13DB-584C-B58E-6F9C3355EB62.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5FC834B6-E0CB-7744-88F9-88D45B690A61.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6568C56A-A0A7-F345-B8FA-D831E9E7B59E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B03B001C-3FAF-064A-8399-251CA28056E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/62C6EDE1-99EA-5449-A6D6-24BB02E49BED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/4A889881-0B45-634E-8486-FAC923019D40.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/009F183B-0750-404D-A8AB-B8267055644C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/90C21F11-09BD-4045-AB07-C395B7EAC03B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/42B19EA3-05A4-F94D-9AA4-5752F3D773AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6823387A-6E54-2F4A-A77C-6D228E02E440.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/64D4D6B5-16AE-8943-A3AA-97336A60F3B1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0AF7AAF0-AA82-E145-9348-55873C9C4289.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C92DC28-C894-FC4B-8B11-9972269D794E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/8B31CF80-3BE9-8D4E-A2F4-E1680EE69CD1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0093072B-D1E9-D74B-B69B-429E64CB9B88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/4E5145AC-1C8B-A544-8705-D2B536FC8971.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A4AAEEAB-1FFE-2C43-8C11-D12FE5747FEE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4BA38AC7-DF09-2F44-A220-42AD2170A0AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F8B36330-059E-B64A-92BD-2DD7DD103F41.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/686793BA-13D5-9848-9154-24F7EFDB1C71.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/552C4F5B-4949-4044-8947-531685045658.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AFFAF33E-A746-3F43-84B6-A1559CCC8AA1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E0808AE6-7350-7541-AFD9-BFBA3E5AEC8F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8D88D926-D503-054C-89FD-23FC2CA8D46D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9E4BE50F-4D3C-3B4B-AA01-6354D3056142.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1310AD60-33E1-4647-A2AB-468BF94AA3B4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/692094E1-5C65-3948-BD8E-8099ECA7D748.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C016DE01-0021-EE40-B0BF-0F052E552561.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/52A6352C-B9D4-504A-9418-F893766E0594.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/75E65D79-F04B-5A4B-B11F-83B862072973.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FB79E89B-1962-E64C-BF0D-A2DDE2C57413.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/198F76EB-FCFA-7248-AE8E-37746917B034.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CC60E3E7-6C9A-F04D-8C6D-01C061A169D2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6A6717CC-F755-B04A-B0FB-42210F3C49FF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2FBF64C8-FCF4-BA43-8087-63D6968A8DA5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/55AA7197-B399-4149-BA96-2EB087E6A8E5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F994665F-A07E-DE4C-83CA-C4C13CB437D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/028A3E80-B62C-144C-856E-2D8E4EB42019.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4E8CB3DE-A759-6B4B-9AD5-B22586B2B68B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4881DEFC-734B-AE43-BBD8-0CC4ACE60455.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/13D3D202-B861-3948-8EE0-50283A22F963.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/519CF961-6689-764B-B5F3-536F94245A27.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5FA487D1-A78C-B54A-96FC-805076F39B35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/69A7F6E0-56ED-F14A-BAF5-3AADED316169.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/60E79801-BAEE-3941-9BE2-0F53B8CC3116.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1BFCD455-2677-A74D-B4AD-762EFDA97E44.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7CDF6CC1-7787-AD48-8DB6-F380EC63AB81.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7FFE9CA2-DECF-AB47-9EAE-04A46669AEC1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6710F9B2-EA12-E14F-809D-D643BC73A645.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4CDFAFA9-02AF-E143-8646-89B8E328C275.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/06292786-4765-C04A-A917-A52BF8A6BFA4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/99AD2945-A702-B540-84EF-0F8456B884AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A1A33825-347D-E64A-A528-1AAC1ED68BC4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/64B19A9B-2765-234C-B2DA-6C35C7D5F9AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A46A2D19-4D99-EB4A-8050-98D5D2646F8D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/20138708-4E3E-C944-B539-50F27087C975.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B2EC850A-4873-8149-B8A1-56296FD5576E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F821A1A9-E532-2448-93B3-6C818563AB0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/24B3D78C-E359-9940-BAED-8B80ED791C2A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0FB26FBA-F85A-4144-8B5A-3C8582B71845.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F54E2F96-85B0-E848-80B4-4C7C852D7B79.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/D5C45796-6DE5-0C4C-B209-5C1B0AABD18D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9AC00DB1-53FE-5941-8DCC-BCBF9D12CCAB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/913C6D12-E773-854B-B152-9558159EF1D1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/51C6A50F-D211-454C-8E67-F843193E0CD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F878DCA5-00EC-4F40-9B26-65A57D701A37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/57A29E8A-D99B-9C43-9962-710196FE3577.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CFF5BC45-843C-0144-971B-432DC56E70F7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4FACE54E-8799-D44B-B88E-89EB7D27E4B0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5798E097-8FEA-7A42-9F5A-4F600C30E916.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4B37ABB0-F226-7C41-9E88-3C6E837D45A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/01C95F0E-C1F9-E34F-8768-221D067F0F0E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D4CFAAD9-AC6E-064B-807C-72E91C1A738D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/88CCEA67-8DD6-3049-B381-493F408D5629.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2FB4546B-6C5A-F34C-9E55-FE751945FF32.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AA731843-D53C-1B47-BDE6-4073EF539883.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C50E5FDC-3B78-F549-9BD4-5A2E272C6B8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C0EEB1C2-C616-AB4F-9B32-0837F4CD894C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/121D3CF5-8BB5-DB44-9C70-AEA09F9E7168.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/575F021C-0762-3B47-8DA4-AF610DECBFAD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DF12E153-075E-5B4B-8B90-56E7A23F13CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/21F2B780-CD9E-E449-A8C1-D6B38A5113FA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F8960177-2522-4442-B479-E3ECF197FD53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CB137907-9E3A-4E49-B006-256AC2D20955.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/81030688-BB05-494E-8F9F-8D04D9ECFF52.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/882222D2-37E9-E248-9D4D-9C627AC938C0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/49E6D8F4-3FFE-A14A-8138-FA381615FF29.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5F0C8342-23A5-014D-87BA-DE0600BBE4BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C94FED25-D6B4-614B-9C20-8803C590C347.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A5B0F05E-1595-AF49-8A15-42317260D85D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/549BA382-27AC-5A41-BB02-9381E7623B98.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0FAAF649-807B-114C-92B4-FEE8F892C109.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EEA8EDDA-0323-0F40-B81B-8ACD6D30A706.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/673F12D9-3919-3342-BDBF-CD51ACA9FF15.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FD75A450-3DC4-1140-B026-47E6F9E27023.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/39F42BB3-2884-AC43-B56B-6F56D1B56674.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6AF944F8-EB30-6544-8285-54922C71C968.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C0CF24E8-BA60-F64D-A8D8-AFDEB53A01B4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/925839D7-5F6F-7E41-A8F3-AC335BD2CAFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/73EA0A15-B5A4-8B43-9DAE-4287147CC87D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/462C3266-6769-D646-BED3-FF895B6A7A2B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C1B150BE-FF07-4C48-957C-27D026E213C6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EAF17D9F-8C18-E447-8285-35C250F02689.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/8E919DB4-0E17-6241-B7E7-5E75C36F1559.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/2E3E0845-BEE5-CB4D-8146-DA566DACE9B6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5051B0D3-1B94-BA45-BA95-D231DECE06FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5F470E0A-BF1F-894A-8B24-D0346EB5260F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/63DF8A90-582A-E341-913C-D5DE2BF2CC35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4785D602-103A-7346-AE55-67E63C0E31EE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/691E9443-1159-CE41-856E-33DF10A2BF5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C6A9B70B-0BE0-0340-907F-46197153C957.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1582F57C-6625-E144-B7F3-51A05798AA69.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BA00B439-0284-6746-9926-FBB24868DCE9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0F83D82F-073F-3F44-B5D7-BBC4A736353D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0B8B41AF-0225-AA42-BE5B-B02824270BD1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/B967B089-854B-1D44-AB75-4145150EA53C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/95E29C53-5798-CB49-96C1-A631D3C99D87.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4F5D6767-6A17-6746-A247-E69D00C49887.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A32F6482-9F9F-6142-80C8-D0576D4EA318.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E0D9E8ED-3E2D-9F44-9A74-D701060039AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/57A20DA6-C731-2042-BCAE-7FCBD8BDD8F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9F82935E-4C13-1742-BFA7-C4236A5BB46A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F6F2A8AB-6DD2-2144-8986-579A972A642D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D7DD2ACB-013C-4047-9279-7A6C3C4ACB36.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7D1D2924-E605-E049-AB02-651629319104.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F1AD518D-16F9-2B4B-B2AC-A32412BCF8E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/518FA709-273F-474D-BF73-FA32E15A6322.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1AABEC64-CE80-2347-8A2A-4CC001D4210F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/936F5523-78AE-2747-A09B-815DB6097B57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E57E1556-9EDE-C84C-859F-6F7D31B4CDC0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/19AF848F-2519-254E-BF28-6142216BD8DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/02F40BF0-7BEC-5C48-AA30-63A29CE6B23C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/243FF50F-60E4-4E48-BB09-4764B43CB600.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DC59DE03-E3D8-674F-92D6-2ACE2296400B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5F27AE8E-8CB0-FB4F-9E2F-9D53601D35C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DE07183A-9FB5-A449-9F2C-EFF4A2540CAE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A7EBF625-8460-F34D-BC3C-F659BF190185.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/174B17A2-EFFC-2D48-A826-432277301291.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F5893238-9A1D-D946-BABF-7EBADE30653F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/394D4EE9-D5C6-1E42-BA9B-488AD0292D72.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/06CE4A29-2070-D649-BF02-94E26ABFF768.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/31D985DB-7BDA-4640-A817-AE11CF9DB2D9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EEC57715-CC55-F64F-BE98-324B30E068C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F4A0A531-3795-3442-A6E4-32813F583E43.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/38592918-701C-934F-BEC1-02ED8BBF5728.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/41EE5759-739C-3E4A-9CDB-44D4E48EDB09.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/241714C3-8866-2A4F-9FC8-4F9C6E824143.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/03A1C235-F04C-2B42-9BBA-96784F17D625.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/EA203C9A-40E0-7C43-B28C-82833AA90E89.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CEFBD5ED-E88A-414C-81E4-AB84465435F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1A6C79EF-E2A6-2247-A071-7B1B284AB365.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C23B4E82-58B6-7D47-A118-A4227B6B5E1B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4730C5CF-2A7B-A14D-80D1-57190BABA82C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C1473BAC-7F56-0445-873D-77058C8DAC35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F4BA90E7-EE87-644F-A72D-6E07BF0C4BB2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5477E161-2D0A-3740-879F-3363BEC50C0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E3C795A5-6527-704A-9CB2-D72FBEBFA8E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8767D0BC-4FE5-8E44-AA64-BAD0DDFF75FE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0E815CFA-8F77-8D4F-A308-2797B976262C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7D1D516B-9806-7A49-96E7-6D5AEA0B62A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/88D469B8-4DF6-2647-9E13-C33415DF672C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/606F61BC-0736-4244-B885-CF8B48E5FC4D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/334A069D-4984-684B-AF53-779260F5B6BE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A279E1BA-55C8-224B-9CE9-A80439BCAB1C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DE99817E-0C4F-0B45-A7A2-846A22C0017F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5F025C14-4AF2-B843-BE72-56CC2B7588F2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CD50CE60-6B27-2E41-8DD1-6353C58DDB56.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CE0336D0-D2DA-7C47-B874-78558E4A3699.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/48AF1FE9-768C-6C40-90A2-8E94908BCA43.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/52E63EE1-C490-2841-96DD-C5564BD735BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E06370CA-2765-144E-BED6-7341FB26E6A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/379B312A-11E6-5E44-B8F9-F93CC7FECE88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/34D10223-DBC8-8A41-8F01-E85D674B8FB8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/05C5CF88-4571-A444-85E1-F0BA2E752791.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5D030396-E7C1-6E44-90F0-4EA52CC3E07A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/29CE915F-F012-1942-BA0D-D655A3145F62.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CAFBDF66-B98A-C74A-AB86-F628C02F2FD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/83323313-4F9B-1941-9F4B-262851ACFDF8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AB20CF83-C81E-0B40-814C-25C4274DC0F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7F3E6C0F-CC58-6645-AE49-D3CD4CBADC89.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2B4DB9A3-88BE-2C40-BB9F-A39C47FFB902.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E6F382EF-139C-254B-836E-22870C44F2BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2D17F233-6B10-4A4F-87F0-2A4EA9FFC386.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C7931B4-C123-E949-B866-6BAB400238E7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/6AF9748B-9EC1-3340-9F37-8B5383351D92.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F9105F89-CBBC-874D-8C04-C0AF80CC3B95.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C8287C77-3D8C-7A4B-A33C-AEB12C0FD238.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E9273654-E216-9C4D-B42F-31F9F64FA57F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/67FE5A77-F6F5-1C41-BD3C-B214523BA404.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/459F6945-DE89-6945-9DEC-3758CA812B84.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C3A00751-DBEC-6346-8EC1-81AEBE0848A7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BE860B5D-CD9C-F44B-9BF1-86BDCDB333B4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4804BA4D-2B4B-AD4D-B477-976C3EB7107C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E2CB4B5-0C02-1D42-B907-46AD3CD9CF10.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6EA9042A-BC16-174B-BEF9-8C9584BF8C9A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/536AFA37-5AEC-E842-8B1A-DE6C3E92AAE8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D28EC692-1E4D-774C-A58C-EAC2C65BE749.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/4F64C968-5760-A441-9F02-AE3178E66EFD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/605ED300-E8AE-254B-A5CE-4895724B9F4B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/575718A3-B99D-8240-8F38-CFA494DB8CED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/BE4C171B-8305-9844-87A7-012E4CE1823E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/6F061AF4-8D93-2646-8840-AD6362A4FC87.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/BEEDE314-66CC-EC49-95DE-7DCA122B004F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E9C6CF68-639A-EE49-96EC-E466CBF414A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/43FC73ED-4276-1241-8D5F-3448E2A16F8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ED9CD916-775A-814E-BD67-009C0BCB59AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/16949197-9A69-F64B-8A52-7F727C26A42A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/22B19DC4-F877-C94E-A745-B0A8E5A94C89.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F25CB0AF-3153-FD40-9B29-A4431AA0622E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/761BC939-EC45-284C-94AD-F38051EF3C0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D475E2C5-1C08-324F-90E7-8A276D644164.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5D34E61D-713D-464A-B746-D9473240CB97.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8514B565-A22A-1D47-B7CF-A402DD88A4E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7DDD2EB7-606F-6F43-A23C-0B57C64F5BB3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/9E7EA690-30F5-144C-B219-44476096A39F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0A09CAAF-549B-0342-A8E1-CA5E82CED8B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/00797BDB-BE98-6946-8FF3-6EBA3B6E8183.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6A6E200C-4167-6742-BC5B-ADF06BCC370F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F3886B2F-9811-2540-8FF3-1BE6371A6558.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1A22C004-90AE-9240-BE5D-D2477BC3CA65.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F8B847DC-55FD-994D-AD70-8E1E36E0284F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/B00F8E5F-B5B3-B44C-A4F3-CF4E3685A7F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6D178417-BED4-EB46-8E4E-5957FC448697.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2AA7E0E9-5133-D847-A518-83FE627CEB80.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B7D32DED-0B09-CE44-B291-1D28C41580B9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F2E7C94E-07E7-9E40-BD87-BF8AE129B31A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2637272F-25F2-834B-B562-BC22EDE7A3CC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4B24E3F3-2005-D242-BC5A-DEA4B12421B0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B90244B4-8D79-1E48-BF35-A8649D28A242.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DF425CF3-DF7E-5D48-A2D7-6B15207531C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2550F65C-9E92-5048-8B2E-4BA069FA833B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F6F88135-5692-4A44-8BA0-AAD721213EA7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/853C8634-A5D9-5041-AE76-AF49D84B662C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/39907D63-7D46-144E-A914-9F89319A9D7F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/941BD42D-D80F-9E46-8D69-6FDED1031C14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D2D7DEAF-34A6-8A48-8808-5029EB81B5A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6F015DA7-6AD1-FD45-BD6D-2D798864CDBF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/4C08F430-9425-054E-B578-9E047AC65F71.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D58F9684-157A-A449-9085-453BF5441A9B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7E229CD1-0ECB-A141-8B5B-5DC5A94CE3C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/CED38D4B-04C5-9944-9810-73AD38FBAC8A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5C37E589-0BD8-074E-9014-35FD9AFDD6AB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/73295DE5-318E-4747-B522-84293605FFD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/8347D5DB-D664-AC40-8662-4DC2790E003D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/66C3A178-5209-2D43-883B-97739CD6CA8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/060D8BF2-ABB5-4F4B-97FF-93D7B80F3D44.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0780D67C-84B7-5844-81AD-C262249AD3FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/83F33BEB-28D4-4147-87AA-AC54CE3BB4A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EFD4B2EB-8BEE-FD4B-B80D-F896A81305A9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3D7309D6-B3C3-8A44-AC1B-EE7724AD5DC6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B5B12808-C334-5C4C-8D24-04CA49551190.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/9E3C5E60-F68F-EF43-A8BC-72CA2B1A42E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/13E95DB9-203B-5444-A6B1-C4EA00C610FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/03E88CAD-5AFB-EB4E-9622-14B4B1308620.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/C0881CC5-611D-EF41-88C0-DE94841A0768.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CC317B5F-77E6-2B45-A0BA-AE3011418DB1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/64D2AF40-95D8-BC49-9952-1938AE663FFC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/25AEBCE4-0268-4D45-8F18-85C9E5E100BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3619B5F9-B755-A745-BE97-DA5406C507A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/39276592-5FEF-2A47-A536-9ECFE2AE9708.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/79ED92C6-8822-114A-8B8F-751737B96ECD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BDAC54E9-F562-7642-A370-F3B3CA91686C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0C46CC28-56B3-8B44-999C-2B97BB86C0F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5E7AC0B7-09EE-794B-A5E9-70675765FCD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/66F9BFBD-47D8-A84B-A2E0-C9FAD9D6DFC0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/FF2A003C-7A19-9649-BC87-AE8A33077D62.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0CFA99A6-86F6-9740-80A0-F4969DFAF057.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9AEA2563-6129-F748-8A73-4F159B623399.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5208D4AF-3B0F-D947-99B4-E60300143917.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E7E05273-DF5B-AE40-A798-21971D24E84F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2BB84329-3DAB-F642-A9D4-A975B21393A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/58234CAE-8F32-2246-BB60-543EE31246B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7EF6F2B9-884E-B44D-B533-604C88BAE597.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/654B8807-A008-514C-9DF3-6AAC4F9A781D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/965AECD4-F3CE-074C-A3D3-D632E6767EFD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6AAD10B1-7EA6-C04A-87A9-F8EBF167126D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/95D59637-065E-DA48-B7DE-D5DCFC950C0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7993209F-DD89-2E4C-ADFB-73652EE252F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2943292D-D7A1-BF40-90F3-ED2C99CFD726.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0FAD541D-7C9A-B04C-9A56-ED4DA09404A7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A85C1E1C-D471-A443-BF79-4C574DB361A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EA7B39FA-C49F-DE4A-B539-748DCB27D157.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A636D502-4D2A-5B43-BC1A-30E7A5C97A67.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BBB66A26-BE50-D540-8C1B-F141192EB705.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1997368A-0835-3B4E-B503-1B08453543DF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/15E9913B-1EAB-8F46-A79B-45CBA0CF83FE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/047CF599-3DBD-924C-957A-98FAFC361995.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8DC15377-7233-D94E-BD84-49ED9B144330.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C35C69CB-3BEA-1F49-8B77-3E8B1FB22358.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A5F806D6-268F-0447-A8C6-5A4B35703D06.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/52E2BED7-27EE-2242-A1FD-2888D062B965.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/28354DAF-70D7-3C47-8266-FEED49CD006F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ABBB46F2-0EE5-284D-AEC7-A09B91D1EA3C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/FFA6D058-C0F7-524E-A817-21433A7DBD60.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0D5B30D8-63B2-A342-8ED5-A6C0E41403AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0FCFF545-B05C-494C-9051-DD2A0D46D7A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AAF261E2-C379-F74D-ADDE-174C04C594A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/40EB1CAC-06B9-0B48-90E4-73F60226445F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/65719B3D-72D7-DC43-A98E-C3AAD0CCB1B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7410870B-6D52-0549-AE7F-276B5FF9015A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EBE39D57-4282-854F-984A-5969611E8DD5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/93451CE3-5FAF-A945-BBB8-7F30CDB1F6CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4C691607-5B5C-8546-81F2-EF55DEB817C1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BCFB4FE0-2BBF-3846-AE51-F1EEF97F1512.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1C1D1DF7-FFF8-2B42-8A98-E27FB9F1FF9D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/DED0B54B-24A3-0348-B128-4B0FCCB864FD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F7F4058E-6C79-B641-BAFA-FC59CD8BAD5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/755CC6A5-BD36-4047-AA28-2FCC79E6EF5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F5672014-21FB-8B4A-A190-32840267DE22.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5E0A3C0B-AD94-A843-A5C2-49BBA9E9E60D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/9CF1E790-93FB-DD47-9402-0A09E0E101E4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5C832221-F60C-2443-AB3A-DFEB450DB53D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/88BD06C0-7C4B-FE4B-931A-F92280C7EB42.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/2D09E2C6-BF81-D148-A5DE-603ED1ECE208.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/5FDC4148-630C-2643-8C5F-F988F83D9A4C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0E97B401-10F3-B24A-A795-F74088CE48F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A568DEA5-C993-7A4A-BA8A-37BAFF98C51B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/B8251E94-E997-EA43-8EF1-361908B84192.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/96E2A35E-F0FC-554A-800E-67694DA7790E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/1EC06EF1-092C-024F-82F6-3DDC76BF69EB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2029DABC-1124-1649-9CE8-8FE1311874C7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/20FC3819-C717-CC41-A1C7-5B3C65A9B893.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AB66A13C-89A7-A24A-8344-9502712D003C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/5C62C4DB-D2AC-254F-9335-87131F40199E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E5F9368F-CDD3-A64D-807B-210AFA57B848.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8782D737-AAA1-1049-924C-7AA71FFFA7BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5C10D566-20F6-014A-B18B-5AC688575F1E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BF40CC26-AAF4-9E4F-B39C-12B2F931AB9C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7D780EE8-526F-E244-A7E5-153DE23A37E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EAC29E24-6806-9C49-91D0-F1391F977048.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/96DC3394-686E-3F46-949D-A055F87942F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9AE6B6E4-063B-3B4F-9AC2-40A0AFCB8CEC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7070220A-B60E-714C-B2BC-701550F86683.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FF3D4A6E-CA6A-574E-AC0B-A62ECB7487C1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/84B34519-AC95-0141-8558-2EA4A74C7CC0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4846EDC3-403C-BB41-A99C-F95C98F4E68A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9D9E5E16-A9CC-3B4F-9CB0-40B891D7B7C0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3EDCD334-9D35-D143-9A24-848B52582937.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EF46E306-FB65-ED48-845B-57D3F3D1E121.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D1972E80-B4B2-444B-A2C6-AAD6583734A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4FCA76FB-9167-CE46-9122-78953542AB32.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5C6F51BB-3563-254D-80D2-EBDAFB02E377.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/806E386F-B213-2344-8A22-66050949110D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5F9C0740-E0B0-7349-8FA7-465BF3A22316.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/93492097-2FE4-9D41-B694-4F117627FDC5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C5C650D6-CD35-2046-8811-DA360FF54438.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/36261D25-6006-FF4B-9B47-06A06E51A1CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/078F09F5-A5D4-D943-B7AE-B0B86191506A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EDE4C90A-2B34-A243-8DDD-3C96623FB378.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D38D758B-0BD8-0147-9FCC-0C1FAC4AAC57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B08590E6-9804-5847-98E9-DF29C9089B14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/198FF9AA-DFF8-C141-9BAA-1F691C64A101.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7D4CC062-3140-2F42-8178-B670CAB1B92B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/74790CB6-9592-D64C-A373-FDB4B7A7AB04.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DBB23363-3000-8741-9178-8A088BBA5C55.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/38E1030F-DAC3-B24D-B42E-8A4D6E898AA9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DBCD9251-66B7-4B4C-B9DD-3470AEB48293.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3E2ECFEA-66F3-A14C-8B75-B1F187BB2891.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C13CBDD4-06CD-FF40-AADF-C558AD07BB0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F3C12DBE-E8B6-C544-A2C8-6840719A4A50.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6A5700BD-B1F9-FD4A-B0E6-22D1089EC48B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8894F244-5794-0D42-AF19-AB2B5FB8F661.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/485DD1EC-C6C7-BC41-842F-60DD25333621.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F5976EAD-44C3-6C4B-BE45-D56A955FC6C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E42A13CD-AA67-6743-9EE4-20C57F1203FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/286CB39D-2A66-2F47-8FD6-93497749D824.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A1B64751-2F0C-0946-BBA0-133335A3BA0F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C6AA338A-FFA9-2E4A-B537-0F8ACD997882.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C3CAAFE9-DAB5-D14E-AECB-7D1617E77113.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0B731F55-CB06-C444-9251-606A69F42D92.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1AB9D1E3-6AF7-134C-8CF2-4A30429B4102.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9D163D92-A650-544C-AC74-D9DA14DAC785.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/91F794FA-C064-1B4B-B101-EB7D8FEB6D6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/38794320-E4A0-AD4B-B3EF-C9F9D011EF02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1B208BD9-1153-FE41-9E7C-DCE5BFCAA0D1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/05FB984E-FCF3-6D4B-BFF0-6E3561C71150.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A2099702-5B92-7B46-9C98-C797ACE117A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/48482599-387C-1E47-9018-39026BA66CC5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E5E49EBA-1E74-6248-9EDC-E65447BE7459.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C131C828-2E24-F94E-96FF-C5B4B560F869.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0E6F53D2-41FC-0543-A4A6-70A9C51950E7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F6ABFBF5-D294-B14C-BC7E-06BF44156220.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C58ABC64-DF7F-C84C-91FD-D74C2AF5F9C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/280000/06FEF897-9F75-FA43-B099-9993B2FA7B05.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0047ACC4-61EB-4049-AC1E-B3D28688B37D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/301A671D-9444-5641-A18B-400F4826BEF3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0ED2C458-6870-D94D-84FE-EB3A309D5A7C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/40CE47F2-FDE3-5D43-943C-A39A2098FB83.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/902601E0-D7FA-5745-A2AF-064F66D719F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B10411D6-741D-5B4D-B2E1-A7EC666CF49A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/98C6B25B-3DF5-4146-B66F-7093D537C50F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A80C8B22-60A1-C647-B657-7079E2373ACE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EABD6459-C9DB-7042-A6DC-22842F0A7F96.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/242CD929-E532-F14D-A48E-358A07D68FE3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6AED637D-8CB0-674C-AF6C-BE501B43DFE4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/20EDEA55-1190-D541-BFEB-CBEADBF5D630.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/225E5D3A-8842-BE4E-ABDB-0491BDFC2B65.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1DC9DA8E-5B56-0B4B-9127-9C2D88885B64.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/95717D75-2032-8A4C-BFEA-61972E2994AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1FE2179D-1239-E74F-9DED-8EF5955F011F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/35AB3BC9-275F-8B45-8B48-CFBFF67F9D8C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4695F938-F905-B148-8932-B3E1A2B45DA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BBE20038-CA61-D948-933D-8F19AEDF77BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/40A71639-7B80-504C-A26B-7D634AFE6196.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/BA90022C-D700-E042-B1F1-F6A46DD4D26A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/13F9456A-1D95-4E42-97CB-761E698B5AFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1843E934-766B-D24B-980D-5421F39B2EE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/209196BA-3E86-3F45-B8F8-77AB58E04747.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9E34CC0C-EB38-9044-817F-CFB5F9A8928D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/84E26AA6-ED23-014E-841B-31B42D4D0EE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/14002002-768A-874C-ADD4-08F53F68C73E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/72F375E2-FD0F-F24D-8B69-829592FD4CC2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CDF72F0A-DFC0-914E-8E12-7E704969748C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/594841AB-1573-EA46-82AD-23332F975698.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6DC70155-127A-D042-A51B-DDE542AAB27D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B9BA8DF6-9AD9-1448-B6B4-7F26C9A9E5EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/009637C3-897D-0A49-A727-EF5817201B53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/58002455-ED06-D444-9802-C643A97A5A26.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/94B84778-3387-9042-B075-AAACDB7C6E0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1B7E023B-6ADA-DB43-A4BB-A32904588FF8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F16FDCD1-7212-6444-9CB4-D1B397CA7B3C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/84D440DF-AD6C-1748-AC19-DBF9BBD7B7CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D91EDB94-51FE-6C4C-9D87-0FE660F59C91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/F950281D-8087-CE48-B380-F931842EDB91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CD746D0C-CE10-7A44-9011-30F2AA9152DC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A74B77F9-A669-1544-9EBE-98CA53123A58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B31A7494-4F65-A541-9482-CEB5B6DA9F23.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/157ADDF8-BBD2-7048-9021-CD68653D6B47.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0E6CEEF9-9F86-7A4E-B753-988585B99014.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/503CA4EF-0AC2-DB47-B87E-36415D1414F3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C1C10A4B-65D4-544A-BCA4-C447E4DBEF13.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/80818F0A-7F9A-FD4E-9BB2-70018246F4AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/563D5139-4E1A-004C-8C44-B92565003441.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4043913A-A508-284C-B876-8DFCC6F25C6E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/67C306A1-CC89-FB45-9CF5-07C9F4018802.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4F2B9E34-9212-8345-A5D4-2D38706A4E81.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/3B2D6FD8-AAF1-3242-AA42-2B2AD0870DA1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/6DE7B0F4-C7AD-A04E-B5F4-9A2C4F54C8E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/E3B4DFBE-2AE4-3D45-961B-ECAD850026ED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/300968D1-C085-5A47-89A2-2CD1C9504492.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B1140381-F725-C64A-8966-5687C8EC542F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/923318CB-CF00-A34C-9505-B32B92FECA95.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E9CA660D-19E6-164B-840E-91C6643EC2AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BC6BBE9D-B5F9-844E-B156-98E90C0F92A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/16977883-A908-9248-999A-5556F7A269B3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FAA8D898-EE04-6342-8658-570538A96159.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/33B57652-AA2D-2B4E-BF26-A7091B6003B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/F55BD600-6A0F-9E43-AE94-139E253976AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C9CE1A22-B3F0-4445-9F8D-C6FE461C6A5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FBF1387B-09A7-7D42-A95A-3C8AEBCF2698.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7E003A99-5DFC-D045-ADC3-0C5AA224254F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/72F9389D-D8E9-8848-8296-7987BEA4FE5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0C52007B-EE43-8A46-A27C-052468FBB76C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/17917FFF-4238-2042-9FCA-51D7B0896F8A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/ECD4F913-8B30-A54F-88C9-357A138D8969.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C947A19E-AEAD-D14A-AF6A-4AB87849DA9E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/52928980-4A93-B841-90A1-B0B2DB917416.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4383EDDF-6045-1342-90B1-6C8339BCBDD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0F5530D9-A0D4-7746-B1A6-1CA446678671.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1CC9C5C5-E885-6B41-8B9F-65EDFF2193C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/5906350B-18CF-A145-9BED-A68138AC739E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1685C410-1D92-CF45-92AD-BECBD57592D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/82175735-7046-304B-9EA9-22075D9CC1C1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/42F0036D-645B-2145-875E-7F5E1B02116F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/762ED293-C587-EF46-B44D-73DD58D6C4DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E6BDAEB1-D2AA-EC4A-B744-50EC7E495805.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C714178D-CE6B-DB4B-B4DE-0A4B41571A0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D8B26EDE-D069-9248-A6A1-7CA3DCCC1486.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/20656577-9820-F04F-A21F-422EE0B6B16B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D9A2E55B-004F-0342-8AF7-6D4AF93611CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4774331B-397E-9E46-987B-BB844C3D8AE8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7F51D54D-07BC-144D-BC5E-2020CD54DBF9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3B4929EC-1D07-DD42-8CA5-2A5FD9134B02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/CBC5A9D3-EDC3-0148-975B-A8161CB03931.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/D22C7890-41B9-3141-876E-1E9961BA553F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/F3C31FB8-48D0-7747-B78E-E75A2723F988.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9838F45F-76B7-8D47-A822-3F12E6E49DEE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5F1F93C4-CE7C-1A4F-9D77-F5D624FF8D0D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/79D7CF2F-73C0-8C4B-B67C-571B592264B9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4D855A84-5C69-CE4B-966D-64495EBDC412.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/90A71616-AAFD-AA42-AFAE-673A16F8AF30.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/40A6A154-1F99-FA49-83C2-03388C3849BA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7BC29A7F-6075-8844-896F-0D196BB78865.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A8051260-87D9-0041-B13F-0577434C5B36.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B06CF0D3-0FCD-C948-8A58-027B285E031D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AB656F7D-CB2C-DD46-BBE7-644808E6A5FC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/F489402B-9ADB-AB42-907A-B8D2B818F48E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/23346758-8619-144F-9D34-3FE731FFDA98.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A8662C99-3124-484C-8182-552AB69D3A20.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FD7CBAB4-1A6C-3148-8D4B-F3F82E71F152.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/7A1EA2EF-6D2B-2140-A6B9-DDC950CF6BD0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/45667311-CA64-9F4F-9FDD-2C950F0952F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2BDDA532-54FA-B84C-9706-35B84BD31CF7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D2FC8103-E07B-A549-9A5A-B248203E5F15.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/3024E7CA-B001-1B43-B2E4-930384D9B4EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/703CB927-DDBC-EA47-B817-4A72946F312A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D3A1F3E7-07B7-C54E-BE47-86D428B793A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/7C67A8F3-CF00-DC40-BF17-095F17DB7185.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E983306B-81E7-8D4E-8D11-C9EECB9B34DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/DC027093-5AF8-8545-A8B4-2395F29A6E29.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/562B9E30-677F-114A-924D-123DAB353986.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/CBC4690B-5CC3-A246-A141-72B80144D258.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C8A48839-D552-754F-B3E9-C9738B6C08D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6F207082-19FA-DC4F-9B80-EEC4A9695241.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3C41BB8F-DE0E-CA4C-A0DC-2AE180C81E6F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/653F27EE-6B15-8E42-BC66-F6C21A1C55C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/63E1CBBF-6C8B-9E46-8665-D3655A6780AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/711FAD14-B1A5-B748-8AE5-05656484E0FF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0BD5D698-F1B9-3146-9506-3476291442EC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CAA3C177-F4AC-3543-8B6E-FE755FD9CBEB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F9F6B2CF-E52E-0E4E-8AE1-2B1B329F588C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/FFA50B70-7812-5440-B09D-E757CA0EB850.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/629395C5-829E-9343-9933-C184C5773BDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/ABDBD8C6-20F6-DB4B-8A81-64AFF31C6416.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A06490FB-28E8-884A-A703-AFA790473D65.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/02CF81A6-E3CE-CA44-8C2A-F5262A401CB4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B1F1AF22-79BD-5745-BEA0-6684046F1791.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4ED58C05-F76B-684F-8B78-A161DEB2FBA8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E04801CB-A8F1-984C-ADD1-5FA717BB7D8C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/1F0CE59E-8013-B944-A0F7-529041629086.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E5E308BC-6F78-2446-9314-4F3F74CF360F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6B843CEE-838E-164B-B463-4F4485A8CF12.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D86F955D-ABE9-A74E-81C2-62C8A23FF49D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5F4C918E-8789-0344-9436-16F465FEC03F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/B16BC9BA-A438-3546-B797-468D8867EB6F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4315C6EC-D0D0-A24E-BC83-87D19DF12E7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F5CB34E3-D98F-9648-9332-8D8FBEF76ED4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EA0021FD-DCF3-2749-B248-8D57501CA9B3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/117A940F-494C-8E4A-A6F7-5E3B24B670FF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4DE4443B-FFCD-F243-840A-40ECE06CD8E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/355C1B4D-EE37-FC45-B650-01389CD71E6C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EBA4EA65-8641-CE48-BA38-F924DF7775AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0A93B1AE-8FDC-934F-9A75-DF12A9E45C9C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E67EC356-8A50-E045-8EEC-23719AD5341D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AE332D64-E4A3-3940-93F9-F7C00A8A91EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/14B1692F-8177-B84C-921E-A60292F28CB3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F5A707C7-EE6A-DB4E-9D24-C8582962B267.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/446B1FD6-8110-C74E-AF26-2AA5F914C9F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/804B24A0-348C-DA4B-BD09-27C7DA9F6DC1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EFD1CFB9-CA9E-304C-92EA-FB2EE1007263.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8D4F2FDF-FAA5-C246-80D3-8B4BA9B1B13E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/26CC4074-30B5-E240-ADEC-C14DC6DAB85E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/CCF0885E-5BCE-A346-9AAB-C151FBDDFF22.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/B12473BA-BEE9-E34B-B4AF-3D59F08A8945.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AA3BFF95-5F77-924C-B6DA-4B7B6255EDB2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/76766D74-64AC-AC4B-AC1E-6F2C4645761C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/90314197-B8F8-4E46-95BC-4BCE64AB7577.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D117BBD9-C27F-C745-8B29-52E9895DB84D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/DA01F535-D3E4-E942-AFD3-66092181AD2C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/68E6AAF1-9CDD-4B48-BAA3-C2C641F4F81B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/050F04ED-4C34-4248-97BB-D428E9714B9F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/502294AB-3912-F24D-AD02-D816B5591E78.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/D954954C-CADE-7545-9708-A53091C87BFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2C973832-A345-3540-8783-E7859119CAE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/826DA85D-2A8E-B14D-8C36-10DBB6E26618.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/03ED5884-71AA-4643-9CE7-23E722F8BA28.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CE34960F-ED16-F74C-ACD0-FDA5DBE498E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/64ED1E2B-3D33-0D43-9416-5AE35E6FA923.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4EF9A3FB-2428-214B-9D20-56F973D301A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0E04D903-78B5-5E4B-937D-7FD2F2427ACC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/04D13A75-E88D-ED47-82A8-716144E49990.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EECE9E4F-5B95-064B-AEFC-F6F20D17F62E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4ED9342A-FFEF-6341-BEE1-3302E655497F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/172A9426-32EE-1B4D-9830-AEE14AD07E6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7143A872-51C7-2B46-AD03-62D105DA2822.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FF4FCDF0-F92B-F243-804F-07FE58FF04EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/77C6CF6A-0D2F-CB40-B492-36A01747A46A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D389BDF0-B3D4-B947-8FC5-E3119DB3BCC7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/16FD26F4-2305-0D4F-9E8A-836A97429764.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B0ADEAF2-A41D-2B49-B681-861F370DC045.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7BBEE1B0-E8CC-FC45-93C0-1318BBD245E1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/87C67B27-F74E-8A4B-BADC-7275E266941A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0CC25471-2D2C-DA48-92C0-CE13E906D427.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4129726B-5A66-3843-AED4-9C04A4ED3BB3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FD225669-4CDF-3148-9298-6D87D5AF5D7F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BEEB8757-C21D-0B41-B1EE-15B6A4CF22A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B1136289-452E-7446-88BB-31743A8E23DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6FA64683-C4B1-C840-85EB-4F520BCE648C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A66A11E4-244B-AE40-9A69-E0906B04F9C5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/DC256BCA-83AE-1C4E-86C8-A1A465CFE45B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/359FEC06-7202-1047-9CA7-6FF048AC551E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/062FDA78-7F74-DF47-91FB-6DAA3CED6EE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/62FA7F07-E0C7-594E-BBB9-D0401F47B4F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0CBD5B62-34A3-8644-8826-44A803270506.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8ED3AB4A-B04D-2342-A2BA-CCB159DFC738.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C2E27E40-E9E7-CB44-9D88-99A687193948.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/BD8A1D26-D4BA-8647-AAC8-295DC44A14A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D94AF2A3-8F58-AE44-A222-CE922EAFC404.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/15ABE8DF-6A63-6442-839A-6C64BD0EE61B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/43806B76-EEC8-1F42-A865-4ACFE19AAB0A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AE26A496-9B79-E84A-B1C2-B8FF3A9382C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7E94822F-434D-9645-A362-F4AEF0978BB8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B237D256-7B50-364D-829B-9B81D1E1F69A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8A1CD57B-4CA0-0841-9CA2-5628F7F1DE2E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/315B1F7B-95A8-5548-9729-9FB995FFCE66.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7DE976D9-5675-C844-9D6D-BE56D16F2AFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FDE034A1-805B-9448-ADA8-9358944D96FD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/37CE4146-FCB0-E04C-AFA8-837237B68D3A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/47A5B4D2-FC36-E04F-941D-2116C3F1883F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/6625DC8D-8266-054D-B1D5-BBAB530FF085.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/74AA3637-4CD9-9440-A70E-2971BC2BE6E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/EFC0942B-B56A-984A-86F4-A0FCFDB6ABE2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/20C29B4D-A728-5540-A94E-B5F6D1DE3A89.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/43E5B745-A314-2D4A-9090-DF14DDBB162A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6CB23C28-65EC-9A4E-8C36-6A8B383AFC20.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B9BF02ED-E504-EC4A-AAD8-6F848A46F70E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3B5A7EB9-9B65-354E-B278-9FE5EB630A98.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/73679594-03BE-814A-9949-F78BD6F7B9E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A6AA8BE9-02E0-7548-8A6F-FBDC3783E9C0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/14C2FB6B-CB24-E844-945F-CB20E74ECFAF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DF63A5F6-E2B0-9B4B-9B8C-038584AE0AB9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/41D25973-B03F-7B42-A32B-07E112BD36A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B0D200EA-2FF6-494F-9894-66F056A020FF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CA09AC61-B1B3-0A4F-8C0C-AE9E04C5A21D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3577DF55-726D-BB4F-B4F6-BA6FFE9B0671.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CF17E015-BB03-F044-8948-DF34AE668255.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E6EBC4A7-CFF0-E147-BFCF-38B02E59945E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3B6CFB70-5FDA-284E-A1EA-0B395D422856.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D9421F88-BAFA-C14D-B51E-DFC8CCA4C0B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3A43C897-2080-2540-94A8-E9DA9F29DEBF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/32B3C2E6-1F2C-9C4B-8F2F-F658CB2973D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0824880C-1E76-5448-9DCC-BB83F13BDE4D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A900EFE2-0C88-B741-A8BD-17129DE1AA53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C4196515-2520-F34E-914D-7BB4753A4901.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A5B16A7B-19F5-D54B-AA42-38A13EA8F555.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/81E5D045-7E90-5F47-B693-5B79DAFF868B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6E618F7E-17C9-1B4C-A4D0-E8C45F6374CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9D1C45B1-7344-FD4F-81B9-7FF6980DA1A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A7AD9F5A-50B3-B541-9CE5-71C23FF8D7D3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1F99AC81-7AF0-6442-BADA-06C7E9253FCA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/808663C3-31CF-3241-B8F6-F32DA321A59D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/87B33268-E150-9346-9B5D-3FE009FA3E4F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3BD86642-3F6F-504A-B686-DF2DADCEDA64.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0BDC86FA-42FB-1E46-A260-D1B535C4BA7B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B271E81C-1921-D243-BFB1-F878F59A3210.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/43CABDD6-B261-7543-8D15-C3FAB74626BE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B8F34EC9-A06C-0742-AB11-9B92B80FCB33.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/17D9A0A6-ED1C-484B-A5EC-052198D079AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A2EDB784-1621-B142-9A25-CE279DD32351.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/09327AFC-0CB5-6541-9B04-19162A0883DC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/EDAA9CA2-FF3E-9E4D-8D97-ABEBAD2ED5CC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E367BA1-565E-1941-A866-29A174F51185.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C4DC5790-7D60-9A4B-88F3-5B85A60E0E22.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AF02A1D2-F533-9C4A-8870-505960FA5E61.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4E7CA24B-D200-4E44-BDEC-246032766D9B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/26F3BDAD-329D-E746-963C-74BCDAF13431.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/18D09D80-E358-1C4A-A771-499CCE5823FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/564E5CA2-B4A8-6946-9D01-7D5A5E4BF846.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F87F48BE-64B0-1A46-89EE-F23AB45500CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0F53C59D-B8DB-9E46-9BCC-46C3D5182DEC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/51A6E478-1C21-294C-8F8F-8137133DC681.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DCA84159-A53E-E447-8F55-C32A5419C3F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/31535F5B-C875-7E49-A346-F4EA77B8D8E4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7E7DC8F2-0BB0-2346-906B-EBB437BB28AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/45F64B75-71D5-144C-A4D2-936C9AD4B259.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C9095C7F-8603-A345-A8DF-C946BD9AC365.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B16B1DFD-2281-5449-AEA5-9F23E21E8684.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FD85CCC5-DA81-F54D-9962-47A503772950.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5E4D8A53-26CD-A140-ADCE-E1DB560D8639.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1985C5CD-E943-0243-9696-45C9548BEC16.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AAF0052C-C79E-364D-A778-CE0558A0FCCC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/66A49DA9-ABF6-504E-B202-0DA02EDE43EE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1132A3FF-CAE5-8D40-BA81-F7935B9DDE3D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C802BBFE-94B0-6141-980A-B9FF1D700647.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/286CDDD9-FB63-A94D-A9C7-E57C161F3539.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D411A610-DC98-1746-B9B0-53CEC83D0F5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8CA38CEE-8132-5A4F-9E71-71FD671DFD17.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/86F46B8F-D162-D145-B479-84A905230BB9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/153E486F-9917-2D4E-8072-5A843C08A628.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E8232DD5-684E-5941-8AEC-CD379A427343.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0A5E094F-D08A-E84A-AE40-E811815F1BAE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8C3778ED-8A05-B244-897D-071F108FE780.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/34AC935D-01B6-4449-BA74-623C8C6CD1E4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A80EEB12-286F-BF4D-885C-900617C76452.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B492083D-E259-FC48-AC2D-603306B8300F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C6BCEB9-6E2C-EA49-8262-AF672764FACB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A392CFAE-9C50-E549-AA6B-BFF9D6F2F112.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FBD2766B-3150-DE47-8300-6DDB5835F61B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/40E82D70-A10E-7F41-A248-01C074E16AC2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/B48EBCED-E5B4-1E44-AC53-2CE7C8631362.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2AAD9E8E-EF7B-8D48-BADB-C1229A70F3D6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C7FC438A-2B41-4744-B687-45772B58486D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/9BAA873F-6F9F-CB44-9BBC-EAC95968EB77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0B8AEEED-5DF6-D044-B7F0-81F383FE5E8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AA7EB70E-B90F-E844-8FE7-920E4C0C1D3C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F56DAC3B-DE07-B64F-9508-BBB1D2CCC810.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0132C6E9-4F68-7D4A-9F46-737717D3B37E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/63D960A1-2D0F-D445-BC67-988688DE0468.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D10206B6-2B70-E84B-9202-2144E28DC575.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F9CB3779-4AAE-7543-A23D-EF3A4DBB9234.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E490C24-2E6D-1D4E-B34B-2FDBC4B36C4C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/46167608-3824-8546-B309-BCC2F70797EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0142EF13-1F15-A543-850B-4E45F0DD09DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7725F64F-9071-924A-BACC-7E3B6DAA55EE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D1B7B69E-EB5A-7443-AD1E-EE2AD748D5AB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5A97395A-1FC4-9F4F-8710-8125E37973DC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7B1C7ECE-A8E6-DB49-9948-FD4EA87793AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7D210047-F202-4744-897C-D19296D01234.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FDCD2541-3778-D347-90E9-EA2D6F893651.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E94F0963-0489-2748-80BB-30FE06FBA9A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/33D731E9-7F03-A04C-8860-2121F7B57A8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/028236A6-8972-A94D-851D-BDBDDF138C8D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/BDA0CF2E-D689-0C4A-B754-CE82402063F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/431092F4-F212-134A-B34E-8B5F2A62574E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0F901242-AC2B-8442-9B20-843247E8D93A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1A791D40-E5DE-3144-BC69-57842E035C57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/804140A8-759F-B640-BB0F-56F2D53A895B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3AECA27C-569E-2E49-A150-F90BD63EC4BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C8D19A69-3D69-F84A-B60F-CBE398AE4E12.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/07843092-DC94-2D4A-8B24-D1FB35154763.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/02CAFD03-5D74-464C-9170-3BA3E950CC50.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B922CA09-9931-144C-A76D-377E8ECEB92C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8F1C4B66-F855-D244-9380-42184A1B74F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CAED2290-0AE6-D74E-9DB3-E4652A3B4010.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/200F55AD-9756-9847-AE84-8CF5A861CF0F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9868300B-F17A-9A4C-85E7-79858110E7BE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B1E2C4FE-3556-F149-A10F-BEE97497D958.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A231E8FA-F12C-2D45-B552-300E71A25D1E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E131156D-E8E0-FB43-8204-7D97257CAA82.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/24CE945F-EEAE-E242-AEF8-FB6A8FD11509.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E2A073EB-3F0E-744F-A7D0-D18D3E3946D9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/09F28EE0-A3FF-7E4F-A3AB-A5ED4C5503C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/725C50C3-7CE4-F545-A202-31EBA98FC43F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3721149D-FF85-8D47-8EAE-7EC966C5DC8A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/850FE7A6-5E4F-F24C-A8CB-55680BA71C39.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/856C4A4D-EEEF-0746-AD66-FCDAD1AD9AF8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/FD9CBF21-2BD5-5F47-AB94-2D81470C3A73.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/12A25C11-D9CE-F34A-ABE7-FF6E3252E823.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2B500113-9CDE-EA4C-99EE-778061185A2D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D53E68AD-2147-0742-B7A7-AF94788A1E90.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/63215267-BF1A-8C4F-A168-C8AC470841D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/8470F74F-569E-9A46-989E-BA5F61E414E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3AA076C4-F85C-E341-9EB2-FE5A383DBD59.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1BC0C7F2-860D-5D44-A276-3B845D189B2B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/20DB9DE2-7DB9-F74D-84AC-DBA84653761D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/59BAC932-94AB-8D4E-BC98-85B4684D587A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3A23529D-E8E7-4548-9C90-BCE335F67971.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3FE8EF5B-0C1A-5342-8691-415272EAE4D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/4D8CDB19-A90B-6B4E-9081-B9B2CB72F2D6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/532AAF8D-A7BE-134C-B378-88F0C3E62ED5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1E8CC2EA-4B8C-2445-ABFE-453AF0B585F3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/5FE4D85F-4D5B-3647-9F27-9C40BD322F38.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/58FB1022-27D9-C14C-93D4-C99474DCEF9D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1067F2EB-870A-3B46-816B-5F5F2FB60B2F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/93D28E47-DCB5-A74F-949D-E4E128420867.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/5774D28E-CC67-144A-91BD-372A8A6EF32A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A0CDCBA7-0198-6E4D-B389-7EA8B6B63209.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/9D6B1A39-C41B-A54C-9FD9-CD3547E948EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/224C2FDE-5D29-0248-81D2-43A07D3A7ED9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/43A0BBF3-193B-1548-AD4C-CA4421ECA992.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3AD120A7-14EC-724E-BFE8-341D673DC541.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/FF6BACC2-D5E9-F447-BCFB-A2855B740D69.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/27620FB5-C08E-6B4B-9FD3-190320642F4B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/43C20151-B471-0444-8591-5F589F7FA6D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/FDCC56E7-B8BC-904B-B369-2288CDC1568D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/3C435A33-49F7-C442-9A1C-8DE3AB917465.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/53CD0C52-0DAE-6C44-B4B7-0437EA2422A9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/713E8E37-276C-7A41-9589-578B3224D811.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/93120C04-2DBA-0342-9258-5D8E185B8BBB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/BF65C9C0-1D14-D146-898B-C123DB60C844.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/48728E16-47F7-5D4D-9CE2-3114A1BF3C37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D9FA8267-0BAB-3144-B14F-1EA35CE7529C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/E92C9587-848F-8846-BA99-B8919E463437.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ABBABBD4-118B-D942-B6F1-131B53721100.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BF64AD2B-3FE0-3D4E-92B6-CA3C407346FE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/49321453-A768-7443-AF1C-273BC5387371.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F84F62FC-FBF4-0442-89C2-68D1E4CBC471.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2A8BCBF3-9778-F746-AA9C-80B68A80030F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0A650593-25C4-2149-9181-9D15169841A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/817CBCD1-72FC-9647-ABEB-AC6921D8BFE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/791FDBEE-6CD3-7B43-A86B-65166FA236F7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F8F31BC4-79FC-3649-955B-CCE1D1200908.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5CF2506B-E90C-9C4F-87C5-2E3EB30ED101.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3663959A-B2DF-6641-ABC5-01762AB05F6D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0D664881-52B2-1546-B904-8D996FD16789.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FE3D3D44-C030-1E47-9808-A38601F9BD97.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4F80D45C-635D-024E-99A3-B2F570D1A8FF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C054AE9F-22A0-A341-9AB2-6DA071F415F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E1E9186A-E19E-354D-8F0B-33B5533A71AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C2BA4FD7-1964-C147-9D86-B71FD0D60A98.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/78FD0676-5A0A-E74E-A540-EE52F680EAEF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/4EE0385B-EC57-184B-978D-1260638AF8FE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DE2C9232-C5D9-4E45-BDD0-90ED065F1E73.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0055C30A-C808-514F-B913-0EE7E300FE3D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/8D06BEBB-53D4-9F4B-9A85-A9EA78074AF9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A8FF1CF4-AE7F-4B47-B5B5-F5165F5162CB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1508155E-E8DC-9147-8137-775170E2EDBA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E9BDEEB2-C854-F14F-B2C0-26B3836AE1D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/61EB8C20-8374-4D46-A508-39BFC35AAFD3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9F102D7E-7B48-6949-BDE3-20319ED5D207.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D7C38551-3EC1-D344-B5BD-96E937096FD4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/499262AC-AB02-3D4D-ACFE-EEF67192CBD3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F609DA3A-9EB0-A141-83B2-9C22CC618A57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4208025B-75F3-5F47-80B3-4CE9F61D29F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/ED7ED14C-719A-BB42-BFC0-754219F593A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C3D02891-7AF5-6A49-8126-82839824496A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/77D5E6CE-70F4-C640-B7E7-E7DCB093EB4C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/3CB42F14-009A-D242-A480-621F997B14BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/9AA63CB5-0BC5-274E-B3A5-728263ADE507.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/BD67AB03-8DDA-2C41-A3BC-FB00BFA2720D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/378AD123-7BA1-7D4F-BAFF-CC972B0CABE4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FF305680-539A-2C4F-BE6B-4F538D470EEB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/878F4626-179A-684C-99B3-44A8F20B8BBF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A6CA9B67-76E9-9145-A422-C016A024E38F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/B1678BC7-B72D-C94F-8CBE-80D79B125573.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/461D54B3-49A9-6947-B00A-46DF4FAB0786.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/6373A355-B1E1-4349-9695-8C842EF4AB4C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0A205F65-6F3D-8C40-BE85-2843E840F6A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C6CB8BA8-DA17-7B4F-824E-D41D9EDD27F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8296DF64-3A40-F544-BAF5-8B0881229D22.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5A4EF976-8A08-C546-B40C-554075B207C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1989F094-BE87-BC48-889D-645E299FFFFD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/67D31DD8-2F47-714A-93A8-189E18798008.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C1010594-9B3F-5644-83B4-2BDA6577B767.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/00EC5473-F479-4842-A1B9-48F23FED131B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/44622DE1-97BE-0C49-AB85-945F2E2C72AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/42147782-647A-2C44-941F-3AAEEB69CB70.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/72D34428-FBEF-4142-A97E-32B5D8DD9111.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/02AE5823-0FFD-4540-A5C0-305186223394.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3BD8AF3F-8E69-C54B-973D-CB3AAB4A596B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D2478AA5-B9BE-B34B-A45F-AEDCC34AC436.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7D6D8168-22D4-7444-8909-39EAFA044E6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E3AF9BFB-C293-7649-AD21-FEAE13BA805E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CE35F630-0526-924F-BDB7-BD6890B0E6C6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/542FA680-5DEE-B641-91D1-25DBCFFEE774.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CBC9DF9E-C206-6E4D-8A6A-2E72FDC87AED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/50819FDA-0A15-C849-B2A4-900C1568CD53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5B5D049C-D132-0941-B866-C06799B2B049.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0230A2D6-6FC8-8B45-AA93-B670F82D5420.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/55DA3F36-1E4F-0248-BD84-1617E85E321C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CED30FE2-2F85-D842-B94C-9A3A0274BDDE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6895221A-0FCA-2447-90FF-EA31D99879B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/410E980D-2371-2246-9FD4-BCE4AC6B6FF7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/66359B78-7D78-6F47-9609-68AA47DAD24D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0AA266F1-5ACC-A843-8F8C-286E4623CABF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/73E339BD-403E-A047-8F9B-980964148442.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E8FA65C5-25F6-2E43-ADC5-D4FC3B56C445.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B6717E69-E6F1-B848-9D43-1C1F1FDF47C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/599046D9-698D-924C-BF85-718D9676605A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/9F274ACD-4DFC-1D4D-84A6-BC12FC94BEE2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/A6CA6D7A-9859-7644-BE82-B9A6B9BA4EBF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/C745A5CE-2BD7-2948-97D7-B5FEF954EDE3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/164DE648-71F3-6943-9249-6D5D80A19304.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/80F1DD91-10FE-A543-BB42-CA54917B162B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/180820AD-4FCC-4641-AC42-13D86E99E602.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/016022C5-562C-4744-BB4C-655F58171E5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4BD2DD61-DA03-044E-A044-12478C31EE36.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/1F5C4D1A-2285-CB49-ACBF-1DF8926E86B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/39716D65-10C0-7B49-A0C4-ED5E0C6A7B4E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/2E345ED8-93C9-7C4D-A495-774E5A0F17A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7E719448-59C3-F246-B072-F83035AE4C50.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A334CE2A-B3DB-7D42-B103-BCF6542AA103.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/15EA12BF-3B73-694D-9F00-60BD2B3C6B48.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B12F77BE-94B4-D246-B9E0-A372529600F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/40C849C7-6208-6543-B9EA-6690950220AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FD700728-014B-3C4F-837D-C59FE3B1A0E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A3F7B6D5-7F31-604E-81A4-DF4B48B2CB8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/D596A447-6628-4141-A129-DCBF44E86ECA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/168940C4-174C-EB4B-A8CE-5E99071180F7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/AED3DBC5-359A-3040-AD2E-42DC54B1A707.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/D94A5B07-9F31-8042-BA40-E14702B98B5B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/7650DEA0-6B8B-EC43-857D-A38A52197A29.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/992642A3-0CF2-D043-86C2-ABC232B3D4B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/28D57CA7-E6F0-B940-942F-7F0BC0166D99.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/F0F5AB8B-A563-E648-878C-BC16BCA03244.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/9913B33E-A634-EA44-9D48-92FFF2F1B032.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/AFCDAAE3-EDD8-854A-8790-829AFA4AC7AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F8EB67BE-1911-A842-9F56-2F6E07509891.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B2AF23AB-3E1D-594B-9B7D-FF280E3A826A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/15B7D502-BF41-1948-8F49-ADFD038CDCC6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/869E6F9B-D0FB-DA48-9C8F-F161A191077E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/78C13103-5F0E-9F41-AA45-EB2D90EC2040.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/D0498425-C65B-3640-9BDA-FC15918E4DD8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DA63CF3B-6C10-9644-A489-9AB2A26B5699.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/84DF9163-03B7-ED4B-8E6D-09330148E7BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/75A013DC-725E-2641-BDA3-30BC8C224F36.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/21F998F0-B52B-5D4A-84F0-25410E333105.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0749A516-BEA9-C943-A151-7030E9EAA49A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8B33997B-4239-9548-B084-9379B04B3FC7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/33BABECE-F02B-EB45-89BD-09F703C1C8F2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1C845910-A1D9-7F4D-8945-4D5252FA046A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AEA252C1-F89C-EB41-A723-9BF211BE6BF6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/87B7F7B5-30FC-8E4D-8DDA-E9331077A3A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/9F076D4C-9736-2043-AE15-D3D1A651FBA2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/CDD4245A-24F5-A340-98D7-A71A1C2E76B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/1930D4CE-874B-584A-91BC-36018486961E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D2F9B47F-8F90-BD4D-9981-0C40FB1F1AE1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/06B8C0D2-7F1E-EA41-A87F-813599A856E6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5F37B06A-C77D-F74D-BE01-675895AE4B14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C6B3F5A7-DABB-F54F-A67B-4F4DD74EB0EC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A59124A4-C666-0144-867E-5A764174FA47.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2FEB7AEA-4D27-BD40-80C5-942C78BA142C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/092AC7EE-1F69-3D49-8933-A1E185E899BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8C0D92A7-E702-BA40-8749-0FCF03CB8654.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8272BEDC-A904-9342-B19D-0FC565584768.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/DB496C55-A7CF-E645-83B6-E2986C469E76.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/A68BD06E-143A-DF46-B7F2-CB703F993E41.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/B8939160-C483-CB45-86A9-015611313B7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3C64C906-E713-3845-9A53-557E5D7F7B46.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/85AFCC65-CAE7-F54D-8F4C-9BDE424D0557.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/C046C616-70FA-B74E-AC3C-2058E12A1EA7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FF336338-34D1-DA4B-AB4E-3B2F274A2E7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5BDCF5F4-08E8-3A4E-89CB-7BD7535E2917.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AE015F9D-C6B7-E44F-BA54-FDD62591A004.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4AABF039-B45D-4646-BFE0-E1DA24C4AC6F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/5600306E-9173-7E47-B1B8-A9FDDDED20A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/356E8518-79C2-3D4A-B37C-21C8CAAD8F78.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/759D8A05-1F0B-024D-BB16-FEC8DE7CD3EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/870C8CD0-528B-C946-B546-7341C96213D3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F3E594B2-3D6B-E941-B828-79BB67829C5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4A80B901-AE9E-8E47-92B8-8B5A91EAE88B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F968DAE9-8D58-F447-8BB0-391370D469E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3BD07298-0E6A-CD4C-8100-858D5291C54E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/16168C56-892B-C640-AEF2-8D39E989682D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D3B74307-9319-F345-A83D-50ADB8F3A37F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A1FD10A9-87D3-1346-AAD3-A2604F666B42.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/23362EFB-93C3-3C4F-8AA5-A8AD9F521766.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/02BE9863-8847-0D4D-92A8-435DA70F1BBB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C3C8FBB4-817C-1E46-9871-D42D01720E13.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/09FAA1A9-5DD1-3B4B-82D3-B77B8B8D4A54.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/91D5EA98-5A4A-534B-AA56-A738E7AED51E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2C1FD1DE-7A98-124E-BC55-1AB46D57B7DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/078C72EA-4EF7-3B42-995D-33231B2F754E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/89AEE8D7-C16E-774F-BC12-EF87AA3A919D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DBAA1613-258F-FF47-899D-CCB187557257.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/797D6CA2-547F-0149-BAD6-BF4B21092E88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/167605A4-8F95-6643-9230-92A986DC694D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1C2AD2FC-A25E-D846-AF97-3C3AD0CB27D9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FEFCD0AB-FBAE-3949-836B-7AC6F9F6BBAF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AC97182E-3614-5B49-A1FA-BC1ED6F70A75.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B02A7DD6-0A06-7543-A5AD-78A2C00F4A3D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/343E2428-A07E-8041-A051-E362E2D3609A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E79BB0ED-A4E3-4B4E-BE94-9865ED5F1F9E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/27ECF56E-0974-8C43-AA57-6603050D23EE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/95C11F78-1D5A-C64F-AD8A-E36BC41BBB7B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7830A1F2-E59D-2E47-BAD9-E9976A34E2D2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2C4DF63A-0206-154E-8FA9-3E08C6427AE4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/092E664D-F392-F543-B23A-FAF087F5D83A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/91310376-8611-A64F-A081-5A62C1FFB860.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9C2499E3-5048-5144-95A7-52B4507CB0B6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2FE2ED20-D771-714E-8D5E-42ABB151C852.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/18C2B4F7-7935-E14A-8FC2-5066CAEB1200.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/96A63D51-7917-D445-92CC-B28F1C975076.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/869A503E-3D2E-1940-A10D-E1521852DC6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/15B44C6E-364C-E144-AFEF-931B0EE848AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A85255DA-19DC-C14B-B9C0-A4B59DF2854F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/28254F8D-E6E7-B748-9D11-85F546B1E507.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AD6DF803-2AD6-1D46-8AF6-8FA14511EA13.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/682974CD-B8EE-F14C-8357-104FD64F4F26.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/23D0B7D3-59EB-064E-AAD0-0158FF389816.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C6691931-2253-F24F-BBB8-B11DD2157E6D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CEA697A9-1A5F-FA47-92B4-FB31A5BAE177.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6B8E37F9-36A4-BD43-A383-B181EC02619D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/04AD8DDC-F0B8-034C-B584-7AA642E05917.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C44B47D5-3C5F-AC4D-95EB-E1EE37BF5F9D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1459A76F-EAD9-3341-9C84-88C96D6C536F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3A512300-1A1E-3A42-B11C-FEA396E6BB15.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E43545CF-35C1-8A4B-8871-59079D92C179.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9E375CFD-9D0D-E744-84DA-DAF46FDB1FC5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F099F50A-040D-F14B-B3F9-3A6526DEF720.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5FC831EE-E7A7-C94E-AA18-77376679E819.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/95940ACD-283E-4240-AAED-8B4E005002F7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3EFF96F7-0968-F042-ACEE-3B5E10B53707.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/75E85926-0CC9-FC4D-AFFB-34F181C592EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3219746C-2E9B-D74A-B937-2BD289B3B901.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D6AFE989-1941-8347-BF03-3B7B939209E4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/39998BEE-C4FA-3D4D-901C-340D6DC1B334.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/79A668AC-B299-2F44-ABF8-4BEA3F78F338.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1D6BA7BD-A7BA-BA44-B8B9-7EFEDE08C21F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CBF1F84C-7F69-4642-B1AF-8E959BE2BE2C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F1730270-BE73-D54B-A8BE-3C7F9C566652.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6F0BACAD-0287-C748-BECE-360384DD1DCD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4F414715-5F9D-194D-9E4D-D9033064D9AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/E5E19982-EFA7-9747-ABD7-2778F31F58C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0D5DFD19-4959-E34D-B62B-EA12FF9699E7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/657D90DA-4093-1B49-8B6D-24B61BD3F335.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A3C1FFC8-EA77-5847-8D15-544EE4680FBE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FE452DBB-AB9A-AE47-8014-C578CEE67A82.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/7BF5D857-5385-774B-BC00-634E11A8E5BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/314C882E-E2FB-6E4D-AA8A-AA0F8B73ACC6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/85E830F9-AA89-CF4E-B975-B0A80E98E7B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/67630008-6096-FF47-8D61-AA2BAEA0D4F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2C11B4C9-902E-FF4B-B799-F209D20C771B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A6C0F469-EF89-1046-BDB2-CF0B52B01D89.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/AC2A3BF6-8F11-B64C-920D-D482847E22D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/24343A18-039C-C04C-A59D-65310CA04619.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B9228DFD-CCF1-C34C-8A10-FCC5598ADE4F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BB2EB4C3-501F-DB4A-95FF-4414D03DE1BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C090C4D3-B01D-FC4E-9965-424D92E46D2C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2795958E-218C-E14D-90C4-A9FE5A3BFD0E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/377845F6-1F58-304B-8593-17B4C78590AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/437C5C50-D323-064B-904B-F83BC4944119.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/773C326F-CA88-5E4E-B86E-DEEB3F54A3F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C36B2B2A-5301-B449-9702-B40CD450009A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9EB97EEB-6882-FC4C-9575-ECC8A5E02D3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4EB30828-3035-8A48-97BB-4A970307C3D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4E2C67CA-730B-4848-863C-CC759DEEC99E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/92AA2EE1-30B6-844C-A347-436522997970.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A0218675-1A96-7E43-ADD1-73719857E85F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F434F674-FFCE-4446-97E9-41A69BDDCBD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2E01EFD2-808C-0640-83DA-EFB4FAB4B6E1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/904A6114-BC80-4A40-A00A-6D715DCBFEDD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C41686F7-85B1-1142-85F6-D990E365247A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6F0B635A-0C6C-2747-B3CA-4C7224B139F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CE9002FF-6415-0D4C-B33C-639E21254745.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/17FC6471-8A21-6F4F-B331-0404E62FA62F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6BBDA021-26E7-4F41-B484-2622F3162F8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5ECD6028-7D62-2246-8933-E9B721EA8E88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/37C54A75-D14B-8048-90AB-20FA418CE878.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/707329EF-A827-CA4F-9999-DBB7F38C1867.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/75E8BCA5-5576-A146-8DA7-797FD41AA513.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2D1B44BD-9AA5-D44B-85F7-BA5453460D75.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7827378A-2FA8-D447-BD8A-C13D4159D83E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E28D9DFB-EB00-1E40-A47B-425667D7E064.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B9282424-DC7D-B641-8355-1D3469CD7466.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7F0D694B-FBA7-4F40-AFDB-319ABB30D04B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6FCF1A7F-F0D0-5E48-AC86-82ED7FA64FA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/91C0DFA0-4D74-5B47-B1A4-A638BF2ACAE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5B6E4668-8739-1E46-AE3C-37762051AB77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F110AD95-6F36-C14C-9198-3447BA2A72DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/1009B5F6-FF52-3042-A407-DA7BE4D82BFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0CC64558-4193-EA47-A6A0-12D61E8F9435.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/3C7FC079-0E7E-4042-857C-C0522B2BE9D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4BCDCEEA-1B2D-FC48-ACFE-1151F86D3C16.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/503A972B-7287-6A41-8E4A-AD403611E7F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/DEF7B923-786B-2F4A-B5F1-3096A56FD4C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A0A7B5E0-7E48-BA40-87B7-023D79066DFB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C603335E-11AD-A348-AB00-E63F0ACF4645.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F17DBC38-0D84-5144-8948-E99F35BD3630.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/507D7C63-C654-2148-B84D-525BF9A6F800.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AFC468D4-1F45-5E49-B5B7-227BB1ACBBFD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/72250B3E-1116-D444-A62A-4AEEF9F14810.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/B72A37E7-C767-734A-BF75-F48D992DE98B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/766001EE-7BDA-5B46-8009-B06A9511FE4B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E5E11F96-8AFE-FE43-9781-09FD16103061.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FDB67F29-1425-2C40-9798-2E160CEC1A3D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E2ACE56E-3D10-6242-8F8C-A568E36B9751.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/337DD454-486A-C34A-A9F6-B32AD85F4EF9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/DD72FF3E-F0A4-3646-A1AA-83B17CFF4091.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BC2A5774-0502-4240-957E-C2221240195B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/257C79F5-00D3-5948-9EC0-959B59B97F95.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/46DDA933-B79C-DB4A-86E0-0F98989C803A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E229F09F-E329-644F-BEE3-B8CF4586BE75.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F8F94255-F440-5D47-A3B2-160839107ABF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1BF2E0E1-8B6F-CE46-801B-74D23D15CC0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D10D4F35-67D0-D74F-9B6C-A6AB6079B5EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/17539CD2-F20D-B24D-8C32-915B3D54BD53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C46374A6-517D-9247-8527-20845EE422AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/131E113E-611B-0F42-849D-2925791A3AF4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/15E514D4-D97B-744C-A3A1-595CF5846B94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/65CA5040-D469-864F-913C-7ED95D3787CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1DC3DE8E-F301-9F4B-B011-BC4E313C2429.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/43827F3C-44A9-BE4D-AAC0-9F9678FD2759.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3989194E-E0C8-4645-A317-27F11F665369.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FFA6CCEF-E50A-754C-A0F0-B98420C6C185.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F86AF2F4-3CFD-414F-B4BD-0FC1053E739D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D22FC7C8-0ED8-314C-8E94-E172A746A740.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/517BB9C0-9D91-7846-84D9-D6C8D895C49E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B51DF296-0EA3-2441-9987-6A4FF5B84DA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D40708FF-D111-A74A-82B6-D60BCE6CD424.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D412315E-8ABC-9F41-8B41-18CDE238740E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C2929A70-D73F-AE46-B81C-89F42A0F6CFF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/77BDA6AD-A19C-DA4C-A986-7C31CFCA7648.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/35709E8A-D5C2-6447-8DD8-5381CABCCCC8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3102477C-2404-1F4F-8131-BFBC03FA559D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/74A7E980-A787-1745-AE93-C0862E8234CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/EC8B5236-6D7E-CE41-B0ED-251437C9776B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A48B4DDC-D909-D947-84C6-BE9B12D2D1B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A2C2C184-331B-F043-ABB0-7261FF7F74FF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/11959581-8C76-8546-840F-1E458E807C86.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AB4354EC-5AEB-E14F-94B7-4169A745675E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E99E6777-0AFB-4848-B048-2B4A8A037D62.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3A5FDEB1-DF30-D541-ABCE-F8129D54BA40.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/121AD78E-36E0-1644-AF04-86EC05D4E04E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/281B7688-9AB6-4449-88B8-12B905237F84.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/300791D7-276C-5948-9FB4-4A0B0E4DF08D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B3A798DB-CC61-A44A-8C35-F09FE1865C43.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E0DA7AE-D28E-DA4B-8330-ADAC3EA87AE5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FF7905E5-A5EF-574D-B058-68C97E682A3F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AB1E8EFB-CBC0-C04E-BD5E-0E0C4912A229.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F642A467-ABB1-1242-BBA1-3C31786D8367.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A6F239BF-9986-BB43-BCCC-430EA5A57382.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/612AE746-BDB2-6543-8835-E360787C52A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E387E358-E85C-654C-8A5E-C9FDB4056001.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6D19C814-99B6-D244-8DC7-9A52C26204E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E613522D-F9FA-D349-AEB0-21E04AD22222.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8F5CDCB3-5C28-064B-92ED-0A37394BA926.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E7526C27-64EF-974D-9118-1979EAA47E44.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0103F089-2BF9-5D40-909C-0546281233BA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A3B4DBD6-E620-2D4B-B1F7-31EDD1621178.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B94DD41A-FE2E-1E49-BDAC-7DBE01C1453F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B33896D9-6DC3-104A-8B11-4A0E3B670BDF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/78D3BEAF-FEE0-544C-89E6-C8B14AC7E077.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C09993E-06A8-8244-A627-0B22C169688D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/79EBD154-44C7-1841-B1F8-C56AD0E47171.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8A2F4262-2E33-2846-BC42-0FE8CBEC1C1B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/259D0F2C-1500-994F-96F1-4EF5E3F91C74.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A91D1D63-B4B0-D545-ACB5-7196643743F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/74C37384-FE00-D941-A21A-95CB0174D666.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D50F8222-EC9C-704F-8841-C196B0DFF9E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EE95F631-99F6-AE46-B7EF-0F6074C2DFDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9189EDD1-8D63-F54F-815C-48F331620EFC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/983C7775-D096-AA4D-BCC8-8DF6BD57C09F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/97D3C9A9-C23F-4E45-B32C-8D0E802F3AAC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B124F027-9CE3-2444-8A13-C3D94C17C96A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C599022C-F51B-1B40-9E81-504EBAE5AF46.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1D037EFA-1A1B-A04B-AD07-101EFA0222A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/96D52156-AE65-EF44-AC60-0D821A364A3B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/FAAF1792-F405-C545-8F42-D1A66E9F0A7F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6486DEB4-3603-034C-BBCE-BC4DBB594721.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B4AA02B0-283F-7245-9ED4-5EE17F630E6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5FF52192-ED37-3A41-90B2-514D9FE569D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/012998E3-805B-8447-84E0-EA58DBF92F56.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D908732E-2A41-CD45-979C-B273CA84371D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A26E2A5F-5666-954D-907F-69654B0339A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8811B8AD-F5BE-9C4A-A86D-BA9A42B88307.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CF76684E-A7BA-F544-8E2C-87255388900B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/E557D9E6-233B-9343-979F-B97FFAB00CA0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1F1B9324-4543-D942-B41B-3A29C79525E6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A586EFC9-03A6-5241-A2DA-31518EE7B2FC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5D164927-C7D8-824B-86EF-C3C5F0C13A5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4687EC29-9DA7-4E45-BF87-EC43222B210F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/79213568-36EA-D644-8C5B-C67B7E9EDDAE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D84EE470-A355-5C4C-9312-B9F22EB404DA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1C7A7804-8B3A-1945-8B4D-F55324D5EA09.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2792548C-D8EB-584B-84EE-246A760163A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2A3C0505-D299-C54B-9D29-5C7799B9BB8F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/64A026EE-A0B9-6043-B11F-60D94A2A432F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0EA7E367-859F-FB4F-B10C-2058C65282B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/28309035-9C80-6844-AABC-42626EB066F2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C840CE46-EF80-9E46-8F8D-E6D1C7FB5B43.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A9106CD9-939E-134E-9D40-8FA38180B999.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2A118929-B794-0840-9BB3-7B708F7BC226.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/60BEDCDD-E008-FA46-9052-0AAAC26AD3FA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/4289C0F9-3574-7A46-AAC4-3F079F862966.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F199E72D-E040-E048-A2F2-99CF89EA0458.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/17DCC48F-0109-C148-BA13-01D9B575042E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A8C8EBAB-D080-AD47-883A-038E6B8DCE03.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FE3EBF04-E726-0543-AF96-CE0852538E1C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B0A09CEA-986B-F64C-BD8F-F458DEAF453F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9370682C-11B9-A844-8C46-A9E27EF9FAF1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/75819ED2-5E0E-C448-BC2E-AE5FDB486BA8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DBAD7804-11CD-664C-B9A2-E66B7BB97FEF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/135C5F01-4492-C840-956B-4A6217F74E00.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0A68B9EE-D3AB-2B49-B8F2-96EB98A869CC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1F93D9FC-5A03-5548-A916-93612EFC7BDA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D0471C78-B523-1A42-B2B7-711FFE619022.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/95751150-946F-4C45-91F6-044BF35A196B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/32C5FBDB-57D8-4E46-85DE-3773F87A9921.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/797441DD-24D6-854D-8571-C1C003D9689E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/ED110CD8-CAA8-F742-9D71-181E7265EAF2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/2E1B4D18-CFA1-4D41-B01C-3D115C6D3D14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B3805647-ACEE-6E41-9382-8829F6BF3EC8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F086DADB-D7A4-3147-B120-F352426BC769.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A02950C8-9C23-9642-B46B-5AB49E5C4B5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/737123B4-18A7-B841-9080-A883E13A43E6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3448ED38-3743-914D-8650-41980D0F3C11.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/92F69D84-B5F1-B442-AEEC-731A58AB510F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1624178C-3932-C845-BABA-98F343DE32D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/61D8326D-1C38-3848-8523-CB34157B92EB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D9D5FF35-4B76-9B49-9E8E-D6B6DCB64E67.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/76D730E2-59C0-7A45-BF6B-9636C022D477.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C9755E58-3ED0-5C4D-9147-C8CB94D081A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FD12F37D-9170-9A40-B6ED-C387329AF2CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/5D0C77DB-26BF-8240-9A5A-168D3C2DC63E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/11152C81-96B9-C049-ACD5-3E3315C2AFB2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/4D4BB2B5-D273-074F-AC87-D0F3B623CAEA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/96907373-CDFA-604D-BCBC-2D3CA85579E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/454D3A53-48B7-CF4F-B4F8-07E39F3804B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/05F3991E-D6E8-914D-A34F-C47FC3018F5C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/666AA646-3EE7-4D49-9884-C8E002E02EF4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7D90C267-38DD-7448-8E70-75B17ABB5AD6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/1AD5BC6D-AE70-F240-9D10-D40B06FD16DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6573220E-9D7D-CB4B-839A-8E72841C2B0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/BBDEB5A2-7C88-EE4D-90AE-59B42C4E2110.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E4F33FE3-BBAB-A441-96EE-022286A4EBE3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/15839416-EF45-B241-BF3B-92CC7CCDD7FA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5D1066D6-7556-3546-8BAB-B25989937C91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4C86D695-757F-454A-AEE7-9A4A05DECA9C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C464D664-8BCC-2549-B2C1-999B71481EC8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/766C123A-8B77-9A4B-96B7-327C0FE608DC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1793AD15-9819-7D44-9716-0DCE7AC1E779.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/B3A659AF-1C48-8941-92B3-4B8F427DE6CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D7A530FB-AFD3-A345-8EB6-72E58E06286A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6CFAA1B4-2DE6-F44D-80F9-CF0ED54A7ED1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8EAA956C-F1E1-B24A-80A0-BC2FFA2128E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/442E84D9-570F-F34A-B36C-8F7E52C080A8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/03F1FA77-6F62-5E43-9D60-2C84595BDF2F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3C14BE8F-9111-064E-A28F-3567396C609D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C86F6E7A-DD65-BE48-9209-C0DD70447261.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/80F08B75-67FC-4148-8810-ABFDA8BB8B61.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/30272821-1360-4F4B-8FDB-0C13265595CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4B35701B-01B0-D04A-9F4F-4EBF4909DE91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E30F65E-C372-FF40-A3C5-F4C5EC559500.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/673F9421-7440-7742-98CE-F3F5811CB16B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5ACD9985-9E40-434E-9338-2E89E3168755.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/616B75EC-54A1-504F-918D-8C4E59C26FB5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E86E3BE2-6437-8F4F-AF2D-D573F18F76AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AC49CD22-AA43-B140-85EB-C91F00E7BE20.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2920AFEE-2E5A-8748-A7E0-403A00CF8EAA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F1130935-C845-E74C-8DBF-8B13F40FAD14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7C2CA7FE-631C-8546-9708-265F5BC37407.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/14892379-B56A-A448-BEFB-5C0E2A8C2F83.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FAC584C9-F472-7B48-8D12-0DFE1625A347.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/11CD4DC0-3D89-AD4B-9917-821270F6FC77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/01267310-59D1-9A4D-BEBC-86789D8E9131.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0E22DF56-5B09-AF4F-94AA-4C97593AC300.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2BAC34C3-E88D-8B42-831E-A5D6300B355E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/84C6970B-5309-1B4D-AB10-E1E5A03A51F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5F4E78FD-14F5-9C48-A83F-F67546C9D8E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/37611D9A-E878-A24F-A429-95B824A53ADB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6EA14773-114C-614B-8A49-60ED514E4588.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0735B1AA-28D0-E541-A402-A7C17FEBEE84.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/AED61D7D-29AD-F94A-AFE4-C5C40567A6AB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/6B780FD6-50FA-5F46-9669-F6DC98656A3B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F1A0A53D-5E4E-B544-9661-AE7C78C7A3FA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/80C28104-F705-FD4C-AAFF-318EE4B54808.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/3CC0073E-EC04-0845-AE72-797836D60B59.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F1CD5106-A976-C34F-9759-89ED516CECC1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C4618129-3D45-AF40-9785-29A2EB442C1B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/812BA107-EB6A-7049-91FA-11759EFAAB6B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7403C524-C201-9444-B1F5-F436C94353AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B4B9937E-747E-F24A-82F9-E490C37BE53D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E73F8834-C05F-A94F-8053-194B50AC7BED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/29BD2F48-3465-CB4C-AE64-7A456DB70026.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/7632C013-E5D4-074B-BD3C-DDF859179FBC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/74465830-908E-C743-A2ED-70E4BEEBD877.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/93F8641B-F020-BF4F-87C6-C9531818EC26.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3539047E-5CCD-A643-800F-193B96897CFF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/54D137CA-59FD-5847-97C0-23E032EC4342.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/FEAA1600-185C-6040-9189-19330E332065.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/74E7F778-26D5-5D40-AAE7-DC486071D1E1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B4DD1FBF-FB0E-014C-AD07-A392734E4493.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6C835188-5B82-5344-B59C-25A35BD6C973.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/4CF4B3FF-E058-E246-8F29-3F0285430241.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D0604862-EEF0-6242-96B1-ED7E1F166341.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/ACB0160E-2E53-E04F-A0F9-3CF5F6431A5F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/991F525F-C73E-424E-83C9-012461BC83D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/932F243A-6239-EF4D-8667-734E591EF16A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2CBF118D-EB33-0743-93A7-FC5693BCE024.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B32E5413-78D8-B446-81CF-3B219D6E9213.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2477AEF0-17D3-EC4A-89E0-7BB902E966DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/30288A67-B9D8-B645-8171-DCC19AA951DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/01ACED45-EB50-B545-9C8C-F438A021A00C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/98D5A94E-AFF6-5946-8131-9278A8E021CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9B51003B-9191-9A4B-B291-9191B4A258DF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/62CAAF13-FB4F-8B4C-80AD-B08AB0835307.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9D126AF3-5868-BF4A-8588-2DE35B2AF1CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FE4691C7-07B4-E44A-BC43-98C56BEDCE26.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/241AA555-6A83-B946-8C3E-52F4876C095E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2C5DC55F-7CD6-0E40-9F7B-32CFBE48A95E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D4334927-730B-AB43-B1A6-FADBA1BD9703.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AAA7779C-0BB8-594C-A899-C63C9D84756C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3069ED8F-91D4-FA40-A051-ACB5D573A223.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DFB420B1-81AB-0D4A-896A-A74EEA4CF53C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/122E4C6F-0B53-DD45-956C-B238EC716D57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/9207CA36-2E27-9F45-A173-AC971E74F7F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/66C44F39-6409-C043-B88B-AEA69B5B020F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/50A870DD-5E4C-DC45-9C9D-DBBAC1FB3692.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/77162C9B-30A2-F744-ACFB-73EFF99912D5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3C69C3B6-0513-DE4B-87B9-50282703F96A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/55DFD341-2BAD-C84D-8E04-F5AFD865C087.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B2285DB5-5F3B-BD44-8906-3F9F7E60BEDE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/75F4848E-1092-C840-8C09-798F7BC6EFD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1416AC2F-B232-CA42-B5FE-7DB147D1B642.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2F0B71AC-4B78-5C4F-88A0-A649F61C58EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/94DD60C5-C587-ED46-A0AA-1D61022D191A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/7A3637DB-FF6A-5047-ADB1-12FA9893D2FD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5909B519-6980-7048-8E01-E2497FCD57FD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2E8E2C85-D523-D84E-9BF9-7A2F520C45B3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C6CC3B4-138F-904D-957A-ADD1AB8061AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1307F835-6596-ED4C-8DC9-52BFC4EDAF25.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AED6991D-0CC2-4145-BC43-90C8AE34E266.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D2D75391-6418-6546-B049-82A4F300737A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0CACB4FD-6CB7-0346-BD92-2E9709A050CE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/473DF545-9EFB-B24A-8DA4-62A7A2B10678.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1FB4E9BF-5E7D-D245-A3D6-EF5CAD56EAAF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/67CB1928-6161-214D-9676-F016F17FE704.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2467AC89-7ED9-E44D-8147-F41610921AC8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/61ABF003-711C-8F4D-A059-F21FE7E52FA7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2C0BA319-6D59-704D-B403-37C288621D32.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A0625CB9-2CD8-0745-BA20-EC3ED92AAE0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D3216BDF-546A-924F-A290-BFD0E2A25439.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2B9E3519-E380-8E47-A868-839943E2FC28.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/713D0D90-7FB3-CA41-8AA7-2DC5994ADE76.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/14B0E763-EF4D-1143-A0DA-065D0502DF12.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/7F67ED32-3FC9-E24C-BA2F-AD0A944E4F63.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/76E83719-02F1-1247-84C0-AE6CE4A11C3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5DEA9B5F-2D33-AE42-8A5D-15ECCC501146.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/315F8D39-F8C8-5B49-B78B-077CB589DCB7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/4498860C-94A5-3D43-BCD0-24C1DE226BB8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/3D90B4CE-68C4-E643-939E-7F8F599B3A10.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/478F0404-0A88-ED4F-A289-50142642B008.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/95B89434-9EC8-844D-AA60-059478262D56.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/8C2B6A47-8C27-434A-A4F8-BFE7E1E33C7C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/9366FB03-1BCE-F34E-8B42-54F1E06C2150.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/340C9FA6-EAB3-6444-BFB9-F419E550C39E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E1C63AAF-7268-CA45-BEE3-932FCB46D33D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/4515233B-98F5-BF42-A0F3-DF82CFC553A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1108006D-6FD7-204E-8BE8-D636310C3480.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/50117850-2FEC-084B-99FB-B20C5BB032B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/AEC3EF6A-7ED2-DC48-8595-33C061A27210.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/EDBC1D4D-CFF6-7946-8A75-6A06170454AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/31FA8027-CA05-3546-985C-14863C06E3FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B3838BA3-1745-E147-98D7-07ED61E321BB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1C1AA934-D0CE-9549-87DD-B369061E2D11.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D1610EEE-4E56-3544-AB48-B61AFC48C7F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/38AEA178-BEB8-D84D-81E0-75E600BB3C88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/81190575-1A4E-9C47-96B8-C5C36BF3F8B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0B9488BF-54DE-1C4D-BAD2-6102561BF4CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6DD0FA12-B4D6-294F-BB43-9C1B9737F6E7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2F36E1E6-BB87-3346-839C-B38CBC325829.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/28279E6F-9F3E-2C40-B869-22D0D36EC9EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/EF472672-26A0-0A4D-AF99-6EEE632016C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/F4D0E59B-4740-2245-A3BA-BFAFA93B68D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/5D316BA0-C05A-424C-A284-EDB3FAB4F494.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/DD11C319-CFE6-6D48-B457-BC96B0F3F9A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/026DD6F8-8D60-F740-B987-2408C5E0EF6F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2FD882E0-BF39-5C42-8D0E-F62AF8674B78.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/941B717D-64B4-9546-8E00-F025F0700EA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/76CAE261-7264-5843-B2FD-D119F72DC54D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B066372B-F9E2-F54F-945F-47B123D21E28.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F782405C-A5A2-FF4C-B0AB-62E204EB58EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/22F911D5-A461-7442-9AF6-ED8D625E2484.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F4F118DC-1E7C-6F4A-8547-B4B7E134F06C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/48FF5F7F-435B-9844-9637-4A5B96B37883.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/49D8031F-31B5-B744-A09F-0AF83714AE1B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D7425ADD-1831-BE43-B356-57EFEB792E77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D1F8E798-0ED5-8E4F-8B2A-64D1E4B97735.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D5FA4E65-B3FD-E74C-A351-0485216CF5F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6090FEB7-7889-7248-B57B-2C63989F80F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/11FDA265-BFF1-CF4F-9122-E3AFEAF3E110.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/D2820102-7C70-E64F-BFC6-2CD381736FA0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/37024A1C-B741-F94E-9CFF-40E2B8552F58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/387482AC-637B-AD45-84A5-688CCA2D290D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/71662827-4B46-C54F-940C-49976DF9FBCD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/493A7DFA-0169-1B4E-B962-AB136A98EE46.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4C889429-5BBD-014E-92DF-4C6C38881B1D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/216434D7-0EC1-6F46-ACB8-0122A8F06D69.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/1096C3F3-F9E2-2A48-9F27-A033B65DC3DF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/57DE2D90-8712-FD47-819A-5EA6F29F2E91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/1BF2B801-F057-DF4F-97E4-2E62A7891689.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/B2CA76DE-7F17-8E42-A150-11D0115FFB09.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/3812BD22-7C49-F447-9883-6E2A0B7392A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4BF8AE53-E0BB-7A4F-9C5D-AB9DA64A383A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4688094A-002D-BD47-A15D-8070138A723C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/0C356767-66FF-F94D-AC1B-145DBC542D4A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4C9166F1-BDD6-434C-BD18-901516591857.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/FF81A6EA-CCE6-D648-B8B9-B42DE5DFEDA7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/24BB6259-B60B-2F4F-B4A9-D4648F208AF3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/667C6FDA-7559-A242-9AF5-03A5A4A324FC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/94960E7C-50EF-EF42-B772-C8BC7440F4F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A4CC42A0-FA40-F44D-93EF-934B61EC4CE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/56201C14-A310-0142-B56B-D6ACF71651AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E8847CCF-0F72-0144-BD67-1216C7054BD5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/15286603-55C0-AD4C-ABAD-9DF88C9A9281.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/835F853F-9126-B44D-85B1-F67A1FD289AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/A1C6823B-9D5F-AA45-A1A8-2C97CF937E7B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/830B3994-AB9E-C043-B5CE-3D78CC468D02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/4C404790-E2E1-E143-A2A6-8D1969DBA186.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/19ADE9EF-8006-7C45-99ED-363134E08EC3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/72DD7800-890F-4747-87C8-745EE9EFB6C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8256FF8C-4584-CC46-BF7E-024A4855FFCC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FBD577E4-FADD-484D-8802-0B7A30E09366.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/C131A4B0-D3C2-2445-AC84-23AC45E37B0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/AE70C6CA-3C20-FB49-9FD3-741AE6910365.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/0FCB3126-9E4F-774A-AA4D-2FEA20C8AB2A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/B522792A-9A18-DE47-83A1-5637B73A3E26.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/4C25B4B2-C5C6-5C4A-B701-C896FE29A186.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/83BA1BBE-7BEA-2842-A63F-0D2B264D6EF6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/26C696F0-128C-C541-851A-C12E4ADB0CA9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/E83138CF-9749-FA40-8DAE-FBCD3924BC7E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/0ABF8C73-63AE-CA4D-AAC8-D2C98168406E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/EEED3D38-3EDE-0F43-B8F4-EAA0B254A201.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/38973D74-0B4E-384C-9BC7-8B613A8BE1DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/BD591508-2073-C542-8E32-83117F0FB18B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/139E4E81-7B20-E646-AC3E-753AC5785F93.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/300EF790-494F-8441-85FA-E99B5FE12D1F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/6B721DFF-1360-6A4F-9C58-3669684FD26B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/BA38FF56-E01B-E447-8BAE-1A0A724D7344.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/8C6713DD-3A5F-3145-A735-A2A4351C0014.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/785337B6-5A1B-D94F-B82D-00F18653B5C7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/763925C1-1AE9-6344-8F9B-F21B65CEBA0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/7F4A2F32-E25D-4141-BFC0-5C96910DA16B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/4C7DE817-A42F-0842-9591-F6A1F8A8EAF2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/F79D789C-B7FD-9241-B247-F7778921178B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/31D6FF93-968C-E348-996B-193F3E049DD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/35438EEF-9C88-6042-88AE-0F5AAE7AA072.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/3D363D18-2E11-A846-96E8-A560E96D4423.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/3F298446-577C-EE4A-A2F1-AF4D304C3C14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/B95A55B0-126E-DD40-BA1B-49C28DBB708F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/6AB072C7-1A45-5F4F-BD10-6468EEEBF276.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/B471E6B2-7F54-EA47-9C3D-26AF1D82BD81.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/372B525F-F90A-E448-A462-F9DF7E5BB99F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/5B02D902-230A-194F-BA04-D078B4473EDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/53DFE52D-4D94-7B43-9213-D8871B207B32.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/7A555A29-D688-6E4F-871E-50F15A3D8E91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/8DE8E271-1D33-7346-8E0F-B64ACE6AB838.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/72720A05-1C51-6144-B04E-DED72F0CF458.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BDD1B57D-6069-634E-B5AE-BFE29E21EC6B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/34E15113-18DF-2C4A-B0A1-3BDA605B6EC9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8180C5C0-3CEC-EC41-BB47-F3C7EBFD5EFB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/2D68C17D-7D9B-EB43-8ADE-205002787B6B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/DEFB7F55-0AC1-A143-85EE-6119A5D1B3A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B42AD9E6-9155-4E40-B82E-AEB42F362F34.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EE449157-D6CA-0740-B820-81488FB8A2C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D0D5026A-2682-8842-9FB9-5F61BF6C0DC9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/9ED04C2B-6FF1-5147-9746-89445B132CBC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/9A35DE77-5425-DB41-A83C-17284494570A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/27FF87DC-D402-7747-854A-7AB3C3159BBB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8BE39537-B5E9-164C-9F6D-45253507E57F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/223B4044-88C8-F142-A4FC-29A6FC0E2444.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/691D3686-D7B5-C547-AA44-C99884EE1549.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E37430D7-367F-A546-AFE6-0C00CA1F5513.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/6F54271E-7160-A449-B3A7-88E56A686871.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0CF24AB3-6E66-4744-A63F-16961A801E70.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/CC644512-8D1B-874B-A168-AEDBCA191B1E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/34637F61-74E7-2547-8DA3-D795D23D0F57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D557F217-CB18-F949-B977-171752CC7708.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5CEC6085-B191-564D-B080-B38A0BEB67AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/FF6DA99F-16E9-9C45-891D-F76524D094FC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/E696111B-DBE7-3F47-A7C8-52C1E1FF8DB3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A22F9033-F9F8-554F-A56B-53C135762A7E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C9D6C9F4-BD28-5844-B147-B14B1ED1742E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/955833A4-0591-9844-B675-1A4DAD6B0DE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/66F0170E-A3FD-A242-8D8E-63BCED818CEB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2198D628-074F-3E40-AD3C-49B5801CFA41.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/76F1217F-FB72-3D49-BBDF-02A3D79B8DE1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/54248094-4D87-1348-8514-C46AAEC17C46.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/14DFEF88-4FB3-8A42-9B9C-4F56F42A00A3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/641EB199-138C-9541-8FC4-372F59995656.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/872825F7-EE30-4646-AC3A-3290E366F519.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EAEF3507-FAB3-C843-B2E1-62A0D532A607.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/14BECEB9-6596-DE41-81C9-CEBFAEA68052.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7BF4876F-ABB4-F443-A6D6-FBBDEB7796D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/20018B55-6347-E044-92C7-43ED691962CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E4531350-FC98-5246-ABF1-B85E50949ED2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/645DC679-0122-504E-80BD-6277A8AC7925.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/34493D20-AFC7-B541-85F4-1B2F408A0D9E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7F9F52EE-5630-8E4D-B444-F41F0E962587.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/84A5995C-B253-9D4C-B969-7A29F712C94B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F2FDAA8B-CDD3-8B48-B662-F3600E02A221.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BEF3E6E8-24F1-524A-962A-FEEBE7C653DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B3639CB7-5578-D449-ACA8-DE303A2C19D9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B66CD84B-6796-F549-A98B-C061E8847DEF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/135E0D6B-B74A-7C4E-9337-2413E2C441CE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C6765D08-9F92-8B43-B962-B3D8CE8EEC94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A0E4596B-4756-BA46-BD48-D3A35A0B85CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/611951EE-C76A-0949-881F-5E5A93563C8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C3AAA6EF-9C22-1C4B-8BD9-A3D3A0A11E48.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/97CE4176-1495-1549-9893-4BF0DFA6930B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E1BDD286-9F6A-8045-9E5D-E056CAC1351D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E4F897D1-484D-0A40-8208-999CA41EA752.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/3714CFFD-68FA-244F-BDB5-ABC73F96A2DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8D22C1F7-079E-1945-BDC0-C7EDB42FDD77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D9502056-F87E-EB47-AA67-B8BDD9DAF72C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F356FE96-924C-3C43-8E36-D9FCF1BCA782.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/44E9AC0E-EADB-814E-B44E-1DAFBCDE15C1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B242E2E7-FD72-8C49-9562-D35FB7487220.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/3DC1AD7B-70AA-8A45-ACFE-CE424A85947F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0C758D2A-3AD0-9D40-A9AA-D9AFA1F9A328.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/59034514-38EF-5843-8728-D6C84AB0D25D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/070FB8D8-3FFE-554E-B84A-BA28FF0A1017.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D4AB1635-5F39-0F4E-AB29-4B9715C5B907.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A6981B7B-EF19-FA47-848E-45999B267BA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/31F5EB12-7ABF-6145-92BB-36A5630508F5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E1CF594A-4D2D-4A46-AB78-5C585881F1EC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BBA24287-23D6-EF42-BB7D-805F535DFFF8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CC84617E-3190-5647-B031-6825628E728C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EB6109AE-CDC1-9B47-9E9F-83C7EA375035.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A6DED3F7-CA07-F042-8F6C-8B30B9765348.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A909DA1D-E6E9-6D4C-B8FB-0922473C724C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B05DF0F7-8D6D-8C41-BF1D-C1A96BC01DBE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E3BB1902-7E66-CF46-BC0C-9E0F24FA0BB6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/52B632B1-2AB9-9F41-9AF5-E66E1BB8E628.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/06366364-4E34-EA4D-96F0-3BC244D032B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/949ACC83-8E6B-B24D-A166-CABF33E8955A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/0FCC5AAF-1028-534C-A049-EDB132175734.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/77A0CDE6-13D6-CA40-ACB4-E9D3AD1EF351.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/92FA14CE-8B8D-3E49-8194-41D092E1E125.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/F3E8E696-2F89-9D4F-93C7-2C3534D07E02.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/743BA764-E839-514E-AE94-E4A0284135D5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/10296D03-81E8-9843-8C7D-5B98A5A74B7A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/E7ED39D7-13F9-364F-A0B5-51A08C7FA219.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/33A5FB78-1E39-CE43-A239-AE307C6C4537.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/281B7DDD-9945-BB48-82F0-7719DB254284.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D3E755B9-FE46-5249-A0A0-DB08E09BCDD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C7DC0391-148A-D249-8004-31357C6B03C6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C699E90D-1B9B-5E46-88BC-9AE9293E1133.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/82781099-F538-C143-941D-A0F953124ECD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D26B8C8A-484E-774D-BFEE-579A833AC836.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/64761B04-558F-9846-9AB8-9801A65878BA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8734B2F2-692D-7441-8CAE-A35A229FEB58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5284E218-A927-1F41-B604-96386D692BE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2B1C9AC8-9CA2-D94C-931C-DA34577510E2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/CFB64EF6-2DD3-D94A-A6AA-431407351CD2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/CF2BA763-B311-2E48-AD31-74A2B6376E37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7481505F-3527-A542-8861-012CB24F9C56.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/BD52DD39-3ABA-1742-B64F-CD67A14D5323.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/114B2719-2AF4-004A-AA97-452F40833D2E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/78D738F5-613B-0C44-B4BE-A97B61B9EF35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DBC27D04-FA34-A441-993D-8BA86032E617.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/431E2D66-698F-D048-BCB1-4061FDF66FBB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/CBE73AE2-A12B-4C42-B984-298D8176AA04.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A2A39A70-E11B-8841-B7CC-0A6144F67C4B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FD1C5F05-C1CB-C844-AD94-0ADA70DFC247.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/8B406278-10E5-3F46-9ED5-4CA5FE811D6E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1DB1ECC8-2F69-E94F-97AA-B70A75E57EA9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/02C17074-5FCB-E643-A726-2B25682E69DD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/B8C883A4-0E34-2245-B3C1-12F4340AE674.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/A270F83F-1D35-294A-A66C-86935210D0A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/2DFE3B9E-FDAB-D34E-B8CB-AD4390A86F74.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/2351A53C-A073-AD4D-A005-4DAA8FA29332.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/05A9351F-F282-EA4D-8104-80E276510E7A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ED918424-E48F-5B4E-A0FA-A625240C4CC3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9A359878-CA6C-3548-A725-228BF863758C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3BAD8D23-C219-E540-AE0A-4E144F263444.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BB230EC0-14FA-3C4A-97E9-39AFA8E7740A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/9F24AA3E-F7C3-DB40-90EC-F7099A94022A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/F5623F83-C2D4-1E4E-BC58-997AE5E6693D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/82ADFE20-530F-FB47-A942-E296704AD96C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5C1D9D50-C812-D94B-ACEE-D12EFD15CA64.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/E4024C82-26CE-9D47-9FB6-CEA17E424D21.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3A24EF6A-0412-9048-8BE2-DB9BF891A1D1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6F7B07A4-3B42-F443-8D1E-960C2950817B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0023F31D-307B-714D-8D2D-5B8B2CB6AFD1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/DF286879-E741-1245-88BE-072A387BFA11.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5E285695-D67D-3942-BC45-3165F45583BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/089D6239-C55C-AC4B-98E3-B6C6A1FBC408.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/EC5A1999-A98C-2848-911D-3218465F166F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5082F595-C778-B94A-96D9-E0388FB7A6F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EC1909D1-FFEB-CC44-A02D-D10F0626CA2C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A7015EB7-CFC5-184F-9DD2-9FEB8FBD48F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/EAED2863-F04B-7741-AC70-578427796F86.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/33AD1C68-D258-3043-9DB0-DF4C97EFDD24.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C9A9C1BB-52CA-3841-917E-D6D7907E404C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/60D4A8FC-BB28-904F-A813-52BC2135D06B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/357013B0-6820-D14D-9CFF-ADCFD742FD0A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/1706B48B-A5FA-3649-ADD1-1B7020FBB37F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ED6ABEDE-A35C-F64E-82F2-45730BC50864.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C43046C8-4155-4447-B5B5-C187BE7FE370.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9456E601-6B02-2B4E-8F2C-A290533F64D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7E58C508-49E1-3748-9A64-130322F7FB18.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5069B378-8613-334F-ABC6-C08D1EA34BFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9D4D3E3A-B6DD-3B40-A3C0-556ED4DA3316.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F77CFFE9-56F9-5F47-A760-5FA274957334.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FC4178C3-AE88-F440-A41E-8479C084367A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5271DDC6-476E-0647-A6ED-A370F81AC282.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/26002570-87D9-3A40-AFF9-72351701452F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7AB03150-B69E-194B-AE08-3744BC6B4D63.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/2C3A26BD-831F-CA43-8F93-7111724E409B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C3257949-4D01-E141-8684-56824BF3D265.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4681957E-6B81-314F-992B-6962F2D2156C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/13078C48-2974-834F-A28F-540D9818C5A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E2D9EFF-3970-3645-BD68-C8CEBAC3CD25.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/048DDEA7-750A-AE4D-B6FC-4B13DB024C4E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A802A997-33FF-544C-BAE2-5EEF0150A038.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/04792493-F1A4-0844-B819-1A863D126C16.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6ED29CA6-7629-9447-957F-52FD28B284F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/19CCB279-556A-0143-9B37-D2981AB2B673.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/310D5EFC-2D79-234C-8130-B8BCC8BA70F6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/15BB09AE-4DA9-8F41-84FD-9BA4F7685644.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B79A1514-A98A-9346-9AE3-40C96593D1BE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/26549F3E-42B8-5D4A-9D3E-5A3AF524A679.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/987E72C3-A51E-6948-A166-5B62943784C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6754AECD-0980-FF48-882D-11D5A8DAC797.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F9F7E9CB-F47B-6F40-8E93-6437A5F21D04.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/B7A3443A-6A26-1944-BD1B-93FB667FC6A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3DD55251-E3DC-3042-B249-D5D3F792D8B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A4230B10-5C31-3443-8D12-7E9D5758361B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/7561BF07-7A36-EA4F-B87C-4E087F1CA181.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3C77848E-0760-B44F-B424-29286A2D04B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B456896B-E2CB-2840-9B4A-071FD278F16F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2B0EEBBF-59D9-F648-A4BE-7C41FE253DD8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8CFF0894-C172-0241-B545-28B6435C10C5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3D177F7C-5032-9B46-AAED-DB1ABAB45C00.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/43E79314-E5B2-2F4E-ADED-917CAEDDD68F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3E10B366-990B-B94B-80A7-6E1480764BD8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/636864F8-D0BE-F743-90F5-52E76A38109E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/F0D9202E-75DB-6446-97F6-F0034412CF7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/05FA81F2-3477-3E4A-B7C2-70F30182D92C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A1EC1835-45B4-254F-9DA8-235D66E42044.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D618A057-4DAC-A443-B642-B07814C90982.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/72E2B487-DE1E-384A-83B3-BF749229D850.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/CB85A695-DCA9-6848-9EDB-C7D06A4253CE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/80FF9509-1A32-0B4A-91A9-B89610BA3A58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/01095C4D-2491-864C-A496-423AC7360F5C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/709528F1-BC13-EC45-BE02-1800BDBDD700.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/2962CDC8-0EBC-5544-AFB0-F208AAEA343D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8896B637-0501-CE48-B99F-F2A85C6D6F15.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/16652585-7F23-6349-96A3-E8911457B891.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/39668A4A-0161-4441-A6C3-24DB821A7898.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/74351B54-0C73-084D-BCA6-7CFFDCFB2103.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/764845D4-AAB9-D742-A392-6BB1D0BA0779.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/526BDF98-14AC-074C-B465-E631312356F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/9BC214C2-A0A3-7E41-B5A5-167A08755239.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E39EFD03-D571-3D45-955B-5E7718B0D800.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/29D78BFF-274B-B644-B4F1-604E8E7829EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1238BCFD-4015-C747-8F46-C255415DA307.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/86E3648D-709D-FD4F-BC9D-0D341ABD0E3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/05BA8D66-2A4D-1440-B7AE-A24FAD01B0A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/50D5773A-4DD8-3343-9D87-F975C8AAFF27.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/F4C005D3-6849-FA44-A7E1-FCF0C7D5A05E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/91DC3C27-3999-F648-9D44-B62095454AAD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/40AC1114-256E-8F47-BF8C-EE3ADE972352.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E8676527-14A4-FC43-9F29-59C4F2297419.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D0DC8FE4-B9D9-8B4F-8B03-DB2002EAC4DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/DED61946-64FC-F148-AF9B-99B99ABF4603.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4A567294-924F-3245-95A6-D62A17D50B0F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B8D02B08-DC2E-DC45-9B3D-DE293DBA52F3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D0E29E0A-A1A5-2F47-B373-3853604BFADD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BE4B5517-070C-E540-97BE-A5BE01E351C1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/73DB2A62-BA9C-5343-986C-71C349699D0C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BBC220E2-F2B8-1D4B-87B5-161720BE9D53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DD6DE844-E661-FF44-80A4-A3581EAEBB3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B4EC36AB-6F9D-614A-894F-3C21BFF34274.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B18ED358-48B2-BC42-A6F2-916CC8D2B26D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F32D5E39-F71F-2D48-94B3-C15087A16B9D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E9D7677E-434B-8E4B-B019-71C12B8A2444.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/129F0B02-575D-1C49-8479-3652CB96EE3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/039917EB-A91C-9F40-A9E5-4941DB94357E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C1C28F10-A45C-ED4B-9511-BF3CD5F892ED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/86970010-39D6-F74D-83AE-880B15809E45.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/803D9114-2527-2A49-8736-7A1604C6BBC4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/47391578-5C7A-3F42-B994-91C6FC637A40.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3C1AD450-6487-2045-AE7D-A349333E0ED2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B8A75449-267A-784B-B270-671D1F271512.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3022D949-5B37-B64D-A0AF-0513559588E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/37A21DF4-D9D4-D849-A352-016DD1E84343.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/041EC3E8-B4A2-E645-A33E-AEF70AF01138.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/7946300B-CCDE-C349-A7DB-A9B276474343.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DC588CF3-FE89-0749-B9EE-6321ACA98DFE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2760CF6F-CB60-B248-8B5F-03C15B7F40B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/12D073E8-1362-B048-8DFE-64F3DB19E43A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/65A3483E-79FF-0448-90B8-6E32D8BDFB85.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9B3BFCDD-A8D7-9D4A-9F19-C1C81142A169.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4419CAD8-ABFA-AB41-BA77-DDAC01967ACD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E74C3E5D-6C32-E446-B340-839F9EF48FBF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/95E2968B-FB01-5F43-B8F2-C2D38BE30AFB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6EF6B9DA-4F76-2647-8804-4E016E628D6D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8388D72A-395F-F546-9743-E11F037BA179.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/02D50BAE-B403-9E4D-B2E5-FF18E0CDC57C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/781B41BE-F0A2-6C4C-BB5F-C08B33F937AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AA21CCE0-67F6-C241-A4C6-692757329E9C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/DB42B87F-ACD9-1E4F-820D-280266830C56.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/27626756-1D05-E14D-A98F-C735CEB08896.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A2A7EC4F-2460-D443-AC9D-68CF6AA0BD07.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6EC021E4-63BC-5944-8583-4EA76F7CDB6A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B5B938B3-672B-EB4F-B55C-A243B1A395B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/80897717-69FF-384E-866F-B08AABC3182A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/73BC63E8-B719-8C4F-8A9F-DF6DC1617064.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/81948E9D-A2D7-FF42-8CFB-6E56C2CE4295.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B64E6303-0366-EE49-95AA-67F1B0B851BB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/7F3260B2-2E89-8C47-B17C-2FF0793550C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4E6856EE-FA3D-5341-994B-E5FA5513BBC8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EA6F44AA-6D4F-4949-B3B7-3C0BAC60E324.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/B312D773-2DD0-2546-AD59-0ADF9B7888BC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/94D49212-0EE0-5449-8F75-4AC3769832EF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/568C82F2-9F77-1D4F-9BAE-13479EF8CD04.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B0E8E1AE-F5F6-7648-B9A6-B0EE95E5972E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/90BC5E16-35EE-684F-AA4E-332E09076C4D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1984E977-A6E4-5C4B-9FA8-2EFD8F2C1D87.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/511DC9CF-6B64-7643-9A69-60B1AF5C2F88.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AA272810-4721-2B4C-B191-FC0CE5BF5A30.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D67CD621-9665-BD42-857A-6EF4FE657140.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DFDAE559-880A-3941-BC01-733B5887DD77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7CF18BD6-89C4-6A40-8148-38D05F7E96E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5EF7110A-FAF1-584C-BAD7-F24E8CD94BCE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C53FEE80-BCC6-E04D-B9DE-0C82F8F54B1F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3D40E60D-34BA-864B-9144-803BC62F319D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/94AB2D3F-C8C0-5F4F-9E12-F5C8656FD22F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0480F76A-100D-5148-A874-6F32C66AF7D2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CFA2F624-27BC-7A43-BFE4-810D96187457.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/66480159-83CC-054D-AF12-8A2F2FD1C6D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CC563F3A-E6E2-A94E-AB8A-86EB2750E19E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6D1FAEE8-5230-774A-BC33-E6FD9E309F40.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1557B046-0FD8-0C4F-88D9-59E3994AF4D3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B9B8204D-31DC-5F4F-8618-54F484E57D37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E7F5265D-BB01-6042-9869-7D530819F2F3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/889131A4-8893-8548-97DB-2864E5F9BB57.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/28B0E9E2-1112-4A4C-A7EC-8ED7761346D2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AC52B2A9-A233-ED42-A978-1C90F5B925B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9F4A5B66-F1E8-D043-85A8-DFAF6B697B8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0879747F-9001-4B48-A3AA-1AEAEF86E7E3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/749A84D5-C0B8-2A44-9357-ACCBA6019B8F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1747F4DF-08E8-BF41-8EB3-0D3BBB8E9FA8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3CBA6E40-3753-B94B-AC2D-90AE23560F5A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/79B76A2B-D1C4-9844-8143-4C7FE7DF92C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EC5911A8-9341-7A49-B70A-C3504A5CA1B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/7F33EE6B-34FB-AD49-97A8-C810452E682A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/34977E8F-B905-B941-8801-B5B48FD3261D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F2735A1F-9388-A144-A4FA-6D8ADF55D958.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FB0FD915-99EB-7540-9E11-303B13AD3704.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/20F3B49E-0200-0344-BC86-66FDFF9B73DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FCEEA1FE-C020-7B42-A170-9C574546AA34.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4CC08B81-EF50-8F4F-810D-257311FDED00.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/214C7FEC-1E3B-BB46-9937-8681D1D6C8AD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5D546432-2322-E545-A579-8D9B982748D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4AE500C7-9A22-3340-93D5-56D4DA07B716.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1156F2EE-B083-9749-8D28-7EED3064D452.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8EFC8188-9382-5A48-A43D-26B77D272E22.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B60C3C8E-CEB1-9944-ABCF-8D4478B58131.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D7B74D41-BFA7-A24B-A3B0-F80CCEB0733E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/77137B4D-292E-7842-87ED-00D7971722C5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9182F593-CEDB-F946-91A9-80DB1ABD0F53.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/70D34357-34BE-7C42-AAD3-64998FA0A693.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D71F24D0-5B24-F340-A7C5-ABBDEE755033.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A6D881C1-21CA-2C4D-AF3E-879DECB937DA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2702563E-B579-7A47-9CDB-796BF03479C6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7C94AC77-C1CD-7A43-B206-393253CF006D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3222EE33-2102-DB4E-BF45-DF6ABA8F916E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/BC89FCF8-1903-8D48-A0A7-05D99A8F675D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/C7356FF7-2EE8-D545-BD8C-03494E4349B9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/05BE97C2-833E-CE4C-A19B-065CCA270B40.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/540DA030-5D45-E548-9685-73E730FB33F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/AE1324F2-9DA4-CB4A-98AA-0EFC79BDE1A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/574151A7-AA30-0F45-880F-E19DEF61B55C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/D836ABA8-99F2-0B40-9F33-47D3A8D66C5D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5E1B77B9-2DF4-5D4F-B505-9FA3C5597273.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FF4ED2FE-05E0-1F48-A57A-78527AFAE168.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0252F647-066B-D144-8605-8F8FAD0B04A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2F074B68-9137-214A-88B1-93BF64365D3A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4FD56D87-395D-FC44-B817-EFEBE416CC19.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8CB8217E-96DE-E34A-AFB2-53F14B13DF43.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/8C25875E-1DE1-5947-AF03-4F652149A571.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/35C87E9A-5129-3F45-9B2B-82467CFFD6DA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/256915DC-CB9A-E24A-8E25-0051E2923996.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/5260A48F-4C85-C14D-A41D-CFB15900E368.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/DB51945E-98E1-8947-8991-8B9A9788F013.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/54991E59-408A-424A-8950-FE2906BD1AF5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/3A52156E-FF30-3243-9262-E469C2816EF9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/6CA4DF86-4E62-3045-A23F-D0A0545B55AC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A17DA1CA-E45A-5143-A3B8-3B9C060B4219.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/CF981C8D-91C5-DC4E-8B63-E1F7AB48F2BF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/E75763AF-71E2-334A-B0B2-BE67B46B1BCA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/C782C975-05E1-0C43-8EE6-97E8A8C9DF0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/65B112D7-9E9E-C649-A92C-9F2F6EF0C153.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/7A716DC2-D528-5F49-86D7-CF485CD771A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/305D9AA7-AD6C-A94F-8A00-AD84AFF9E945.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CD1BBE1A-AC39-B34B-8924-EA7E2AE3485D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CDB1AD6F-EDB0-384D-80A0-65B27B71DD33.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9474A996-C2F2-884A-9805-FB44C829C6F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4D011D17-1317-B74C-BE4C-4B876BCFA50C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6B4B7566-D162-8647-AD0F-C26609148E30.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C41E4D80-F4E7-6943-880C-5C7B359DC90E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A2227E4E-9245-CC4B-85E8-07A6CEB93878.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/68D9D722-C1AF-7442-8621-5037D068D0C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/15FD7D3D-4E28-E847-84F4-6EFC6EDC4944.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/D4859CC2-F86F-3C43-B20E-7BF4CC85D606.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/28811B6E-9FDC-DF44-8311-EAB33D1B4933.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/48598D38-4D4F-5A4C-A303-196517B8E9D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/AAD1B0E7-14E5-8A49-B0B6-DFC44C38AD8A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/21503AD9-5840-2F44-AAA1-235FB15A124F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/6E7A533E-5899-5C4A-A4BF-A795BF075021.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/D47BD6F0-CE45-4648-9184-CDF50B351A64.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A90BB117-8749-0E4E-AEF9-83ED6E9F7058.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/24E264DD-08B2-7646-A5B7-DC7EB0041B8A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/07E5369E-163C-AA41-B108-CB11B6403597.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/07DE6A20-6139-0D42-B583-BEE22DE60B94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ADD9CEB3-E268-7A44-A503-19752CFDB67D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/61169D5A-9437-574F-8AB4-C5DE4B3741AA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/214A7CCC-D5DF-B043-813F-8754A6765D5A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/74C9E6C4-C49E-0044-A1B7-C3A11B1235D7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/C3BD954F-B54D-7C4D-8B84-3C38F1CF5810.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AA161689-6D8B-D743-857E-45B81C13FEB5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/09A5AEA6-0730-1843-A491-F86E44CD6E8A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FE531B3A-4B79-604A-A63A-5E27B4AAABB2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/0D7CE8D0-1053-594F-84EA-65CFD2FE68F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/5587E4D2-025F-0F4B-9794-81311B3AE2B0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/10CF251D-4CEF-A941-BB44-BAA310B33092.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4F11D02D-58D6-8645-8951-A822047C2969.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/85FC2682-5064-FB4F-830F-AB685988E437.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AD5B6A18-5705-B14A-835B-2B4A4C20A1FA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/58C38D85-C5EF-C845-B9E2-402887F9FD98.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2D09F941-1F4D-474B-96AC-7B1443737F14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/B6616DF2-35CE-6A40-9E32-48D2CAFF2CFE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D663EE8C-DE3E-7842-8538-716AA6A25E00.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0C2D7AE5-F786-5F4E-A58D-69DCF2A9323B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F2689CBF-A10E-EE4E-9CA4-32A847FC05E5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EAC2D1D8-D51A-E543-87C0-3E628145FFC0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/07134C8E-6DFB-CB4E-A1E2-77327A3B749C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/DFAC5AF9-0B7E-BD4F-A41E-85B00741E7DF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/EFAAD7CF-CF9E-7F43-B6AE-13777C921A9A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/8EBC9920-1AA6-1C40-B756-751D139B91CF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/472A76B4-E084-8842-B201-51C4D2047722.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3D4E3A01-AA22-164C-8B65-8170E5EDCD37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/2809E4FE-6CD5-0844-911B-46B140D4FD51.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/BAD1A140-9054-4D47-B79F-9061CAD1C0C0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7213FC2D-849A-CF49-AAC3-6E23459907F7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AFE037C4-663B-5241-961E-06402B3FA215.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/36228488-9519-ED4A-B3B1-DCEE06A3A53D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/86B41660-C575-EA41-8537-6569483D4430.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/EE933AF6-5F91-DD46-B402-53D752CDC675.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/3A821912-0CC5-464D-AF60-DDF8EEB77DD3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/BAA5C045-6665-4941-9020-9ACD4C0ED912.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/7CE4314B-CE3C-2544-BD37-328F3CDFEE1D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/56E0BBDD-3097-1C4C-921D-7EE5B763B0D1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/33BAC7F8-3D03-EF4D-A8C3-B4D702FBA960.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1180CAE3-A6B5-8B4B-8834-2A04A047E5D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/29C45DD1-1195-7942-A789-8B7A21583246.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/02ED6D6D-71B2-0E46-8C81-1F7A8F48AF49.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/7146374F-281E-BB47-81B2-CAC72E936A01.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/E5F1EF81-56BF-A84C-B86C-745D0C73EA78.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A8CDD630-6A81-634C-938C-4439439CF887.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/1BB6B898-1834-994F-B9E2-416F1B984AB9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/F807D2BD-478E-0F45-A652-6D0C8D6AC094.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/14EE6FB2-49EB-3646-837D-2D41F6405E26.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B88A1822-8F9C-6E4C-B494-301C7102761E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/15089C1D-2E83-B843-8C07-62657A0ABD14.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B5DE8A89-F583-3146-B377-BA3932D2B727.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E1F2BEE4-85D7-4846-8EBE-1ECFCFB15771.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B404053F-09CE-0742-9761-41F82E7AEC58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0ECBCD1E-1D04-F74D-A951-3CDB12EBE7B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/21282813-CD72-004F-BF56-64570682F229.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/07891A7B-3110-1C4B-AFFF-A581B8B1E633.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/57A77D1A-6E4E-1941-B45D-54E9A3089D0A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4D06B31B-FA67-F743-9B73-F07B97DEA030.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6AFC90D5-9AEF-6D49-829D-5F95A7EEEA4E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B6B5EF59-3C57-EA4C-818B-571236DCE6F3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/46ED402D-4AC3-D046-A58A-6F338EF7526E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/904BA14B-A7E8-D546-A9D4-7E5BFF46259A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/E4E31219-36D5-314D-83E9-769FFC6B7E32.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260002/7452E4CE-A91E-2747-9334-B0C7A5C64321.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/0A2C4CC4-1F35-8D47-A8B2-4761DB359378.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A44EAF60-5CFD-4C43-9F66-F2EDC97FC6BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/324FAA06-30A8-814F-9363-B992172AC944.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5CABBA36-7D68-BF4B-BBF2-093F26CAA415.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EFFE06EC-2333-3E47-9AB0-4858FAF3B1AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/5651AF62-8B19-8F4B-AF34-F7DBD9B9CA6D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/6A4DA005-B1DB-0740-AD94-21DE965D27A9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D75C2C47-3AA0-3F41-B576-B6C09173A5D8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8E2FA85D-7187-C447-BFA3-F6DB7425110A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/76D64695-DD80-F540-8B3B-8DCD439AF7F9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F9D5D46F-3A03-5548-80B3-616F2CA2BB3E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/275C849C-6E68-AE4F-BFD1-5BD1A1628188.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E5D6CFFB-DAD8-7D43-8F72-E14F9C3A4DD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/707D24BA-4E01-3943-9499-7B8AB4FA9933.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/7EDC7321-A8A4-9544-99BA-35E4AECCB014.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/CF4BFE6B-4746-3344-9A5E-5B5956846312.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/887BFD20-48F6-5943-9BB1-F1F156DAE5BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/C17D0EF3-09E6-A249-A6F2-FAE08067CD99.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/380A8EE7-580F-3B45-9A41-6DEB4DAB88B7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/829CDD02-F2BD-E64F-BEEB-2CBCC1EBFC2C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/CEABC0DA-01B7-5D4F-A310-C4FFE8932E54.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/27450454-A1E3-1545-9948-483D8D56C599.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/7085A61E-AEA4-194D-8F74-A21260158E8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/16EC2521-3B81-2B4D-9981-B7D55704FE67.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/E09D2D82-EA3F-F642-8010-1DE998145597.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/23308B70-1529-394D-B61A-BEDB326A4B52.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D83E7857-7C6A-7C4F-A06A-DA53EF5D24FC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50003/411FCE33-2908-254D-ADB4-72C38DC3FDB5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/60609AF7-A4F4-C240-8546-0D36C73303E6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/03152067-E143-2645-B358-D049F8DFF371.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B0354274-1C6A-3347-AE77-B7EDDDECD56B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/A5F4BE72-1E0C-E74B-85DF-4D9B20056233.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/79152793-EE7E-D447-8076-1168FFD914E6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/32CC3240-8387-B748-934D-49A1ACB6FA19.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/E3E3AAB5-831D-2042-9FF1-EB29F7485306.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/9B63881C-09F3-9440-8C87-901E96F028DA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/7C578EF5-2994-464D-9F14-B475326F52CB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/8B13ECF1-F3AF-744A-B63A-387DC4489B78.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4032EB71-311B-8046-B9CC-950DB7A1A9DC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/84CC1565-1B0A-CC4C-8EB3-A6526312D612.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/81EE7257-44D9-754A-A47B-6EC096BBC554.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DC8F83B8-D961-EB49-AD40-C9D6EA3484E9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/56927197-FA98-8648-A603-8FD1C3EB2785.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/54269C69-3A51-3D42-BDE8-1F37253359C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/08C8E587-7B9F-904F-BDA2-604782F8282D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ACB4A115-620F-5D40-A9C7-62B943664A58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/FD00B9B3-7D5E-FE42-8BF9-1E0511749ABC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/33DBDB3B-172A-C74C-A509-A621929B5EC4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/56587F10-6097-FE47-943E-CA52DBF1492E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/A1CA191E-EF68-E142-9E72-874E5379EACA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5052664F-8D98-E944-8832-BC1E6180F006.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/EA6D9E99-B056-404D-B645-FDE5D0FAF88B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260001/33BC9459-E87C-604F-8CD5-417C0CCDE319.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/33E72659-AC4A-804B-916F-CC61D66A21F0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5DE50A06-D9B3-4B48-AC71-82E4FDF680D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/165E76C0-E354-CC4B-B571-5D7E0E606862.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F005E454-C30D-7440-9698-4947BB423D8E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/A98BABD8-F780-684D-AD4B-D9695B8B96F5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/654A988C-63A2-0844-996B-E7D24E56D2D6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/76A9ED45-5FA1-E145-86C8-9ABDADABC555.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6DA79FB6-63EF-1F46-ADD9-91EA9BC4CBEC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/37BAC21B-C094-844A-8A1E-6B102CB6084A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6DD1A518-C801-5644-836C-1562B21E6EA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/73BF7E2E-58AE-CC41-B2E6-A493629C081B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0B58D526-7156-9849-A85E-90AC2D58FC22.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/9A927E6C-C17C-4249-96BB-C21282218681.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/DE2FABDD-4180-8E4E-B0E7-6C13D0BD1E06.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/0ED30D48-81F5-E345-B76A-FDFB934A98F8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/337160F5-88A8-D048-9DA9-FAA12FA80161.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F65AB9F9-3B51-8C40-B7BC-8F017B8E849C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260003/D6EADEDA-AE19-2642-BD62-8927A0720253.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/DB5FD703-DD96-A04A-B15D-E8D32E228D20.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/37C1889C-F958-5345-9DFA-BCEFBC91FABB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1D760959-E631-2C4A-9D16-57D4DA79B4D9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F4531CFC-D094-5F4A-B058-4052A987E323.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C977C6DA-9779-D34B-B1B4-D1D7075278FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/8FDEB798-F783-F243-AAB5-6624E231ECF4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/59C38FE4-2B75-7E4A-862E-52F20C187CD6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/05A4520D-A8E1-ED46-8093-247EDCB946E8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/77995F60-4AE5-D84B-B17D-52EB5AC7D53B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/69593A7A-4D22-3847-955A-67DF195DE500.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B6AF995D-CFF9-3349-AB06-ADF4BEB2629F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/50DD1D35-AF32-2449-A7FD-410AC0C1443D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A6EBEF0B-D18F-EC44-BFA6-15851E79C21B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/BE19E2FA-80B2-1244-847C-31D9EEEB4CD8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/7F40F2A0-FFF3-234E-8071-B130CFE068C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/5643ECEA-09D4-304D-BD26-45F0DE0DB12D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E705E129-8E29-5E4A-B81E-040909A04150.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/3791F6BF-E80F-8847-A469-E3E9B1E4AC78.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/A67B5EDB-077A-C044-84A7-42551ED31629.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/07B53BBB-DBC2-B54D-9BF0-C0D60BBE1EAD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/96A8F268-9857-DF48-AAEB-92672A485607.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/B3D5F3B6-1554-D142-8C7F-09356AFC5E2E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A0000ACE-ED08-DF4C-88BB-126235CD4A95.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/21B766CD-2879-7142-99C8-39377B889418.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/F9229F54-4D5B-AA4D-B6D0-D9852A4A1F6F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/00BA5159-6DBB-744B-B169-55E87E4B3F91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/FBC17785-EC36-B544-821D-292CEB72395B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/3B1F2A89-CA70-434A-B160-0AC5D867D5BA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/6D565D14-D91A-4544-9179-4F2A72AC04AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/405867CE-0F55-DE40-9B6E-31F42BCA8230.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C53450EA-ABE3-D849-A990-B382B8C83F7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/633E06F0-40A8-CF44-8748-E263D1D92E05.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9C4067C1-0C26-BB43-A994-1C4406B817A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9C5E7A67-439D-AB4B-A79A-0692D5B972B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E90E8713-4151-A548-AF65-C0C7BD1009B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/3A47A90A-5FDC-9547-A4FB-2B1FE291C765.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/C04C546C-70F9-9242-AD98-B5FA6D0E0386.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D2FC10CA-6A62-8E49-BB88-1092FE61CD33.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1AA69A44-EE51-2C45-A2B4-9D17DA8A2B07.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/851352EE-2D23-7045-B333-DFCE71B248A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/A2168420-CBE3-6241-B0E6-88D4465FA5B2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/F153F12D-AF4F-134C-A4B4-2EDD528AD782.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/E0A0A907-46C3-D14C-ABD8-22095B6E9E07.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50001/2222E6DC-FE58-994A-8ED6-BEA4241F0ECA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9635A824-49DC-A442-9C00-80CFFD649C81.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/691467D2-D4DD-D14F-8E25-C54C2A75C165.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/E814F009-3657-DB46-8F65-D67991A66102.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/736CC945-833B-9B4A-838F-EC0172385BA0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BA9C0BF8-C9FA-234B-8635-C10742BC620E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/BE8CE38A-B8B4-B349-A658-A983612A2AAC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/A0A48B38-D36D-324B-915A-713BC6F7FBF1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/504C89AE-D66A-B54A-B73D-2AFD663EDB35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/0EB298CF-D9CE-1D4F-AA9D-B603F0C047A0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/D24C4D62-3D80-884E-A798-B3EDB1AAE13E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/967E9456-3426-E441-A4CF-CD4DD202D89A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E0F211FE-E94E-FA4D-8F41-A2374DEAB87F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D7F4A43A-AA5E-F245-90BF-248B57D3B662.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D4400D36-AD48-3943-BDFE-BC595023A3A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A8DAAAE3-F038-4A49-A0C3-031C52808AF9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/75852DAF-AFA3-B94C-BC12-FCFE56075A64.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1732A0FA-32D5-6D49-9DAA-8534C64BAA7E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/63F2B5AD-AD42-704C-B069-D715017AA9C7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AB0421D4-1EDB-DB44-98FD-E892AD2A64AB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/704E0041-76C5-634A-9C97-AAA513E37695.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/678A4C19-53FB-264A-9797-192AF39B9CD9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EFFBDEE7-6769-C144-92CF-CC88B4F7A78E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/426A802E-84C1-A84E-898B-8379862C037F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/85B2689A-498E-2845-AF4E-03249606F3C9.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C9BFB06E-F60D-D644-B54F-865EB49A432A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D17E0115-EFBF-1E4A-AC68-60E2596E61A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/957C1F73-844B-904C-A092-40F0D5C58F35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/941475CA-71B7-2843-A9E9-4DBEDFF7A662.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/22128C5F-8E28-6542-A314-EF09E21438B8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3A4520C2-C6F2-B744-B4A8-86085E40833A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BB94CE1E-B5C2-DC43-8800-0AE28C248636.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1B313D9B-D85B-9D4C-92E6-AE6E7DDF5BC6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AFE194CF-DC3A-DB49-A66E-FAED3C85CC84.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/D6AFD6B1-BBB6-2A4C-80E4-0D05E53C717C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9832A94B-0D9F-684D-9432-00A5E1EEBF39.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/932E264F-5424-8042-AA9C-73D08F8B4C58.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0F0BDFCF-D689-084D-8403-9BFAB0D8C2E0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BC812B1F-DA02-114F-A429-04D2E0EF78CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/34A80953-EF1A-4B4E-9A69-E47B176EB477.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FF3401B5-A8EB-2243-ACAF-EFBAB932A370.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B5BE7CED-AC34-184D-A86A-45B7F20042D4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F01E7510-D745-4046-9242-65F86F181C13.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E3375A75-8AA2-2B4F-A590-6AE862763B76.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/DBACF064-342B-8444-8006-ECEFE1171954.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/3BBEFEB8-FB2C-A744-B1CA-4767B8FCE249.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1459E166-EB29-0A48-9086-0BF727072D86.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/9F8649FF-DE15-6043-BD13-684789AF722C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/54E47FE3-B90F-DD49-AD76-8C5178040F3D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/CC237F97-948C-FD49-B22C-B5FC0142BEA1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AAA10220-42AD-664E-8290-F89110C4DA51.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3CA17F2D-9710-C347-B2D3-9C0158EA944A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/549D853B-5FE7-784F-93A6-94A5E895F7CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DD8CE852-F8C3-E34F-81DB-E73DA9998902.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C016D321-9FCA-F846-9E4D-642D4ADE31CE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1B840924-7696-884A-9E47-D7C673E7C9DE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/50833681-9AB3-1C4C-9CC5-5146D2F912A5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/37BFEE59-7C92-B943-BF48-D2F4C4A00B48.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FE508719-E4B0-DA46-847B-A3B9B9309771.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B8B6AC2C-BD06-6447-B34C-7B2596C05C71.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C957600E-38FC-EF45-8F3C-8E7A45B937D6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/BEF7F27E-A2CB-834A-8378-7A4ECE1F883D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8EA86A9E-8A1B-9949-AE1C-82D5A620F5BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0D5D3FE7-9AF0-0146-9F2D-325720C69050.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C5F7C3D8-A300-8441-925C-D73C73A28E19.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/5FDF28A2-E158-3F45-B446-1825FA6CFF50.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A53FF5D8-DEF5-4641-A617-D74D01A3CF21.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/695A6927-7D20-2E44-999E-8168B610DCE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3C988542-2BE9-3B40-97A4-9F770F22F5B6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3CCADA3A-C778-9246-B0C3-5A21DBBBB91D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AC07D478-F934-D746-B4A0-1D79384F3C15.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/958BCDF2-6FBC-A349-8BCC-62902B1C9CD8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1E78CC6F-15B2-2140-A2E8-2F0CA6F5AD16.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6A88D6DC-677F-264C-9E15-D458578E872F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/66D03331-9A8B-2E48-899A-7BEAD3E04E8B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F45B87C5-43D6-8E4B-A3F3-CB3601D1F8AF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F9A8F065-B6A3-3140-9924-558006D5B945.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/847BE99B-47B2-C641-8236-754D06B21F77.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/03B108D9-4B94-554B-A1DA-8FEBE4581CE0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CE26AC11-AA1D-AC40-80E1-B7A14051F965.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2580739D-CA48-5147-88CC-D6D094E9EFA6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/993AC3E0-2157-234A-9D47-CF18CF0369AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/FE294F41-8C9E-2643-99F8-40C883839617.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/267EBB9A-7447-2646-B500-AB63EB86266E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/83CE305B-2305-A345-BA16-CEA0EA9CA643.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/CD19EDD7-F9ED-FC4D-ADB0-CE07DF6BBF94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E44ED98C-3B6F-6D4C-BBD1-C35B0C141F30.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/E6AAFCB3-C940-B042-AD43-0AA98CB519F1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/724B7F46-C517-1646-986D-F001E88991EB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/AA41EBA0-4C94-AC4A-A7A1-CB436B4F1CBA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/748B1934-570E-9243-AD2B-624B26DCEE9F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/65EF83C4-3EE9-714D-A93A-309F933E9555.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/64703A28-21B7-214E-B656-40CF94FF4AFA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/70F31A94-DC83-3544-9081-0674C694A889.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/2B261188-A5DF-1C4E-9DF5-F5DBCF6FAFEF.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C26D8FA2-78FD-984A-B0A9-93C0D8530146.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6B0F4233-EF39-8F41-A7A1-88BEF7C7B86F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/00C6384C-F7D4-6341-A5E9-6B6FB9909BF1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/9843714D-8340-9649-9AE8-350DE84A82F7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AC21BC12-A7A5-4146-A773-C43BDC99B101.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ACDA35F9-601B-1B49-B990-536CE46A1531.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/15039956-58CA-C443-8AE2-A81C63D556C4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1417D697-3FF9-A442-9959-A7246B13DB52.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7944197A-DA73-2844-B04C-B3B753B00925.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CA326F1E-FF42-2847-9AE4-969246239E94.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AF36D411-B9F1-4E4F-8B60-B296B44E8989.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1BEC4670-6B26-8E42-9101-EDA74984952C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1A4A27AF-145B-9A43-8C02-DE3A8973F034.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1794BEAF-CAEE-8349-BB3F-34379004F031.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/7B5C783C-5F65-B047-BF43-D9BC16422426.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/4D68D92F-16FC-D941-B84A-735A76785446.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/C9E8F78C-559F-CD44-AF29-75B50D929CE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/01B3F446-1E00-4D47-9366-83C2CA3665D0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/F09F4FAD-A1A9-C745-8974-4B29D2A54978.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/93ED4AAC-8BE1-BF49-BC80-1D4AC528CBF6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/BE4B9CFF-6578-1F43-BD16-D3831D240D5C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5AED70AE-CE48-5A4E-95BE-3E312F2D965F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/42A69849-0A63-7040-B089-7493BFBA4E5E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/5E4DFF89-A295-D044-A67C-C0E8B5E46597.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/E5526105-7C8D-3A4D-9E78-C521A16168C3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4D097C5D-3023-C64F-8FF8-3D12A772FD2E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/90D9EAF5-809E-6449-A5ED-2731D444E20E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1A287AE6-781E-BC48-814C-0DA8055C3C4E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/21ECB591-6F97-6C45-BE9F-8EBCE6DC4A19.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C94F2778-9BF9-2845-B862-ACE203BA3C12.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C8D17571-14E6-2048-9BD3-E4BA4ED25635.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/FA4C76E8-AFFC-B148-8E14-831428A1F0E5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ED03D201-D33C-3747-8525-49C14032450E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1B2E8603-9780-0743-8EA0-CFA1707DC443.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/1F07A926-8066-6C4B-8FCC-FF1DCA9995E7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/CEEC38BC-57D0-C745-A135-08B838E8A8BD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/35EB0C9D-77AF-4C4F-994C-C0336ABCB470.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/09D7B042-AE8D-8D41-B914-B588EEAC1A9A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/FB334474-A32B-4441-B894-19ED1001DCFB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/280F1BBB-87D9-A14F-8C1C-BDD3B8917863.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/96CADFF6-E480-2A48-94E1-05EC758247CA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/3C885492-A386-B94C-959C-22379D8AD658.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/101D74D5-2743-CA4C-B5E5-D0313BCE49C2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/6FC26CBC-2D03-8142-89EC-1C9F6CD19CE4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/14EED759-EFFE-5446-8BF6-0A4AD0D3B3DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/27D8AFB6-E7F2-C940-BB02-A626D61CDB95.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/957B14DD-B448-F743-B632-527EE3DB0523.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/F49AB573-A0E9-C14D-A80D-7BEA03241F72.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/71D64135-04F4-AC48-B613-B62A584F7891.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6C064A79-14E1-5749-8A9E-6507F4BA3321.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260004/725369B2-0ACF-E447-93FE-DA7A1A1FAAA8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/FEA09D1B-38A1-D847-BABC-9C570E2D6303.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/78245FF1-DBED-CB41-8387-5D9523ECBFF3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/5508DDBD-62EE-C14B-82F0-A21D346B3CC1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/CA1BE32B-3C52-CC41-A28E-5CF005053E01.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CD43471B-A530-2A4D-8D58-86E1D24E1E10.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/7B7B2805-DA2B-6241-B2F6-B44D6ED5BF04.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/ABDB12A5-3B11-5E4E-9941-C4FE116DF8DB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/65063482-0810-564E-A913-DBF8968BDFD5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/B1808BE9-FFDA-3040-86D7-1FC335DB9B74.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/38E81260-B62C-654C-884A-64BD863B546C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/DA9A59F0-834E-8C48-BEAC-1BEACB5C2D7B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/A9969F0B-8E47-824E-9C05-CD7D3D5C0310.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/F790CD26-7907-3948-83F1-8E14576CE5A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/8D09D47A-7BCA-234F-886C-CC855684651A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DD293D49-D268-E24D-AD4F-D39B78B455A6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EC1B6F06-4CB9-0F49-968A-D3AB8038FD7B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B1ABC104-1E09-DE4F-B43F-4C2E985D0D40.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/2BF03066-3795-2142-B1B0-10392AFDF8B4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A6C6E324-A322-184A-A6FA-65DFCB7DD564.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/D3CC8B14-8B44-2649-8DB4-DB7379C23C2E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/6157F09F-034F-7645-BF2E-88EC48E5745B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/AAA1622B-06AE-F64F-8949-79DB143808CD.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/B5847F79-6178-9A46-B963-1F03ADC78863.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/70087897-8513-3244-A0AC-3C5301434EB8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/EA74B42D-914F-204C-A516-149D124A7F25.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/0FF89D80-FACD-BA44-8F04-460BA7331EE4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/CADF5410-6C13-B446-93AD-CBFA763B1CF5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/C6182B22-75A3-DA4D-AC5E-20905F71FE6B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/CFC34184-D9E9-2746-8BC9-5A26109823C8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/91A0162E-887C-2447-81D9-7873881C0071.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/A588B627-CF9A-C146-A1FC-387C02852AC5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/1388FD49-32E2-124D-839C-2AC1DB507DD3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/8062A7D5-78F1-5148-9A7D-EB7DD6A3EC87.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/A073B8A4-16C0-1045-8B3B-AA4D83EED220.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/3E35A25D-FF40-2146-B170-B6923CE0C5EA.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/75DC39F5-C38E-1044-BD8D-0A0DE5B8B515.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/742053E7-111C-EE4F-8DAB-C114DF9BDF50.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/74658A7A-B39A-AD4A-A81D-CB0820AA7F92.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260005/7442C0BB-8AFF-0A46-AD92-EE81E436D3FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/81BAA2DF-2BCA-3B4C-9DBB-A4D72EEC744F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/DC7E0133-5063-044A-9C29-A10FCF4B0C91.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/4264177B-AD84-7C45-A048-AD6237A87BBC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/260000/69E6A8A8-CB9C-3D40-83CC-C8EFCE117AA8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/C76B9889-581A-B04C-A7DD-073D42F54E7D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1C5678E1-F9D6-EA44-AE8C-4FF73D76E34B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/26291656-5B36-2041-8DB5-B59100F9143E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/DEA2ED42-E74E-1344-BB10-D70FA87A064D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50002/CFA4B5C6-2A62-DE45-A8CC-F5E9AF653F38.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/9B61D8B5-79C2-0842-B5E5-A1491C305BA0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/1CE664C3-C6EB-294F-988E-56104A3569B5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/50000/82CBE132-E3CA-A347-BC81-BAF8EEF693F5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/310000/2EC7E895-9842-3D4B-8502-7D0F40AEE720.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/310000/FD304915-6D46-3642-B72A-BBCA273CBB70.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/564144AB-B167-1441-9A8E-9C25BA9559E1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/3ED5868F-2541-6349-9B63-94BFD5212E2D.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/0F058116-3F99-A149-9EE3-E03590643A9A.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/2B8994AF-0A14-6D42-BB86-EA619E20ED37.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/E91FF65A-4323-B441-A14A-52D4FB81ABE5.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/AA35E438-A87D-174B-B680-F6EC80F08DC0.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/7F124419-312C-7B4A-8133-2FDF7DC4E7FB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/320000/FBFCC937-4DC0-A94D-A6FA-6B9C39E1581F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/8A19CE18-3E3C-A44D-BBB6-1A22C3085FAE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/30000/78888B58-F5CC-6B4B-A972-C7C661ED3AA3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/2271567F-BDF4-654B-894A-CB9877354BD7.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/A5A9AB6D-A0D6-D040-BA46-2422768C878B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/74A95AFB-E863-BF41-93A2-006409618402.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/0DBFDF07-1B60-944E-A9BE-87EA87D428A2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/3CB37172-54F3-BB44-8442-989C53AD4086.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/8A6C4654-E76C-D446-BE6E-800711BD6B35.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/AC7CD485-87A3-E246-AEF2-D59D4EC82FE6.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/F3420039-BF44-D945-89C2-7484B8B27F0B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/2932AF6B-BAEF-A840-BEE6-7865CD98F6ED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/254DD528-C0F0-E14E-BA3B-C0D50FEDB19E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/5B5FFACE-9757-2648-9573-354760EABA74.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/4F2360DB-ED6C-7143-AA11-70D2F00C6A09.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/E0A5093A-CD6C-2B45-AC0E-7C907DCAEDED.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/9BB50975-A317-9749-BAF2-CFF3E69EEE74.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/E129F16A-D854-6C48-9A5E-501B14B4C0F2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/6037EEBE-6D9A-9D42-9A7C-E99EAFA97BF8.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/07A34712-74B2-054F-862C-598F230DEB90.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/B8979681-B672-AB47-98A9-1FD8248EA8A1.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/D7EAA94E-BD37-E043-BACB-6B777F3B2BC3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/11C8B4BE-1A33-654E-9342-AD461C0F506C.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/D02B0DD5-2977-3743-9775-B30C0344836F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/8CB9F043-098A-E541-A9B7-A82EC1A4BDB3.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/97FF1747-46C9-5A42-B11F-B19350576EDB.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/BDF43FD7-66E0-D647-B286-6AEC8B654917.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/88612CF0-9C1C-B24F-A32A-7606DF900D6E.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/CC8E843F-BE78-CF4A-AFF3-BA12639E85F4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/E170D1F7-8658-F242-875A-462753955D9B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/A8F7D41A-D276-EA4C-9247-93DD66DBCEDC.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/84B07F8C-5139-EE4E-95C3-AAA04257781B.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/E285D94E-C15C-354D-9CCC-D4CA6BC0428F.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/9B3CF1C0-0826-1540-9434-B4992216F732.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/D9E578BE-0F97-224A-9F78-8B322B0758A4.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/0680ACAB-CDAA-4240-AADF-50B2E971F980.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/2ADBC5F4-7A68-A147-A871-F06607A797AE.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/96E20DF5-822F-9C41-8FB5-81290D14FFF2.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/5D104D6F-8E19-804C-A506-2453748CC835.root',
'/store/data/Run2017F/MET/MINIAOD/UL2017_MiniAODv2-v1/120000/9F651E52-55CF-C54C-AC74-54293E291BA7.root',
] ) | [
"hiltbran@umn.edu"
] | hiltbran@umn.edu |
2a4bb876620ba1ddd3603d56c0d7ad88280b0fb5 | ffe969e078e6b2af7aaf111339921a4d3e3c10eb | /spatialdata/spatialdb/SimpleGridAscii.py | 3ceea300981e8bbbad0a419c59a6a7d634631ad7 | [
"MIT"
] | permissive | owenschris/spatialdata | bd91881a854043b5d51cf45b99b2180eda1b104b | cff9f8efe91c1e1f145c79c8cfef49f7595b8ed3 | refs/heads/master | 2020-06-28T03:49:30.473787 | 2019-07-29T19:02:13 | 2019-07-29T19:02:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,663 | py | #!/usr/bin/env python
#
# ----------------------------------------------------------------------
#
# Brad T. Aagaard, U.S. Geological Survey
#
# This code was developed as part of the Computational Infrastructure
# for Geodynamics (http://geodynamics.org).
#
# Copyright (c) 2010-2017 University of California, Davis
#
# See COPYING for license information.
#
# ----------------------------------------------------------------------
#
## @file spatialdata/spatialdb/SimpleGridAscii.py
##
## @brief Python ascii I/O manager for simple gridd spatial database
## (SimpleGridDB).
##
## Factory: simplegrid_io
from pyre.components.Component import Component
from spatialdb import SimpleGridAscii as ModuleSimpleGridAscii
# Validator for filename
def validateFilename(value):
"""
Validate filename.
"""
if 0 == len(value):
raise ValueError("Filename for spatial database not specified.")
return value
# SimpleGridAscii class
class SimpleGridAscii(Component, ModuleSimpleGridAscii):
"""
Python ascii I/O manager for simple grid spatial database
(SimpleGridDB).
Factory: simplegrid_io
"""
# INVENTORY //////////////////////////////////////////////////////////
class Inventory(Component.Inventory):
"""
Python object for managing SimpleIO facilities and properties.
"""
## @class Inventory
## Python object for managing SimpleIO facilities and properties.
##
## \b Properties
## @li \b filename Name of database file
##
## \b Facilities
## @li None
import pyre.inventory
filename = pyre.inventory.str("filename", default="", validator=validateFilename)
filename.meta['tip'] = "Name of database file."
# PUBLIC METHODS /////////////////////////////////////////////////////
def __init__(self, name="simpleioascii"):
"""
Constructor.
"""
Component.__init__(self, name, facility="simplegrid_io")
return
def write(self, data):
"""
Write database to file.
@param data Dictionary of the following form:
data = {'points': 2-D array (numLocs, spaceDim),
'x': Array of x coordinates,
'y': Array of y coordinates,
'z': Array of z coordinates,
'coordsys': Coordinate system associated with locations,
'data_dim': Dimension of spatial distribution,
'values': [{'name': Name of value,
'units': Units of value,
'data': Data for value (numLocs)}]}
"""
import numpy
(numLocs, spaceDim) = data['points'].shape
numValues = len(data['values'])
names = []
units = []
values = numpy.zeros( (numLocs, numValues), dtype=numpy.float64)
i = 0
for value in data['values']:
names.append(value['name'])
units.append(value['units'])
values[:,i] = value['data'][:]
i += 1
numX = data['x'].shape[0]
numY = data['y'].shape[0]
if data['coordsys'].spaceDim() == 2:
numZ = 0
if (numLocs != numX*numY):
raise ValueError("Number of locations (%d) does not match coordinate dimensions (%d, %d)." % (numLocs, numX, numY))
else:
numZ = data['z'].shape[0]
if (numLocs != numX*numY*numZ):
raise ValueError("Number of locations (%d) does not match coordinate dimensions (%d, %d, %d)." % (numLocs, numX, numY, numZ))
from SimpleGridDB import SimpleGridDB
db = SimpleGridDB()
db.inventory.label = "Temporary database for I/O"
db.inventory.filename = self.filename
db._configure()
db.coordsys(data['coordsys'])
db.allocate(numX, numY, numZ, numValues, spaceDim, data['data_dim'])
db.x(data['x'])
db.y(data['y'])
if data['coordsys'].spaceDim() == 3:
db.z(data['z'])
db.data(data['points'], values)
db.names(names)
db.units(units)
ModuleSimpleGridAscii.write(db)
return
# PRIVATE METHODS ////////////////////////////////////////////////////
def _configure(self):
"""
Set members using inventory.
"""
try:
Component._configure(self)
self.filename = self.inventory.filename
except ValueError, err:
aliases = ", ".join(self.aliases)
raise ValueError("Error while configuring spatial database reader "
"(%s):\n%s" % (aliases, err.message))
return
def _createModuleObj(self):
"""
Create Python module object.
"""
ModuleSimpleGridAscii.__init__(self)
return
# FACTORIES ////////////////////////////////////////////////////////////
def simplegrid_io():
"""
Factory associated with SimpleGridAscii.
"""
return SimpleGridAscii()
# End of file
| [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
3b223b98e75e175b03ea13247772ea494072be9e | b196bfc09b5bc917502603f0ddff608a916283d9 | /parcial.py | 2abe2e382757f7c52b1b267a9bb07991352ca784 | [] | no_license | RaquelNeedsCoffee/Cripto | 2f9ea1e15712bf022f6d044278514a46bd68665d | 7fcc426374dfe9ec80596ddf9319d380b4182d39 | refs/heads/master | 2022-05-12T02:09:23.657781 | 2017-11-28T17:43:33 | 2017-11-28T17:43:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,633 | py | """
Código auxiliar para el examen parcial
"""
import numpy as np
def galois_multiplication( a, b):
"""Galois multiplication of 8 bit characters a and b."""
p = 0
for counter in range(8):
if b & 1: p ^= a
hi_bit_set = a & 0x80
a <<= 1
# keep a 8 bit
a &= 0xFF
if hi_bit_set:
a ^= 0x1b
b >>= 1
return p
# GF product of 1 column of the 4x4 matrix
def mixColumn(column):
mult = [2, 1, 1, 3]
cpy = list(column)
g = galois_multiplication
column[0] = g(cpy[0], mult[0]) ^ g(cpy[3], mult[1]) ^ \
g(cpy[2], mult[2]) ^ g(cpy[1], mult[3])
column[1] = g(cpy[1], mult[0]) ^ g(cpy[0], mult[1]) ^ \
g(cpy[3], mult[2]) ^ g(cpy[2], mult[3])
column[2] = g(cpy[2], mult[0]) ^ g(cpy[1], mult[1]) ^ \
g(cpy[0], mult[2]) ^ g(cpy[3], mult[3])
column[3] = g(cpy[3], mult[0]) ^ g(cpy[2], mult[1]) ^ \
g(cpy[1], mult[2]) ^ g(cpy[0], mult[3])
return column
def trasposeState( block):
state = np.array([block[0:4], block[4:8], block[8:12], block[12:16]]).transpose()
return state.reshape(-1)
# GF product of the 4x4 matrix
def MixColumns(state):
state = trasposeState(state)
for i in range(4):
# construct one column by slicing over the 4 rows
column = state[i:i + 16:4]
# apply the mixColumn on one column
column = mixColumn(column)
# put the values back into the state
state[i:i + 16:4] = column
state = trasposeState(state)
return state
s = [0x1C] * 16
print(s)
print(MixColumns(s)) | [
"raquelpa93@gmail.com"
] | raquelpa93@gmail.com |
5e72c642dca62cd1f5bc2f5aef72ce0153636ca4 | 3dffe15fcacfc63cec4669567903f128abb37b01 | /webapp/config.py | 0f6d75a3e3a00fd22d5e578664efbea0814a768f | [] | no_license | YanshengLiu2000/search-engine | 60a17cb2346d8fba1f8fbdc3e106a9fa0a344a1e | 1fd690f32cc6ac6fdd1ddae4f2242c375c9edc2f | refs/heads/master | 2020-03-22T19:11:45.032184 | 2018-07-11T02:56:35 | 2018-07-11T02:56:35 | 140,512,319 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,012 | py | import os
"""
This file stores all necessary directory may be used in other part of project.
"""
print("this is config.py.")
ROOT_DIR = os.path.dirname(__file__) # directory of the project root
VEC_DIR = os.path.join(ROOT_DIR, 'vectorisation') # store all vectorisation part
FQ_DIR = os.path.join(ROOT_DIR, 'fast_query') # store all fast query part
NECESSARY_DATA_DIR = os.path.join(os.path.join(ROOT_DIR, 'static'), 'models') # store all models and model files
MODEL_DIR = os.path.join(os.path.join(os.path.join(ROOT_DIR, 'static'), 'models'),
'doc2vec.model') # directory of doc2vec.model
UPLOAD_FOLDER_DIR = os.path.join(os.path.join(ROOT_DIR, 'static'), 'upload') # upload folder
DATASET_DIR = os.path.join(os.path.join(os.path.join(ROOT_DIR, 'static'), 'models'),
'similarity_matrix.npy') # directory of similarity_matrix.npy
NSW_DIR = os.path.join(os.path.join(os.path.join(ROOT_DIR, 'static'), 'models'), 'NSWSC') # store all articles in html.
| [
"yansheng.liu2000@gmail.com"
] | yansheng.liu2000@gmail.com |
c29d93b4345563eb21941c1364ae9a573eb359fb | ae7ba9c83692cfcb39e95483d84610715930fe9e | /jw2013/Leetcode-Py/3Sum Closest.py | f238c6dd5b0d8f2cef6c9512aa07e707763d23f7 | [] | no_license | xenron/sandbox-github-clone | 364721769ea0784fb82827b07196eaa32190126b | 5eccdd8631f8bad78eb88bb89144972dbabc109c | refs/heads/master | 2022-05-01T21:18:43.101664 | 2016-09-12T12:38:32 | 2016-09-12T12:38:32 | 65,951,766 | 5 | 7 | null | null | null | null | UTF-8 | Python | false | false | 779 | py | class Solution:
def threeSumClosest(self, A, target):
A, result, closest_diff, i = sorted(A), 2147483647, 2147483647, 0
while i < len(A) - 2:
j, k = i + 1, len(A) - 1
while j < k:
diff = A[i] + A[j] + A[k] - target
if diff < 0:
if math.fabs(diff) < math.fabs(closest_diff):
result, closest_diff = A[i] + A[j] + A[k], diff
j += 1
elif diff > 0:
if math.fabs(diff) < math.fabs(closest_diff):
result, closest_diff = A[i] + A[j] + A[k], diff
k -= 1
else:
return target
i += 1
return result | [
"xenron@outlook.com"
] | xenron@outlook.com |
8cef540b7031889c875124df46fef2f95bbe5b00 | a48c9a66e77847b864de6383616877abd8f6bb54 | /myshop/urls.py | 2d24dcc8b7c26ce093db8aa6afa98785073a24bc | [] | no_license | maniprasadarava/myshop | ecd7d60e3297f83d8faf733e179e88b724024c0b | 233e64cbe737038f17c784a27bd9c20972559e76 | refs/heads/master | 2023-04-26T09:58:08.531975 | 2021-05-26T19:12:17 | 2021-05-26T19:12:17 | 273,704,281 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,108 | py | """myshop URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path,include
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls),
path('cart/', include('cart.urls', namespace='cart')),
path('orders/', include('orders.urls', namespace='orders')),
path('', include('shop.urls', namespace='shop')),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT) | [
"maniprasad393@gmail.com"
] | maniprasad393@gmail.com |
d67f4e26bc749d4a8b379637707bfbfe32e90767 | 21f0c410a2af0550c2c4b4a53ba7b0ee81ff69d4 | /src/admo/frog1.py | 726edfc354854a7fc004886d142e7fecae80ba59 | [] | no_license | mokumokustudy/procon20190203 | ea21466905014749fe1ce23dc8a132364381fb1d | 3f022076c1e17a0f358f3502e78a406916538930 | refs/heads/master | 2020-04-20T10:20:13.046162 | 2019-02-11T06:54:47 | 2019-02-11T06:54:47 | 168,787,867 | 0 | 3 | null | 2019-02-11T06:54:48 | 2019-02-02T02:57:40 | Python | UTF-8 | Python | false | false | 629 | py | n = int(input())
inputs = input().split(" ")
l = [int(s) for s in inputs]
def calc(rl, ns, skip):
v = rl[len(rl)-1]
# print(rl,v,ns)
lrl = len(rl)
if lrl == 1:
return ns
if lrl == 2:
v1 = rl[len(rl)-2]
return ns+abs(v-v1)
if lrl == 3:
v1 = rl[len(rl)-2]
v2 = rl[len(rl)-3]
ns1 = ns + abs(v-v2)
ns2 = ns + abs(v-v1) + abs(v1-v2)
return min(ns1,ns2)
else:
v1 = rl[len(rl)-2]
v2 = rl[len(rl)-3]
return min(calc(rl[:len(rl)-1],ns+abs(v-v1),True),calc(rl[:len(rl)-2],ns+abs(v-v2),False))
print(calc(l,0,False))
| [
"chata@chatanoMacBook.local"
] | chata@chatanoMacBook.local |
be4ac5c6d8b9fa18a82fd22b50afbe6ab4ed82a3 | 5d48aba44824ff9b9ae7e3616df10aad323c260e | /hash_table/720.longest_word_in_dictionary.py | 9cf5887e1a8e181c3ca6ea2ae7b6789aa39fe30f | [] | no_license | eric496/leetcode.py | 37eab98a68d6d3417780230f4b5a840f6d4bd2a6 | 32a76cf4ced6ed5f89b5fc98af4695b8a81b9f17 | refs/heads/master | 2021-07-25T11:08:36.776720 | 2021-07-01T15:49:31 | 2021-07-01T15:49:31 | 139,770,188 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,233 | py | """
Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one possible answer, return the longest word with the smallest lexicographical order.
If there is no answer, return the empty string.
Example 1:
Input:
words = ["w","wo","wor","worl", "world"]
Output: "world"
Explanation:
The word "world" can be built one character at a time by "w", "wo", "wor", and "worl".
Example 2:
Input:
words = ["a", "banana", "app", "appl", "ap", "apply", "apple"]
Output: "apple"
Explanation:
Both "apply" and "apple" can be built from other words in the dictionary. However, "apple" is lexicographically smaller than "apply".
Note:
All the strings in the input will only contain lowercase letters.
The length of words will be in the range [1, 1000].
The length of words[i] will be in the range [1, 30].
"""
class Solution:
def longestWord(self, words: List[str]) -> str:
words.sort()
seen = set()
res = ""
for w in words:
if len(w) == 1 or w[:-1] in seen:
res = w if len(w) > len(res) else res
seen.add(w)
return res
| [
"eric.mlengineer@gmail.com"
] | eric.mlengineer@gmail.com |
24ec2fbb4d96b637d664ec71e9eb5d4630fc1bc3 | 21ddd53d72da2488ab7279dc96cccf5bbbf20986 | /debuggingCoinToss.py | 0ba3ceb7210ee281050b9e5fcfc9b807d609ba2e | [] | no_license | pmacking/AutomateTheBoringStuff | df940a434f1c0975dd98a85fc2fd2d60233f1dde | 61714428570ea4e2c84a34a9064016cf3c3681ef | refs/heads/master | 2021-01-03T14:18:12.436236 | 2020-05-12T15:47:25 | 2020-05-12T15:47:25 | 240,704,277 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,136 | py | #! python3
import logging
import random
logging.basicConfig(filename='debuggingCoinTossLog.txt', level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
guessOptions = ('heads', 'tails')
logging.debug('Start of program.')
guess = ''
while guess not in guessOptions:
print('Guess the coin toss! Enter heads or tails:')
guess = input()
assert guess in guessOptions, 'Guess is not heads or tails.'
logging.debug(f'First guess made was {guess}')
toss = random.randint(0, 1) # 0 is tails, 1 is heads
logging.debug(f'Toss randint value is {toss}')
if toss == 0:
toss = 'tails'
else:
toss = 'heads'
logging.debug(f'Toss string value is {toss}')
if toss == guess:
print('You got it!')
else:
guess2 = ''
while guess2 not in guessOptions:
print('Nope! Guess again! Enter heads or tails:')
guess2 = input()
logging.debug(f'Second guess made was {guess2}')
assert guess2 in guessOptions, 'Guess is not heads or tails.'
if toss == guess2:
print('You got it!')
else:
print('Nope. You are really bad at this game.')
logging.debug('End of program.')
| [
"pmacking@users.noreply.github.com"
] | pmacking@users.noreply.github.com |
d30ccceaf7be51da3decde436f4a808bc3b07518 | 54d1cf98525e8692a84ff8ddfa726c80fd6acd61 | /016/016.py | 6b3e7af49e717e97cdb0203113040232a969adc1 | [] | no_license | mmariani/meuler | 7a6a9c3ee9687aca34fec3745719efe56be109a6 | 6b5c8cbf212487012d5d8882ff08d975374720aa | refs/heads/master | 2021-01-22T02:53:01.599232 | 2012-06-26T18:36:41 | 2012-06-26T18:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 178 | py | #!/usr/bin/env python3
def run():
ret = 0
n = 2**1000
while n:
n, d = divmod(n, 10)
ret += d
print(ret)
if __name__ == '__main__':
run()
| [
"birbag@gmail.com"
] | birbag@gmail.com |
87fed1438f9d232321476abc63d451d3cb9b3728 | 24403bdfd347843657419867a0e2dcf10e8982e8 | /hw2/captioning_solver.py | 3797dcf4040eb91d2249b91be50de1b426e790aa | [] | no_license | bisssssss/DeepLearning | de19010ebb07a1c2936d48e94e0b24c72d6c574e | 1baab1b03069094ea553db26b0c6f8f8a48fcef5 | refs/heads/master | 2020-05-07T06:02:18.749867 | 2019-04-09T06:51:07 | 2019-04-09T06:51:07 | 180,298,014 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,114 | py | import numpy as np
import optim
from coco_utils import sample_coco_minibatch
class CaptioningSolver(object):
"""
A CaptioningSolver encapsulates all the logic necessary for training
image captioning models. The CaptioningSolver performs stochastic gradient
descent using different update rules defined in optim.py.
The solver accepts both training and validataion data and labels so it can
periodically check classification accuracy on both training and validation
data to watch out for overfitting.
To train a model, you will first construct a CaptioningSolver instance,
passing the model, dataset, and various options (learning rate, batch size,
etc) to the constructor. You will then call the train() method to run the
optimization procedure and train the model.
After the train() method returns, model.params will contain the parameters
that performed best on the validation set over the course of training.
In addition, the instance variable solver.loss_history will contain a list
of all losses encountered during training and the instance variables
solver.train_acc_history and solver.val_acc_history will be lists containing
the accuracies of the model on the training and validation set at each epoch.
Example usage might look something like this:
data = load_coco_data()
model = MyAwesomeModel(hidden_dim=100)
solver = CaptioningSolver(model, data,
update_rule='sgd',
optim_config={
'learning_rate': 1e-3,
},
lr_decay=0.95,
num_epochs=10, batch_size=100,
print_every=100)
solver.train()
A CaptioningSolver works on a model object that must conform to the following
API:
- model.params must be a dictionary mapping string parameter names to numpy
arrays containing parameter values.
- model.loss(features, captions) must be a function that computes
training-time loss and gradients, with the following inputs and outputs:
Inputs:
- features: Array giving a minibatch of features for images, of shape (N, D)
- captions: Array of captions for those images, of shape (N, T) where
each element is in the range (0, V].
Returns:
- loss: Scalar giving the loss
- grads: Dictionary with the same keys as self.params mapping parameter
names to gradients of the loss with respect to those parameters.
"""
def __init__(self, model, data, **kwargs):
"""
Construct a new CaptioningSolver instance.
Required arguments:
- model: A model object conforming to the API described above
- data: A dictionary of training and validation data from load_coco_data
Optional arguments:
- update_rule: A string giving the name of an update rule in optim.py.
Default is 'sgd'.
- optim_config: A dictionary containing hyperparameters that will be
passed to the chosen update rule. Each update rule requires different
hyperparameters (see optim.py) but all update rules require a
'learning_rate' parameter so that should always be present.
- lr_decay: A scalar for learning rate decay; after each epoch the learning
rate is multiplied by this value.
- batch_size: Size of minibatches used to compute loss and gradient during
training.
- num_epochs: The number of epochs to run for during training.
- print_every: Integer; training losses will be printed every print_every
iterations.
- verbose: Boolean; if set to false then no output will be printed during
training.
"""
self.model = model
self.data = data
# Unpack keyword arguments
self.update_rule = kwargs.pop('update_rule', 'sgd')
self.optim_config = kwargs.pop('optim_config', {})
self.lr_decay = kwargs.pop('lr_decay', 1.0)
self.batch_size = kwargs.pop('batch_size', 100)
self.num_epochs = kwargs.pop('num_epochs', 10)
self.print_every = kwargs.pop('print_every', 10)
self.verbose = kwargs.pop('verbose', True)
# Throw an error if there are extra keyword arguments
if len(kwargs) > 0:
extra = ', '.join('"%s"' % k for k in list(kwargs.keys()))
raise ValueError('Unrecognized arguments %s' % extra)
# Make sure the update rule exists, then replace the string
# name with the actual function
if not hasattr(optim, self.update_rule):
raise ValueError('Invalid update_rule "%s"' % self.update_rule)
self.update_rule = getattr(optim, self.update_rule)
self._reset()
def _reset(self):
"""
Set up some book-keeping variables for optimization. Don't call this
manually.
"""
# Set up some variables for book-keeping
self.epoch = 0
self.best_val_acc = 0
self.best_params = {}
self.loss_history = []
self.train_acc_history = []
self.val_acc_history = []
# Make a deep copy of the optim_config for each parameter
self.optim_configs = {}
for p in self.model.params:
d = {k: v for k, v in self.optim_config.items()}
self.optim_configs[p] = d
def _step(self):
"""
Make a single gradient update. This is called by train() and should not
be called manually.
"""
# Make a minibatch of training data
minibatch = sample_coco_minibatch(self.data,
batch_size=self.batch_size,
split='train')
captions, features, urls = minibatch
# Compute loss and gradient
loss, grads = self.model.loss(features, captions)
self.loss_history.append(loss)
# Perform a parameter update
for p, w in self.model.params.items():
dw = grads[p]
config = self.optim_configs[p]
next_w, next_config = self.update_rule(w, dw, config)
self.model.params[p] = next_w
self.optim_configs[p] = next_config
# TODO: This does nothing right now; maybe implement BLEU?
def check_accuracy(self, X, y, num_samples=None, batch_size=100):
"""
Check accuracy of the model on the provided data.
Inputs:
- X: Array of data, of shape (N, d_1, ..., d_k)
- y: Array of labels, of shape (N,)
- num_samples: If not None, subsample the data and only test the model
on num_samples datapoints.
- batch_size: Split X and y into batches of this size to avoid using too
much memory.
Returns:
- acc: Scalar giving the fraction of instances that were correctly
classified by the model.
"""
#return 0.0
# Maybe subsample the data
N = X.shape[0]
if num_samples is not None and N > num_samples:
mask = np.random.choice(N, num_samples)
N = num_samples
X = X[mask]
y = y[mask]
# Compute predictions in batches
num_batches = N // batch_size
if N % batch_size != 0:
num_batches += 1
y_pred = []
for i in range(num_batches):
start = i * batch_size
end = (i + 1) * batch_size
scores = self.model.loss(X[start:end])
y_pred.append(np.argmax(scores, axis=1))
y_pred = np.hstack(y_pred)
acc = np.mean(y_pred == y)
return acc
def train(self):
"""
Run optimization to train the model.
"""
num_train = self.data['train_captions'].shape[0]
iterations_per_epoch = max(num_train // self.batch_size, 1)
num_iterations = self.num_epochs * iterations_per_epoch
for t in range(num_iterations):
self._step()
# Maybe print training loss
if self.verbose and t % self.print_every == 0:
print('(Iteration %d / %d) loss: %f' % (
t + 1, num_iterations, self.loss_history[-1]))
# At the end of every epoch, increment the epoch counter and decay the
# learning rate.
epoch_end = (t + 1) % iterations_per_epoch == 0
if epoch_end:
self.epoch += 1
for k in self.optim_configs:
self.optim_configs[k]['learning_rate'] *= self.lr_decay
# Check train and val accuracy on the first iteration, the last
# iteration, and at the end of each epoch.
# TODO: Implement some logic to check Bleu on validation set periodically
# At the end of training swap the best params into the model
# self.model.params = self.best_params
| [
"dianawww@umich.edu"
] | dianawww@umich.edu |
d52c3c697ce8f4280c981903248019e8dcb773ee | 34b4f42c29c803dd7f939a7b55fa540164a504d9 | /python/makeLimitPlot.py | 16fb665e889378c65bf0d0f211203893d679c290 | [] | no_license | MiT-HEP/ChargedHiggsCombination | b912378b86d4caf255607ca8c9480d116422766a | ad2825e6d6d88ffe9154f2529d36a80fc50ec8d1 | refs/heads/master | 2021-04-27T07:49:11.091550 | 2018-03-23T14:36:02 | 2018-03-23T14:36:02 | 122,640,935 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,515 | py | #!/usr/bin/env python
import os,sys
from optparse import OptionParser
usage=''' %prog [options]
Scripts to make model dependent limits on the hadd of all the combine output files.
Original author: Andrea Carlo Marini. 23 Mar 2018.
'''
parser = OptionParser(usage=usage)
parser.add_option("-f","--file",dest="file",default="",type="string",help="Input file")
parser.add_option("-l","--label",dest="label",default="",type="string",help="Label to add to the plot")
parser.add_option("-o","--outname",dest="outname",help="Name of output pdf/png/C [%default]",default="")
parser.add_option("-b","--batch",dest="batch",default=False,action="store_true")
parser.add_option("-u","--unblind",dest="unblind",default=False,action="store_true",help="Draw observation")
parser.add_option("" ,"--yaxis",help="Y axis range Y1,Y2 [%default]",default="")
parser.add_option("" ,"--xaxis",help="X axis range X1,X2 [%default]",default="")
parser.add_option("","--paper",dest="paper",default=False,action="store_true",help="don't display preliminary")
parser.add_option("","--supplementary",dest="supplementary",default=False,action="store_true")
parser.add_option("" ,"--debug",type='int',help="More verbose output [%default]",default=0)
parser.add_option("","--MH125",dest="MH125",default="",help="Draw MH !=125. I will look for feyn out files specified. Example: dir/*/feyn*out files (feynHiggs) ")
opts,args=parser.parse_args()
def interpolate(x1,y1,x2,y2,x):
''' linear interpolation between the points (x1,y1) (x2,y2) evaluated at x'''
#y = mx +q
if x1==x2 and y1==y2 and x==x1 : return y1
m= (y2-y1)/(x2-x1)
q= y2 - m*x2
return m*x+q
sys.argv=[]
import ROOT
if opts.batch: ROOT.gROOT.SetBatch()
f=ROOT.TFile.Open(opts.file)
t=f.Get("limit")
def GetLimit(t, quantile=0.5):
if opts.debug: print "[DEBUG]:[1]","considering quantile",quantile
maxTB=60
minTB=0
r={}
for ientry in range(0,t.GetEntries()):
t.GetEntry(ientry)
mh = t.mh
l = t.limit
q = t.quantileExpected
tb = t.tb
if opts.debug>1: print "[DEBUG]:[2]","processing entry",ientry,[mh,l,q,tb]
if abs(q-quantile) >1e-3 : continue
if "%.1f"%mh not in r: r["%.1f"%mh]=[]
r["%.1f"%mh].append( (tb,l) )
# search for crossing in tb
g0=ROOT.TGraph()
g0.SetName("limit1_q%.1f"%quantile)
g1=ROOT.TGraph()
g1.SetName("limit2_q%.1f"%quantile)
masses=[ float(x) for x in r]
masses.sort()
keys=[ "%.1f"%y for y in masses ]
for mhstr in keys : ## keys are sorted
if opts.debug>2: print "[DEBUG]:[3]","Considering mh=",mhstr
mh=float(mhstr)
r[mhstr].sort()
if opts.debug>2: print "[DEBUG]:[3]"," -->",r[mhstr]
count=0
for i in range(0, len(r[mhstr])-1):
n = r[mhstr][i+1]
c = r[mhstr][i]
if opts.debug>2: print "[DEBUG]:[3]","Considering limits at between tb",c[0],n[0]," that corresponds to", c[1],n[1]
if (c[1] < 1. and n[1] >=1.) or (c[1] >= 1. and n[1] <1.):
tb=interpolate(c[1],c[0],n[1],n[0],1.)
if count==0:
if opts.debug: print "[DEBUG]:[1]: Adding point limit",mh,tb,"for quantile",quantile
g0.SetPoint(g0.GetN(),mh,tb)
if count >1:
print "[WARNING]","Found second crossing at:",mh,tb
g1.SetPoint(g1.GetN(),mh,tb)
count+=1
if count==0:
if opts.debug>0: print "[WARNING]:[1]","Unable to find crossing for",mh,"at quantile",quantile,r[mhstr]
else: print "[WARNING]:[1]","Unable to find crossing for",mh,"at quantile",quantile
if n[1] >1:
g0.SetPoint(g0.GetN(),mh,maxTB)
else:
g0.SetPoint(g0.GetN(),mh,minTB)
else:
if opts.debug>1: print "[DEBUG]:[2]","HURRAH!: Able to find crossing for",mh,"at quantile",quantile,r[mhstr]
elif opts.debug>0: print "[DEBUG]:[1]","HURRAH!: Able to find crossing for",mh,"at quantile",quantile
return g0,g1
if opts.unblind:obs=GetLimit(t,-1)[0]
else: obs = ROOT.TGraph()
exp=GetLimit(t, 0.5)[0]
oneDn=GetLimit(t,0.16)[0]
oneUp=GetLimit(t,0.84)[0]
twoDn=GetLimit(t,0.025)[0]
twoUp=GetLimit(t,0.975)[0]
### re-arranging the tgraphs
two=ROOT.TGraphAsymmErrors()
two.SetName("twoSigma")
one=ROOT.TGraphAsymmErrors()
one.SetName("oneSigma")
for idx in range(0,oneUp.GetN()):
xref=exp.GetX()[idx]
yref=exp.GetY()[idx]
x0=oneUp.GetX()[idx]
y0=oneUp.GetY()[idx]
x1=oneDn.GetX()[idx]
y1=oneDn.GetY()[idx]
if abs(x0-x1)>1.e-3:
print "---- TWO UP ---"
oneUp.Print("V")
print "---- TWO DN ---"
oneDn.Print("V")
print "---------------"
if abs(x0-x1)>1.e-3: raise ValueError("Assuming %f==%f"%(x0,x1))
if abs(x0-xref)>1.e-3: raise ValueError("Assuming %f==%f"%(x0,xref))
if abs(xref-x1)>1.e-3: raise ValueError("Assuming %f==%f"%(xref,x1))
n=one.GetN()
one.SetPoint(n,x0,yref)
yup=max(y0,y1) - yref
ydn=yref -min(y1,y0)
one.SetPointError(n,0,0,ydn,yup)
if opts.debug>0: print "[DEBUG]:[1]","Results: ->",x0," median is",yref,"two",ydn,yup
one_yup,one_ydn=yup,ydn
x0=twoUp.GetX()[idx]
y0=twoUp.GetY()[idx]
x1=twoDn.GetX()[idx]
y1=twoDn.GetY()[idx]
if abs(x0-x1)>1.e-3:
print "---- TWO UP ---"
twoUp.Print("V")
print "---- TWO DN ---"
twoDn.Print("V")
print "---------------"
if abs(x0-x1)>1.e-3: raise ValueError("Assuming %f==%f"%(x0,x1))
if abs(x0-xref)>1.e-3: raise ValueError("Assuming %f==%f"%(x0,xref))
if abs(xref-x1)>1.e-3: raise ValueError("Assuming %f==%f"%(xref,x1))
n=two.GetN()
two.SetPoint(n,x0,yref)
yup=max(y1,y0) - yref
ydn=yref -min(y1,y0)
two.SetPointError(n,0,0,ydn,yup)
print "[INFO]","Results: ->",x0," median is",yref," +/- (1s)",one_ydn,one_yup,"+/- (2s)",ydn,yup
obs.SetMarkerStyle(21)
obs.SetMarkerSize(0.5)
obs.SetLineColor(1)
obs.SetLineWidth(2)
obs.SetFillStyle(0)
obs.SetMarkerColor(ROOT.kBlack)
obs.SetLineColor(ROOT.kBlack)
exp.SetLineColor(1)
exp.SetLineStyle(2)
exp.SetFillStyle(0)
one.SetLineStyle(2)
two.SetLineStyle(2)
one.SetFillColor(ROOT.kGreen+1)
two.SetFillColor(ROOT.kYellow)
###################
## Start Drawing ##
###################
c=ROOT.TCanvas()
c.SetCanvasSize(800,800)
c.SetBottomMargin(0.15)
c.SetLeftMargin(0.15)
c.SetTopMargin(0.05)
c.SetRightMargin(0.05)
ROOT.gStyle.SetOptTitle(0)
ROOT.gStyle.SetOptStat(0)
if opts.xaxis != "":
dummy = ROOT.TH1D("dummy","dummy",100, float(opts.xaxis.split(',')[0]), float(opts.xaxis.split(',')[1]))
else:
dummy = ROOT.TH1D("dummy","dummy",1000, 0, 3000)
dummy.GetXaxis().SetRangeUser(200,3000)
dummy.GetYaxis().SetRangeUser(0,60.)
dummy.GetXaxis().SetTitle("m_{H^{+}} [GeV]")
dummy.GetYaxis().SetTitle("tan#beta")
dummy.GetXaxis().SetTitleSize(0.05)
dummy.GetYaxis().SetTitleSize(0.05)
dummy.GetXaxis().SetTitleOffset(1.2)
dummy.GetYaxis().SetTitleOffset(1.2)
dummy.GetXaxis().SetLabelSize(0.045)
dummy.GetYaxis().SetLabelSize(0.045)
dummy.Draw("AXIS")
dummy.Draw("AXIG SAME") ## draw grid
two.Draw("PE3 SAME")
one.Draw("PE3 SAME")
exp.Draw("L SAME")
if opts.unblind: obs.Draw("PL SAME")
g125=ROOT.TGraph()
if opts.MH125 != "":
from glob import glob
from subprocess import check_output
#parser.add_option("","--MH125",dest="MH125",default=False,action="store_true",help="Draw Mh != 125")
if opts.debug:print "[DEBUG]","Constructing 125 Exclusion region"
files=glob(opts.MH125)
excluded={} ## mHP -> TB excluded
if opts.debug: print "[DEBUG]","Processing",len(files),"files"
for idx,fout in enumerate(files):
if opts.debug and idx %1000==0:
print "\r Doing entry:",idx,"/",len(files), ":", "%.1f %%"%(float(idx)*100./len(files)),
sys.stdout.flush()
#fetch tb,mhp and mh
cmd=' '.join(['cat',fout,"|","grep '^| TB'","|","sed 's/^.*=//'","|","tr -d ' '"])
out=check_output(cmd,shell=True)
tb=float(out)
cmd=' '.join(['cat',fout,"|","grep '^| MHp'","|","head -n 1","|","sed 's/^.*=//'","|","tr -d ' '"])
out=check_output(cmd,shell=True)
mhp=float(out)
cmd=' '.join(['cat',fout,"|","grep '^| Mh0'","|","sed 's/^.*=//'","|","tr -d ' '"])
out=check_output(cmd,shell=True)
mh0=float(out)
#if abs(tb-10)<0.1: print "[DEBUG]","MHp=",mhp,"TB=",tb,"mh0=",mh0
if abs(mh0-125)>3:
if "%.1f"%mhp not in excluded: excluded["%.1f"%mhp] = []
excluded["%.1f"%mhp] .append(tb)
masses=[ float(x) for x in excluded]
masses.sort()
keys=[ "%.1f"%y for y in masses ]
for mhpstr in keys: ## keys are sorted
g125.SetPoint(g125.GetN(),float(mhpstr), max(excluded[mhpstr]))
# uncomment for having a compact region
#for mhpstr in reversed(keys):
# g125.SetPoint(g125.GetN(),float(mhpstr), min(excluded[mhpstr]))
#if len(keys) >0:
# g125.SetPoint(g125.GetN(),float(keys[0]), max(excluded[keys[0]]))
g125.SetLineColor(ROOT.kRed)
g125.SetLineWidth(-503) ## 5 -> exclusion, 3 -> lineWidt
g125.SetFillStyle(3004)
g125.SetFillColor(ROOT.kRed)
g125.Draw("C SAME")
ltx=ROOT.TLatex()
if opts.label != "":
ltx.SetNDC()
ltx.SetTextSize(0.04)
ltx.SetTextFont(42)
ltx.SetTextAlign(13)
#ltx.DrawLatex(0.18,0.88,opts.label)
ltx.SetTextAlign(33)
ltx.DrawLatex(0.93,.22,opts.label)
obj=[]
if True:
print "-> Adding NEW Legend"
obj.append(ltx)
ltx . SetNDC()
ltx . SetTextSize(0.05)
ltx . SetTextFont(42)
ltx . SetTextAlign(12)
xmin = 0.6
ymax = .5
textSep = 0.05
delta = 0.045
entryDelta = 0.07
dataPoint = ROOT.TMarker(xmin,ymax,20)
dataPoint.SetMarkerColor(ROOT.kBlack)
dataPoint.SetMarkerStyle(obs.GetMarkerStyle())
dataPoint.SetMarkerSize(obs.GetMarkerSize())
dataPoint.SetNDC()
dataLine = ROOT.TLine(xmin-delta/2., ymax ,xmin + delta/2, ymax)
dataLine.SetNDC()
dataLine.SetLineColor(ROOT.kBlack)
dataLine.SetLineWidth(1)
obj += [dataPoint,dataLine]
## Draw data
dataPoint.Draw("SAME")
dataLine.Draw("SAME")
ltx.DrawLatex(xmin+ textSep,ymax,"Observed")
## draw median and error
y_exp = ymax - entryDelta
vertical=False
if vertical:
l_exp = ROOT.TLine(xmin,y_exp -delta/2., xmin,y_exp+delta/2.)
l_exp.SetNDC()
l_exp.SetLineColor(ROOT.kBlack)
l_exp.SetLineWidth(2)
l_exp.SetLineColor(1)
l_exp.SetLineStyle(7)
oneSigma = ROOT.TPave(xmin-delta/3.,y_exp-delta/2.,xmin+delta/3.,y_exp+delta/2.,0,"NDC")
twoSigma = ROOT.TPave(xmin-delta*2/3.,y_exp-delta/2.,xmin+delta*2/3.,y_exp+delta/2.,0,"NDC")
obj . extend([l_exp,oneSigma,twoSigma])
else:
l_exp = ROOT.TLine(xmin-delta/2.,y_exp, xmin + delta/2.,y_exp)
l_exp.SetNDC()
l_exp.SetLineColor(ROOT.kBlack)
l_exp.SetLineWidth(3)
l_exp.SetLineColor(1)
l_exp.SetLineStyle(2)
oneSigma = ROOT.TPave(xmin-delta/2.,y_exp-delta/3.,xmin+delta/2.,y_exp+delta/3.,0,"NDC")
twoSigma = ROOT.TPave(xmin-delta/2.,y_exp-delta*2/3.,xmin+delta/2.,y_exp+delta*2/3.,0,"NDC")
obj . extend([l_exp,oneSigma,twoSigma])
oneSigma.SetFillColor(ROOT.kGreen+1)
twoSigma.SetFillColor(ROOT.kYellow)
twoSigma.Draw("SAME")
oneSigma.Draw("SAME")
l_exp.Draw("SAME")
#ltx.DrawLatex(xmin +textSep,y_exp,"Expected (#scale[0.7]{background, 68% CL, 95% CL})")
ltx.DrawLatex(xmin +textSep,y_exp,"Expected")
if opts.MH125:
y_excl125 = ymax - 2*entryDelta
l_excl125 = ROOT.TLine(xmin-delta/2.,y_excl125 , xmin+delta/2.,y_excl125)
l_excl125.SetNDC()
l_excl125.SetLineColor(ROOT.kRed)
l_excl125.SetLineStyle(2)
l_excl125.SetLineWidth(3)
f_excl125 = ROOT.TPave(xmin-delta/2.,y_excl125-delta*2/3.,xmin+delta/2.,y_excl125+delta*2/3.,0,"NDC")
f_excl125.Draw("SAME")
f_excl125.SetFillStyle(3004)
f_excl125.SetFillColor(ROOT.kRed)
l_excl125.Draw("SAME")
ltx.DrawLatex(xmin +textSep,y_excl125,"m_{h}^{#scale[0.8]{MSSM} } #neq 125\pm3")
dummy.Draw("AXIS SAME")
dummy.Draw("AXIS X+ Y+ SAME")
c.Modified()
c.Update()
raw_input("Looks ok?")
if opts.outname!="":
c.SaveAs(opts.outname + ".pdf")
c.SaveAs(opts.outname + ".png")
c.SaveAs(opts.outname + ".root")
| [
"andrea.marini@cern.ch"
] | andrea.marini@cern.ch |
7e2f1af55ec847d276f9083523d94129586190b0 | e73db10a4930859cf3de1147080fb82e2d392328 | /src/app/views.py | 69afaca3a0d33bbed652f062b81943a7677ba14e | [] | no_license | inowas/data_portal | 6befd906301c941ff7c4f449e239cee41357ac4d | 81453330a0e1fb2d2d7230e774b4b5c61cfbd209 | refs/heads/master | 2021-01-13T03:02:47.362173 | 2018-04-19T08:27:32 | 2018-04-19T08:27:32 | 77,037,011 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 19,974 | py | """
Definition of views.
"""
from datetime import datetime
import os
from django.urls import reverse
from django.views import View
from django.shortcuts import render, redirect
from django.http import HttpRequest, Http404
from django.views.generic.edit import FormView, CreateView
from django.views.generic.base import TemplateView
from django.core.exceptions import PermissionDenied
from django.db import transaction
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib.gis.geos import GEOSGeometry
from app.models import *
from app.forms import *
from app.utils import *
from app.vis.bokeh_plots import *
from app.permissions import *
from django.views.decorators.csrf import csrf_protect, ensure_csrf_cookie
from datetime import timedelta
@csrf_protect
@ensure_csrf_cookie
def toolbox(request):
return render(request, 'tools_angular/index.html')
class Table(View):
def get(self, request):
return render(request, 'app/datatable.html')
class Toolbox(View):
def get(self, request):
return render(request, 'app/toolbox.html')
class DatasetList(View):
def get(self, request):
datasets = Dataset.objects.all()
return render(request, 'app/datasets_explorer.html', {'datasets': datasets})
class DatasetDetails(View):
def get(self, request, dataset_id):
try:
dataset = Dataset.objects.get(id=dataset_id)
except Dataset.DoesNotExist:
raise Http404("Dataset does not exist")
if dataset.public == False and dataset.user != self.request.user:
raise PermissionDenied
model_objects = ModelObject.objects.filter(dataset=dataset)
return render(
request, 'app/details_dataset.html',
{
'dataset': dataset,
'model_objects': model_objects,
'geojson_url': '/api/geojson-dataset/' + str(dataset.id),
'view': 'dataset_details'
}
)
class ModelObjectDetails(View):
def get(self, request, model_object_id):
try:
model_object = ModelObject.objects.get(id=model_object_id)
except ModelObject.DoesNotExist:
raise Http404("Object does not exist")
dataset = Dataset.objects.get(id=model_object.dataset_id)
if dataset.public == False and dataset.user != self.request.user:
raise PermissionDenied
properties = Prop.objects.filter(model_object=model_object)
return render(
request, 'app/details_feature.html',
{
'dataset': dataset,
'model_object': model_object,
'properties': properties,
'geojson_url': '/api/geojson-feature/' + str(model_object.id),
'view': 'feature_details'
}
)
class PropertyDetails(View):
def get(self, request, property_id):
try:
prop = Prop.objects.get(id=property_id)
except Prop.DoesNotExist:
raise Http404("Property does not exist")
model_object = prop.model_object
dataset = prop.model_object.dataset
if dataset.public == False and dataset.user != self.request.user:
raise PermissionDenied
if prop.value_type.value_type == 'numerical':
try:
value = NumValue.objects.get(prop=prop)
except NumValue.DoesNotExist:
raise Http404("Property has no values")
controls, raster_map, plot, table, script = None, None, None, None, None
descr = 'single numerical value'
value = str(value.value)
value_type = 'numerical'
time_start = None
time_end = None
num_vals = None
elif prop.value_type.value_type == 'categorical':
try:
value = CatValue.objects.get(prop=prop)
except CatValue.DoesNotExist:
raise Http404("Property has no values")
controls, raster_map, plot, table, script = None, None, None, None, None
descr = 'single numerical value'
value = str(value.value)
value_type = 'categorical'
time_start = None
time_end = None
num_vals = None
elif prop.value_type.value_type == 'value_time_series':
try:
value = ValueSeries.objects.get(prop=prop)
except ValueSeries.DoesNotExist:
raise Http404("Property has no values")
script, div = plot_time_series(
values=value.value, timestamps=value.timestamps,
plot_width=700, plot_height=500,
table_width=550, table_height=550
)
controls, raster_map, plot, table = None, None, div['plot'], div['table']
descr = 'time-series of values'
value_type = 'value_time_series'
time_start = value.timestamps[0]
time_end = value.timestamps[-1]
num_vals = len(value.timestamps)
value = None
elif prop.value_type.value_type == 'raster':
try:
raster = RasValue.objects.get(prop=prop)
except RasValue.DoesNotExist:
raise Http404("Property has no values")
script, div = plot_single_raster(
raster, resize_coef=1., plot_width=600, plot_height=400,
table_width=550, table_height=550
)
controls, raster_map, plot, table = None, div['raster_map'], div['plot'], None
descr = 'singe raster'
value = None
value_type = 'raster'
time_start = None
time_end = None
num_vals = None
elif prop.value_type.value_type == 'raster_time_series':
try:
raster = RasterSeries.objects.get(prop=prop)
except RasterSeries.DoesNotExist:
raise Http404("Property does not exist")
script, div = plot_raster_series(
raster=raster.value, timestamps=raster.timestamps,
resize_coef=0.1, plot_width=600, plot_height=400
)
controls, raster_map, plot, table = div['controls'],\
div['raster_map'], div['plot'], None
descr = 'time-series of rasters'
value = None
value_type = 'raster_time_series'
time_start = raster.timestamps[0]
time_end = raster.timestamps[-1]
num_vals = len(raster.timestamps)
return render(
request, 'app/details_property.html',
{
'descr': descr,
'value': value,
'script': script,
'plot': plot,
'table': table,
'raster_map': raster_map,
'controls': controls,
'dataset': dataset,
'model_object': model_object,
'prop': prop,
'value_type': value_type,
'time_start': time_start,
'time_end': time_end,
'num_vals': num_vals,
'view': 'property_details'
}
)
class CreateModelObject(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_add_feature.html'
form_class = ModelObjectForm
success_url = '/dataset-details/'
def get_context_data(self, **kwargs):
context = super(CreateModelObject, self).get_context_data(**kwargs)
dataset_id = self.kwargs['dataset_id']
try:
dataset = Dataset.objects.get(id=dataset_id)
except Dataset.DoesNotExist:
raise Http404("Dataset does not exist")
if dataset.user != self.request.user:
raise PermissionDenied
context['form'].fields['sampled_feature'].queryset = ModelObject.objects.filter(
dataset_id=self.kwargs['dataset_id']
)
return context
@transaction.atomic
def form_valid(self, form):
dataset_id = self.kwargs['dataset_id']
try:
dataset = Dataset.objects.get(id=dataset_id)
except Dataset.DoesNotExist:
raise Http404("Dataset does not exist")
if dataset.user != self.request.user:
raise PermissionDenied
wkt = self.request.POST['geometry']
self.success_url += dataset_id
model_object = form.save(commit=False)
model_object.dataset_id = dataset_id
if wkt:
model_object.geometry = GEOSGeometry(wkt)
if GEOSGeometry(wkt).geom_type == 'Point':
model_object.geom_type_id = 1
if GEOSGeometry(wkt).geom_type == 'LineString':
model_object.geom_type_id = 2
if GEOSGeometry(wkt).geom_type == 'Polygon':
model_object.geom_type_id = 3
else:
model_object.geometry = None
model_object.geom_type_id = 4
model_object.save()
update_bbox(dataset_id)
return super(CreateModelObject, self).form_valid(form)
class CreateModelObjectsUpload(LoginRequiredMixin, FormView):
template_name = 'app/create_forms/form_template_geojson_upload.html'
form_class = ModelObjectUploadForm
success_url = '/dataset-details/'
@transaction.atomic
def form_valid(self, form):
dataset_id = self.kwargs['dataset_id']
try:
dataset = Dataset.objects.get(id=dataset_id)
except Dataset.DoesNotExist:
raise Http404("Dataset does not exist")
if dataset.user != self.request.user:
raise PermissionDenied
try:
self.success_url += dataset_id
files = self.get_form_kwargs().get('files').getlist('file_field')
features, names, types, sampled_features = shape_handler(files[0])
for f, n, t, s in zip(features, names, types, sampled_features):
if f.geom_type == 'Point':
geom_type_id = 1
elif f.geom_type == 'LineString':
geom_type_id = 2
elif f.geom_type == 'Polygon':
geom_type_id = 3
model_object = ModelObject(
geometry=f.geos,
name=n,
object_type=ObjectType.objects.get(object_type=t),
dataset_id=dataset_id,
geom_type_id=geom_type_id,
sampled_feature=ModelObject.objects.filter(name=s)[0] if s else None
)
model_object.save()
update_bbox(dataset_id)
except:
return render(
self.request,
self.template_name,
{'form': form,
'error_message': 'INVALID INPUT!'}
)
return super(CreateModelObjectsUpload, self).form_valid(form)
class CreateDataset(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_add_dataset.html'
form_class = DatasetForm
success_url = '/dataset-details/'
@transaction.atomic
def form_valid(self, form):
dataset = form.save(commit=False)
dataset.user = self.request.user
dataset.save()
self.success_url += str(dataset.id)
return super(CreateDataset, self).form_valid(form)
class CreateSingleValue(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_add_single_value.html'
form_class = SingleValueForm
success_url = '/feature-details/'
@transaction.atomic
def form_valid(self, form):
self.success_url += self.kwargs['model_object_id']
prop = form.save(commit=False)
prop.model_object_id = self.kwargs['model_object_id']
prop.value_type = ValueType.objects.get(value_type='numerical')
prop.save()
value = NumValue(prop=prop, value=self.request.POST['value'])
value.save()
return super(CreateSingleValue, self).form_valid(form)
class CreateValueSeries(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_add_value_series.html'
form_class = ValueSeriesForm
success_url = '/feature-details/'
@transaction.atomic
def form_valid(self, form):
try:
self.success_url += self.kwargs['model_object_id']
input_values = self.request.POST['values']
input_timestamps = self.request.POST['timestamps']
prop = form.save(commit=False)
prop.model_object_id = self.kwargs['model_object_id']
prop.value_type = ValueType.objects.get(value_type='value_time_series')
prop.save()
values = [i.strip() for i in input_values.split(',')]
timestamps = [i.strip() for i in input_timestamps.split(',')]
if len(values) != len(timestamps):
raise ValidationError("Not equal series")
value = ValueSeries(
prop=prop,
value=values,
timestamps=timestamps
)
value.save()
except ValidationError:
return render(
self.request,
self.template_name,
{'form': form,
'error_message': 'INVALID INPUT!'}
)
return super(CreateValueSeries, self).form_valid(form)
class CreateValueSeriesUpload(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_excel_upload.html'
form_class = ValueSeriesUploadForm
success_url = '/feature-details/'
@transaction.atomic
def form_valid(self, form):
try:
self.success_url += self.kwargs['model_object_id']
files = self.get_form_kwargs().get('files').getlist('file_field')
values, timestamps = excel_handler(spreadsheet=files[0])
prop = form.save(commit=False)
prop.model_object_id = self.kwargs['model_object_id']
prop.value_type = ValueType.objects.get(value_type='value_time_series')
prop.save()
if len(values) != len(timestamps):
raise ValidationError("Not equal series")
value = ValueSeries(
prop=prop,
value=values,
timestamps=timestamps)
value.save()
except:
return render(
self.request,
self.template_name,
{'form': form,
'error_message': 'INVALID INPUT!'}
)
return super(CreateValueSeriesUpload, self).form_valid(form)
class CreateSingleRaster(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_add_single_raster.html'
form_class = SingleRasterForm
success_url = '/feature-details/'
@transaction.atomic
def form_valid(self, form):
self.success_url += self.kwargs['model_object_id']
prop = form.save(commit=False)
prop.model_object_id = self.kwargs['model_object_id']
prop.value_type = ValueType.objects.get(value_type='raster')
prop.save()
files = self.get_form_kwargs().get('files').getlist('file_field')
raster = raster_handler(files)
value = RasValue(prop=prop, value=raster)
value.save()
os.remove(raster.name)
return super(CreateSingleRaster, self).form_valid(form)
class CreateRasterSeries(LoginRequiredMixin, CreateView):
template_name = 'app/create_forms/form_template_add_raster_series.html'
form_class = RasterSeriesForm
success_url = '/feature-details/'
@transaction.atomic
def form_valid(self, form):
try:
self.success_url += self.kwargs['model_object_id']
files = self.get_form_kwargs().get('files').getlist('file_field')
input_timestamps = self.request.POST['timestamps']
timestamps = [i.strip() for i in input_timestamps.split(',')]
if len(files) != len(timestamps):
raise ValidationError("Not equal series")
prop = form.save(commit=False)
prop.model_object_id = self.kwargs['model_object_id']
prop.value_type = ValueType.objects.get(value_type='raster_time_series')
prop.save()
raster = raster_handler(files)
value = RasterSeries(
prop=prop,
value=raster,
timestamps=timestamps
)
value.save()
os.remove(raster.name)
except ValidationError:
return render(
self.request,
self.template_name,
{'form': form,
'error_message': 'INVALID INPUT!'}
)
return super(CreateRasterSeries, self).form_valid(form)
class UpdateDataset(LoginRequiredMixin, FormView):
template_name = 'app/create_forms/form_template_update_dataset.html'
form_class = DatasetForm
success_url = '/dataset-details/'
def get_context_data(self, **kwargs):
context = super(UpdateDataset, self).get_context_data(**kwargs)
dataset_id = self.kwargs['dataset_id']
try:
dataset = Dataset.objects.get(id=dataset_id)
except Dataset.DoesNotExist:
raise Http404("Dataset does not exist")
if dataset.user != self.request.user:
raise PermissionDenied
context['dataset'] = dataset
context['form'].fields['name'].initial = dataset.name
# context['form'].fields['tags'].initial = str(dataset.tags)
context['form'].fields['descr'].initial = dataset.descr
return context
@transaction.atomic
def form_valid(self, form):
dataset_id = self.kwargs['dataset_id']
try:
dataset = Dataset.objects.get(id=dataset_id)
except Dataset.DoesNotExist:
raise Http404("Dataset does not exist")
if dataset.user != self.request.user:
raise PermissionDenied
dataset.name = self.request.POST['name']
dataset.descr = self.request.POST['descr']
# print(self.request.POST['public'])
public = self.request.POST.get('public', False)
if public == 'on':
dataset.public = True
else:
dataset.public = False
# dataset.tags = self.request.POST['tags']
dataset.save()
self.success_url += str(dataset_id)
return super(UpdateDataset, self).form_valid(form)
def home(request):
"""Renders the home page."""
assert isinstance(request, HttpRequest)
return redirect('explorer')
# return render(
# request,
# 'app/general/index.html',
# {
# 'title':'Home Page',
# 'year':datetime.now().year,
# }
# )
# def contact(request):
# """Renders the contact page."""
# assert isinstance(request, HttpRequest)
# return render(
# request,
# 'app/general/contact.html',
# {
# 'title':'Contact',
# 'message':'Contact page.',
# 'year':datetime.now().year,
# }
# )
# def about(request):
# """Renders the about page."""
# assert isinstance(request, HttpRequest)
# return render(
# request,
# 'app/general/about.html',
# {
# 'title':'About',
# 'message':'Some text will be here soon.',
# 'year':datetime.now().year,
# }
# )
def impressum(request):
"""Renders the about page."""
assert isinstance(request, HttpRequest)
return render(
request,
'app/general/impressum.html',
{
'title':'Impressum',
'year':datetime.now().year,
}
)
| [
"aybulat.f@gmail.com"
] | aybulat.f@gmail.com |
57d24a0e1c8078ddeddb903845ee10fa490ffa65 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/102/usersdata/201/50283/submittedfiles/av1_2.py | d2d4e7aeb1e911267fd20bdf927bf597d7fcc137 | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 276 | py | # -*- coding: utf-8 -*-
import math
n1=int(input('Digite um número:'))
n2=int(input('Digite um número:'))
n3=int(input('Digite um número:'))
n4=int(input('Digite um número:'))
if a1==a3 and a2!=a4:
print('V')
elif a1!=a3 and a2==a4:
print('V')
else:
print('F') | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
75c849c5fa10a52b6f51c10ef82af488b6cbb920 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_106/ch35_2020_04_13_00_13_31_924711.py | 0f6be8bd1014e7ed8db7e25ea96c39f4c3db2824 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 104 | py | valor=1
soma=0
while valor!=0:
valor=float(input('Digite um número: '))
soma+=valor
print(soma) | [
"you@example.com"
] | you@example.com |
99a2e8699d58cd5e601f781a5fd22d9b39ec99f0 | 9851cb89fa4106fbfc36fc6352c25bb7aa799ed8 | /polls/migrations/0009_auto_20200906_2334.py | 524292d5eb244169dce82d869265d21c76db0488 | [] | no_license | sumitasagaonkar/sumitnewdemo | 5f0b0418b74d20d80c1b720330d89be4c3e04474 | 4335a48305b9b904c9571145f418a2d55f6e8e3a | refs/heads/master | 2022-12-13T07:56:36.166834 | 2020-09-07T13:48:56 | 2020-09-07T13:48:56 | 293,530,167 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,051 | py | # Generated by Django 3.1.1 on 2020-09-06 18:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('polls', '0008_auto_20200906_2230'),
]
operations = [
migrations.AddField(
model_name='contactus',
name='Last_name',
field=models.CharField(blank=True, max_length=1000, null=True),
),
migrations.AddField(
model_name='contactus',
name='frist_name',
field=models.CharField(blank=True, max_length=1000, null=True),
),
migrations.AlterField(
model_name='contactus',
name='message',
field=models.TextField(max_length=1000, null=True),
),
migrations.AlterField(
model_name='contactus',
name='status',
field=models.CharField(choices=[('Arrange Program', 'Arrange Program'), ('Appointment', 'Appointment'), ('Other Reason ', 'Other Reason')], max_length=200, null=True),
),
]
| [
"sumitasagaonkar@gmail.com"
] | sumitasagaonkar@gmail.com |
b0a58883b891c0103d8776e523965e769e4d33f5 | 2ed9ce488982b5caafc28c018d00b1d5e8a66dc9 | /progress/gui_prog_final/gui_railmo/gui_ta1.py | 19db9522fab1e1d522f4ef20a9229834645acb6b | [] | no_license | byan21/relkereta | 1901f22c980eb17c686d5bc86b025514fab2ef79 | e3a282b6c413f8994d3b5dfef09893d2419ecbcd | refs/heads/master | 2018-08-30T11:40:52.531594 | 2018-07-20T03:50:56 | 2018-07-20T03:50:56 | 112,076,970 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,983 | py | #!/usr/bin/env python
from Tkinter import *
import Tkinter
import ttk
import tkFont
import tkMessageBox
import ttk
import os
from subprocess import call
from numpy import arange, sin, pi
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
from matplotlib.figure import Figure
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
from matplotlib import style
import time
import matplotlib.gridspec as gridspec
def demo():
#root = tk.Tk()
schedGraphics = Tkinter
root = schedGraphics.Tk()
root.style=ttk.Style()
root.style.theme_use("clam")
def donothing():
filewin = Toplevel(root)
button = Button(filewin, text="Do nothing button")
button.pack()
def helloCallBack():
tkMessageBox.showinfo( "Hello Python", "Hello World")
def test():
##os.system("gnome-terminal -x python cmd_gps.py")
## os.system("python cmd_gps.py")
## os.system("sudo systemctl stop gpsd.socket")
## os.system("sudo systemctl disable gpsd.socket")
## s.system("sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock")
## os.system("cgps -s")
## call(["sudo systemctl stop gpsd.socket"])
## call(["sudo systemctl disable gpsd.socket"])
## call(["sudo gpsd /dev/ttyUSB0 -F /var/run/gpsd.sock"])
## call(["cgps -s"])
## call(["python", "cmd_gps.py"])
os.system("sudo systemctl stop serial-getty@ttyS0.service")
os.system("sudo systemctl disable serial-getty@ttyS0.service")
os.system("sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock")
tkMessageBox.showinfo("Run GPS","Run GPS berhasil")
def run_sys():
#execfile("progress2.py")
os.system("gnome-terminal -x python progress_akhir.py")
def send_data():
os.system("gnome-terminal -x python send_log_edit.py")
def kill_gps():
os.system("gnome-terminal -x python kill_gps.py")
def cek_gps():
os.system("gnome-terminal -x python cek_gps.py")
def cek_aksel():
os.system("gnome-terminal -x python cek_accelero.py")
#os.system("sudo i2cdetect -y 1")
def kalibrasi():
os.system("gnome-terminal -x python kalib_aksel.py")
def tambah_id():
file = open("add_id.txt","w")
file.write(HE.get()+','+IE.get()+','+ME.get())
tkMessageBox.showinfo("Input Data","Input data berhasil")
def buka_data():
os.system("xdg-open /home/pi/Desktop/relkereta/progress/gui_prog_final/gui_railmo/log.txt")
menubar = Menu(root)
filemenu = Menu(menubar, tearoff=0)
#filemenu.add_command(label="New", command=donothing)
#filemenu.add_command(label="Open", command=donothing)
filemenu.add_separator()
filemenu.add_command(label="Exit", command=root.quit)
menubar.add_cascade(label="File", menu=filemenu)
editmenu = Menu(menubar, tearoff=0)
#editmenu.add_command(label="Undo", command=donothing)
editmenu.add_separator()
#editmenu.add_command(label="Cut", command=donothing)
#editmenu.add_command(label="Copy", command=donothing)
#editmenu.add_command(label="Paste", command=donothing)
#editmenu.add_command(label="Delete", command=donothing)
#editmenu.add_command(label="Select All", command=donothing)
data = Menu(menubar, tearoff=0)
data.add_command(label="Data Log", command=buka_data)
menubar.add_cascade(label="Data", menu=data)
helpmenu = Menu(menubar, tearoff=0)
helpmenu.add_command(label="Help Index", command=donothing)
helpmenu.add_command(label="About...", command=donothing)
menubar.add_cascade(label="Help", menu=helpmenu)
root.config(menu=menubar)
root.title("Monitoring Indeks Kondisi Rel Kereta Api")
universal_height = 500
helv36 = tkFont.Font(family="Helvetica",size=20,weight="bold")
helv36s = tkFont.Font(family="Helvetica",size=14)
helv32s = tkFont.Font(family="Helvetica",size=12)
nb = ttk.Notebook(root)
# adding Frames as pages for the ttk.Notebook
# first page, which would get widgets gridded into it
page1 = ttk.Frame(nb, width= 400,height = universal_height)
nb.add(page1, text='SETUP')
nb.grid(column=0)
day_label = schedGraphics.Label(page1, text="Pengaturan GPS", font=helv36s)
day_label.pack()
day_label.place(x=0, y=5)
B = Tkinter.Button(page1, text ="Run GPS", command = test, width=10, height=2)
B.place(x=20, y=40)
D = Tkinter.Button(page1, text ="Check", command = cek_gps, width=10, height=2)
D.place(x=150, y=40)
E = Tkinter.Button(page1, text ="Stop GPS", command = kill_gps, width=10, height=2, activebackground="red")
E.place(x=280, y=40)
day_label = schedGraphics.Label(page1, text="Pengaturan Accelerometer", font=helv36s)
day_label.pack()
day_label.place(x=0, y=100)
F = Tkinter.Button(page1, text ="Check", command = cek_aksel, width=10, height=2)
F.place(x=80, y=135)
F = Tkinter.Button(page1, text ="Kalibrasi", command = kalibrasi, width=10, height=2)
F.place(x=210, y=135)
H = schedGraphics.Label(page1, text="ID Petugas",font=helv32s)
H.place(x=10,y=200)
HE = schedGraphics.Entry(page1, bd=1)
HE.place(x=100, y=200)
I = schedGraphics.Label(page1, text="ID Rute",font=helv32s)
I.place(x=10,y=235)
IE = schedGraphics.Entry(page1, bd=1)
IE.place(x=100, y=235)
M = schedGraphics.Label(page1, text="ID Kereta",font=helv32s)
M.place(x=10,y=270)
ME = schedGraphics.Entry(page1, bd=1)
ME.place(x=100, y=270)
J = Tkinter.Button(page1, text ="Tambahkan", command = tambah_id, width=10, height=2)
J.place(x=280, y=228)
K = Tkinter.Button(page1,text="Run Program", width =20, height=4, command = run_sys)
K.place(x=5, y=320)
L = Tkinter.Button(page1,text="Send Data", width =20, height=4, command = send_data)
L.place(x=205, y=320)
style.use('ggplot')
# plt.ion()
fig = plt.figure()
#fig.canvas._master.geometry('900x800+0+0')
gs1 =gridspec.GridSpec(2,1)
#plt.subplots_adjust(bottom = 0.5, hspace = 1)
ax1 = fig.add_subplot(2, 1, 1)
ax2 = fig.add_subplot(2, 1, 2)
#ax1 = fig.add_subplot(gs1[0])
#ax2 = fig.add_subplot(gs1[1])
#plt.subplots_adjust(bottom=0.1, left = 0.5, wspace = 0.1)
#gs1.tight_layout(fig, rect=[0,0,1,0.9])
canvas = FigureCanvasTkAgg(fig, master=root)
canvas.get_tk_widget().grid(column= 15, row=0)
def animate(i):
graph_data = open('log.txt', 'r',os.O_NONBLOCK).read()
lines = graph_data.split('\n')
batas = len(lines)-10
ix = []
xs = []
ys = []
zs = []
vs = []
for line in lines[batas:]:
if len(line) > 1:
i, x, y, z, v, lat, lon, epx, waktu = line.split(',')
ix.append(int(i))
xs.append(float(x))
ys.append(float(y))
zs.append(float(z))
vs.append(float(v))
ax1.clear()
ax1.plot(ix, xs, label="Horizontal(G)", marker='o')
ax1.plot(ix, zs, label="Vertikal(G)", marker='o')
ax1.plot(ix, ys, label="Lateral(G)", marker='o', color="green")
ax1.set_ylim(-2, 2)
ax1.set_ylabel('Nilai getar (g)', fontsize=16)
ax1.set_xlabel('Data ke-', fontsize=12)
ax1.legend()
ax1.set_title("GRAFIK GETARAN & KECEPATAN")
ax2.clear()
ax2.plot(ix, vs, label="kecepatan(Km/jam)", marker='o', color='black')
ax2.set_ylim(0,100)
ax2.set_xlabel('Data ke-', fontsize=12)
ax2.set_ylabel('Nilai kecepatan(km/jam)', fontsize=16)
ax2.legend()
#ax2.set_title("Grafik kecepatan")
ani = animation.FuncAnimation(fig, animate, interval=50)
# plt.show()
root.mainloop()
if __name__ == "__main__":
demo()
| [
"vabyan702@gmail.com"
] | vabyan702@gmail.com |
1863b3e761fc4d07cf293c56fb5ea4d67e562edc | 7d592da766be46340fe3092e3e1583f1702010c1 | /evaluation/recall.py | 8e2d59f37d353691eafa3819add150b4c8c1dbe9 | [] | no_license | Murtazali05/RecSys | d40c204b713d376037f52b23787f21e5323ba042 | 2fbf8c2f4cf983a1d712053c3e1a4b14101e7a35 | refs/heads/master | 2022-09-07T19:21:37.971363 | 2020-05-25T08:53:41 | 2020-05-25T08:53:41 | 257,325,844 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,176 | py | from collections import defaultdict
from evaluation.abstract_evaluator import AbstractRecommenderEvaluator
class RecallEvaluator(AbstractRecommenderEvaluator):
def __init__(self):
super().__init__()
def evaluate(self, predictions, k=10, threshold=3.5):
# First map the predictions to each user.
user_est_true = defaultdict(list)
for uid, _, true_r, est, _ in predictions:
user_est_true[uid].append((est, true_r))
recalls = dict()
for uid, user_ratings in user_est_true.items():
# Sort user ratings by estimated value
user_ratings.sort(key=lambda x: x[0], reverse=True)
# Number of relevant items
n_rel = sum((true_r >= threshold) for (_, true_r) in user_ratings)
# Number of relevant and recommended items in top k
n_rel_and_rec_k = sum(((true_r >= threshold) and (est >= threshold))
for (est, true_r) in user_ratings[:k])
# Recall@K: Proportion of relevant items that are recommended
recalls[uid] = n_rel_and_rec_k / n_rel if n_rel != 0 else 1
return recalls
| [
"murtuzali1996@yandex.ru"
] | murtuzali1996@yandex.ru |
3cd1768350cd96d12b897dd437332d9892a6dc85 | 8c5199952427d9691a681de20d38717debb850e8 | /exercises/06_control_structures/task_6_2.py | d861056069d976e399e7e800135628dd5d4bd21c | [] | no_license | vdm-nv/myhomework | 37a8b6a13497fb7dc6f58cb76740a92aeed26178 | 932dfc7e70ffa2aadb093a47f5eade72cf44ff81 | refs/heads/master | 2020-09-06T13:57:22.137650 | 2020-04-20T08:28:27 | 2020-04-20T08:28:27 | 220,443,716 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,497 | py | #!/usr/bin/env python3
'''
Задание 6.2
1. Запросить у пользователя ввод IP-адреса в формате 10.0.1.1
2. Определить тип IP-адреса.
3. В зависимости от типа адреса, вывести на стандартный поток вывода:
'unicast' - если первый байт в диапазоне 1-223
'multicast' - если первый байт в диапазоне 224-239
'local broadcast' - если IP-адрес равен 255.255.255.255
'unassigned' - если IP-адрес равен 0.0.0.0
'unused' - во всех остальных случаях
Ограничение: Все задания надо выполнять используя только пройденные темы.
'''
add = input('Введите IP адрес: ')
bb = add.split('.')
octets = []
broad = [255, 255, 255, 255]
unass = [0, 0, 0, 0]
for addr in bb:
octets.append(int(addr))
if int(bb[0]) <= 223:
print('\n'+ '-'*30)
print('Это unicast')
print('-'*30)
elif int(bb[0]) <= 239:
print('\n'+ '-'*30)
print('Это multicast')
print('\n'+ '-'*30)
elif octets == broad:
print('\n'+ '-'*30)
print('Это local broadcast')
print('-'*30)
elif octets == unass:
print('\n'+ '-'*30)
print('Это unassagnet')
print('-'*30)
else:
print('\n'+ '-'*30)
print('Это unused')
print('-'*30)
| [
"vpnovik@gmail.com"
] | vpnovik@gmail.com |
f253b36da757e0c61e369e3215136d8d2d3d1d01 | aaac14918f61747db3148d78f87f7769a19ce847 | /CLASS11 - Packages and APIs/HOMEWORK/additional_exercises_reverse_lookup.py | 873682d3796c4ea892c3ac6515321ea5bc5b3f23 | [] | no_license | mikestrain/PythonGA | a5f3e51ffb4f28b623a2160f799334348c987d00 | fc3a787bbf3c498b3cfcea19bd26f1b37f7232e7 | refs/heads/master | 2020-12-03T20:25:29.172654 | 2020-02-21T20:14:41 | 2020-02-21T20:14:41 | 231,474,973 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 443 | py | import os
os.system("clear")
def reverse_lookup(lookup_value,dictionary):
lookup_key = None
for key in dictionary:
if state_capitals[key] == lookup_value:
lookup_key = key
return lookup_key
lookup_value = "Boston"
state_capitals = {
"Alaska":"Juneau",
"Colorado":"Denver",
"Texas":"Austin",
"Ohio":"Columbus",
"Massachusetts":"Boston"
}
print(reverse_lookup(lookup_value,state_capitals)) | [
"michael.e.strain@gmail.com"
] | michael.e.strain@gmail.com |
fd5da12f721a61bfb14b77531f514e7ff800da42 | e42866332ef8c852dbb061c9e3613ec48cfed3c7 | /apps/anteproyecto/migrations/0014_remove_anteproyecto_profile.py | e2f58b6bc1cc079bd4e4d415c2c54673147e310c | [
"MIT"
] | permissive | JasonUPP/POA-SER | f36308fe06ef70c8672647b85b4d750a306da908 | ff97ef11dcff6e3713d3a7324830a74d2b15b504 | refs/heads/master | 2020-05-18T11:00:22.110528 | 2019-05-14T00:52:59 | 2019-05-14T00:52:59 | 184,365,438 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 342 | py | # Generated by Django 2.1.4 on 2019-02-23 05:30
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('anteproyecto', '0013_anteproyecto_profile'),
]
operations = [
migrations.RemoveField(
model_name='anteproyecto',
name='profile',
),
]
| [
"jasozero9@gmail.com"
] | jasozero9@gmail.com |
f2c145660c203a2c6ed3d1b48b6d31af5232c4a7 | 4e5c1c1e319ef9052865538b27ad9912d223584d | /code/test_json_write.py | 401586b54a00d983788716ad901e26c9687dc40d | [] | no_license | RGologorsky/ipd_trust | 982823a876f6e1fd12a03fadcfd1b81a2f9f61df | f5d159c779f3de2ee089f50df310c8b9529fead4 | refs/heads/master | 2020-04-04T03:24:29.129449 | 2019-06-20T22:54:09 | 2019-06-20T22:54:09 | 155,712,674 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 540 | py | import json
# Four Fundamental Forces with JSON
d = {}
d ["gravity"] = {
"mediator":"gravitons",
"relative strength" : "1",
"range" : "infinity"
}
d ["weak"] = {
"mediator":"W/Z bosons",
"relative strength" : "10^25",
"range" : "10^-18"
}
d ["electromagnetic"] = {
"mediator":"photons",
"relative strength" : "10^36",
"range" : "infinity"
}
d ["strong"] = {
"mediator":"gluons",
"relative strength" : "10^38",
"range" : "10^-15"
}
print("writing this d")
print(d)
# write to a file
with open("4forces.json","w") as f:
json.dump(d, f)
| [
"rgologorsky@college.harvard.edu"
] | rgologorsky@college.harvard.edu |
4834cd5646fc5d8f97046f42271cfd5239f078ef | 4ddedf2a3829d7cead057da3ed2ffcffc153786e | /6_google_trace/SONIA/sonia_final_no_update_mutation_pruning.py | bab69d0581fcaf826ba134b9d58d6932a83bb884 | [
"MIT"
] | permissive | thieu1995/machine_learning | b7a854ea03f5559a57cb93bce7bb41178596033d | 40595a003815445a7a9fef7e8925f71d19f8fa30 | refs/heads/master | 2023-03-03T10:54:37.020952 | 2019-09-08T11:42:46 | 2019-09-08T11:42:46 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 22,796 | py | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Thu Dec 28 19:18:42 2017
@author: thieunv
Hien tai mang nay la tot nhat. Nhan xet:
- Da~ loai bo bias, va update weight input and hidden in backpropagation process
- chi lam duoc vs du lieu nho (200 - 500)
- Cac tham so anh huong rat lon
"""
from random import uniform, randint
from math import exp, sqrt
from operator import itemgetter
import numpy as np
import copy
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from pandas import read_csv
from sklearn.metrics import mean_squared_error, mean_absolute_error
### Helper functions
def sigmoid_activation(x):
return 1.0 / (1.0 + exp(-x))
def relu(x):
return max(0, x)
def self_activation(x):
return x
def hyperbolic_tangent_sigmoid_activation(x): # -1 <= output <= 1
return (2.0 / (1.0 + exp(-2.0*x)) - 1.0 )
def my_min_max_scaler(data):
minx = min(data)
maxx = max(data)
return (np.array(data).astype(np.float64) - minx) / (maxx - minx)
def my_invert_min_max_scaler(data, minx, maxx):
return np.array(data).astype(np.float64) * (maxx-minx) + minx
def get_random_input_vector(train_X):
temp = copy.deepcopy(train_X)
return temp[randint(0, len(train_X)-1 )]
def get_random_vector_weight(wHa, wHb):
temp = []
for i in range(len(wHa)):
temp.append(uniform(wHa[i], wHb[i]))
return np.array(temp)
def get_batch_data_next(trainX, trainY, index, batch_size):
real_index = index*batch_size
if (len(trainX) % batch_size != 0 and real_index == len(trainX)):
return (trainX[real_index:], trainY[real_index:])
elif (real_index == len(trainX)):
return ([], [])
else:
return (trainX[real_index: (real_index+batch_size)], trainY[real_index: (real_index+batch_size)])
# t = [[9, 1], [2, 6], [3, 7], [8, 5], [7, 1]]
def square(list_elem):
temp = 0.0
for val in list_elem:
temp += pow(val, 2.0)
return temp
#sorted(t, key=square)
#Out[9]: [[2, 6], [7, 1], [3, 7], [9, 1], [8, 5]]
# list_temp = [ [132, np.array([0, 0, 0]) ], [181, np.array([1, 1, 1]) ], [15, np.array([0.5, 0.55, 0.555])] ]
def take_second_and_square(elem):
list_elem = elem[1]
temp = 0.0
for val in list_elem:
temp += pow(val, 2.0)
return temp
# sorted(list_temp, key=square)
# [[132, array([0, 0, 0])], [15, array([ 0.5 , 0.55 , 0.555])], [181, array([1, 1, 1])]]
## C2: list_temp.sort(key=lambda item: sum(map(lambda e: e*e, item[1])))
def get_mutate_vector_weight(wHa, wHb, mutation_id = 1):
temp = []
if mutation_id == 1: # Lay trung binh cong
for i in range(len(wHa)):
temp.append( (wHa[i] + wHb[i]) / 2 )
elif mutation_id == 2: # Lay uniform
for i in range(len(wHa)):
temp.append(uniform(wHa[i], wHb[i]))
return np.array(temp)
def my_sorted(list_elem, key_function, key_id):
if key_id == 1: # Sort the matrix 2-D
kk = list_elem.transpose()
temp = sorted(kk, key=key_function)
return np.transpose(np.array(temp))
if key_id == 2: # Sort the matrix 2-D inside the list
return sorted(list_elem, key=key_function)
def decrease_list_hidden_unit(list_hus, matrix_weights, percent=0.13, sort=True, how=1):
if sort == True:
ind1 = int(percent* len(list_hus) / 2)
ind2 = len(list_hus) - ind1
matrix_weights = my_sorted(matrix_weights, key_function=square, key_id=1)
list_hus = my_sorted(list_hus, key_function=take_second_and_square, key_id=2)
temp1 = list_hus[:][ind1:ind2]
temp2 = [matrix_weights[i][ind1:ind2] for i in range(matrix_weights.shape[0])]
return (temp1, np.array(temp2))
## Load data frame
#full_path_name="/mnt/volume/ggcluster/spark-2.1.1-bin-hadoop2.7/thieunv/machine_learning/6_google_trace/data/"
#full_path= "/mnt/volume/ggcluster/spark-2.1.1-bin-hadoop2.7/thieunv/machine_learning/6_google_trace/SONIA/testing/mutation/result/cpu/"
file_name = "Fuzzy_data_sampling_617685_metric_10min_datetime_origin.csv"
full_path_name = "/home/thieunv/university/LabThayMinh/code/6_google_trace/data/"
full_path = "/home/thieunv/university/LabThayMinh/code/6_google_trace/SONIA/results/notDecompose/data10minutes/univariate/cpu/"
df = read_csv(full_path_name+ file_name, header=None, index_col=False, usecols=[0], engine='python')
dataset_original = df.values
distance_levels = [0.1] #[0.1, 0.25, 0.5]
threshold_number = 100 # 50 example #[2, 3, 4]
stimulation_level = [0.1]# [0.10, 0.2, 0.25, 0.50, 1.0, 1.5, 2.0] # [0.20]
positive_numbers = [0.01] #[0.005, 0.01, 0.025, 0.05, 0.1, 0.15, 0.20] # [0.1]
learning_rates = [0.05] #[0.005, 0.01, 0.025, 0.05, 0.10, 0.12, 0.15] # [0.2]
sliding_windows = [3] #[1, 2, 3, 5] # [3]
epochs = [500] #[100, 250, 500, 1000, 1500, 2000] # [500]
batch_sizes = [16] #[8, 16, 32, 64, 128] # [16]
length = dataset_original.shape[0]
num_features = dataset_original.shape[1]
train_size = 700 #2880
test_size = length - train_size
valid = 0.25 # Hien tai chua dung den tham so nay
epsilon = 0.00001 # Hien tai chua dung den tham so nay
list_percent_decreases = [0.10, 0.13, 0.15, 0.20]
list_num = [(1200, 1800)]
#list_num = [(500, 1000), (500, 1500), (500, 2000), (750, 1250), (750, 1750), (750, 2250),
# (1500, 2000), (1500, 2500), (1500, 3000), (1500, 2000), (1500, 2500), (1500, 3000),
# (2000, 2500), (2000, 3000), (2000, 3500), (2500, 3000), (2500, 3500), (2500, 4000)
#]
#### My model here
def mySONIA(train_X, train_y, test_X, epoch, batch_size, validation,sliding, decrease=0.13, learning_rate = 0.01,
positive_number = 0.1, stimulation_level=0.05, distance_level=0.1, threshold_number=2):
#### Chu y:
# 1. Tat ca cac input trainX phai normalize ve doan [0, 1]
## 1. Split validation dataset
#valid_len = int(len(trainX)*validation)
#valid_X = trainX[(len(trainX) - valid_len):]
#valid_y = trainY[(len(trainX) - valid_len):]
#valid_list_loss = [0.1]
#train_list_loss = [0.1]
### Qua trinh train va dong thoi tao cac hidden unit (Pha 1 - cluster data)
# 2. Khoi tao hidden thu 1
hu1 = [0, get_random_input_vector(train_X)] # hidden unit 1 (t1, wH)
list_hu = [copy.deepcopy(hu1)] # list hidden units
matrix_Wih = copy.deepcopy(hu1[1]).reshape(hu1[1].shape[0], 1) # Mang 2 chieu
### +++ Technical use to trace back matrix weight
trace_back_list_matrix_Wih = [copy.deepcopy(matrix_Wih)]
trace_back_list_hu = [copy.deepcopy(list_hu)]
# training_detail_file_name = full_path + 'SL=' + str(stimulation_level) + '_Slid=' + str(sliding) + '_Epoch=' + str(epoch) + '_BS=' + str(batch_size) + '_LR=' + str(learning_rate) + '_PN=' + str(positive_number) + '_CreateHU.txt'
m = 0
while m < len(train_X):
list_dist_mj = [] # Danh sach cac dist(mj)
# number of hidden units
for j in range(0, len(list_hu)): # j: la chi so cua hidden thu j
dist_sum = 0.0
for i in range(0, len(train_X[0])): # i: la chi so cua input unit thu i
dist_sum += pow(train_X[m][i] - matrix_Wih[i][j], 2.0)
list_dist_mj.append([j, sqrt(dist_sum)])
list_dist_mj = sorted(list_dist_mj, key=itemgetter(1)) # Sap xep tu be den lon
c = list_dist_mj[0][0] # c: Chi so (index) cua hidden unit thu c ma dat khoang cach min
distmc = list_dist_mj[0][1] # distmc: Gia tri khoang cach nho nhat
if distmc < stimulation_level:
list_hu[c][0] += 1 # update hidden unit cth
# Just update vector W(c)
list_hu[c][1] += positive_number * distmc
matrix_Wih = np.transpose(matrix_Wih) # Phai o dang numpy thi ms update toan bo duoc
matrix_Wih[c] += positive_number * distmc
matrix_Wih = np.transpose(matrix_Wih)
## +++ Save the matrix_wih
trace_back_list_matrix_Wih.append(copy.deepcopy(matrix_Wih))
trace_back_list_hu.append(copy.deepcopy(list_hu))
# Tiep tuc vs cac example khac
m += 1
if m % 1000 == 0:
# with open(training_detail_file_name, 'a') as f:
# print >> f, 'distmc = :', distmc
# print >> f, 'Example thu :', m
print "distmc = {0}".format(distmc)
print "m = {0}".format(m)
else:
## +++ Get the first matrix weight hasn't been customize
matrix_Wih = copy.deepcopy(trace_back_list_matrix_Wih[0])
list_hu = copy.deepcopy(trace_back_list_hu[0])
## +++ Del all trace back matrix weight except the first one
del trace_back_list_matrix_Wih[1:]
del trace_back_list_hu[1:]
# with open(training_detail_file_name, 'a') as f:
# print >> f, 'Failed !!!. distmc = ', distmc
print "Failed !!!. distmc = {0}".format(distmc)
list_hu.append([0, copy.deepcopy(train_X[m]) ])
# with open(training_detail_file_name, 'a') as f:
# print >> f, 'Hidden unit thu:', len(list_hu), ' duoc tao ra.'
print "Hidden unit thu: {0} duoc tao ra.".format(len(list_hu))
matrix_Wih = np.append(matrix_Wih, copy.deepcopy(train_X[m]).reshape((matrix_Wih.shape[0], 1)), axis = 1)
for hu in list_hu:
hu[0] = 0
# then go to step 1
m = 0
### +++
trace_back_list_matrix_Wih[0] = copy.deepcopy(matrix_Wih)
trace_back_list_hu[0] = copy.deepcopy(list_hu)
### +++ Get the last matrix weight
matrix_Wih = copy.deepcopy(trace_back_list_matrix_Wih[-1])
list_hu = copy.deepcopy(trace_back_list_hu[-1])
### +++ Delete trace back
del trace_back_list_matrix_Wih
del trace_back_list_hu
### Qua trinh mutated hidden unit (Pha 2- Adding artificial local data)
# Adding 2 hidden unit in begining and ending points of input space
t1 = np.zeros(num_features * sliding)
t2 = np.ones(num_features * sliding)
list_hu.append([0, t1])
list_hu.append([0, t2])
matrix_Wih = np.append(matrix_Wih, t1.reshape(t1.shape[0], 1), axis=1)
matrix_Wih = np.append(matrix_Wih, t2.reshape(t2.shape[0], 1), axis=1)
# # Sort matrix weights input and hidden, Sort list hidden unit by list weights
sorted_matrix_Wih = my_sorted(matrix_Wih, key_function=square, key_id=1)
sorted_list_hu = my_sorted(list_hu, key_function=take_second_and_square, key_id=2)
# # Now working on both sorted matrix weights and sorted list hidden units
for i in range(len(sorted_list_hu) - 1):
ta, wHa = sorted_list_hu[i][0], sorted_list_hu[i][1]
tb, wHb = sorted_list_hu[i+1][0], sorted_list_hu[i+1][1]
dab_sum = 0.0
for j in range(0, len(wHa)):
dab_sum += pow(wHa[j] - wHb[j], 2.0)
dab = sqrt(dab_sum)
if dab > distance_level and ta < threshold_number and tb < threshold_number:
# Create new hidden unit (Lai ghep)
#t1 = get_random_vector_weight(wHa, wHb)
# Create new mutated hidden unit (Dot Bien)
temp_node = get_mutate_vector_weight(wHa, wHb, mutation_id=1)
sorted_list_hu.insert(i+1, [0, temp_node])
sorted_matrix_Wih = np.insert(sorted_matrix_Wih, [i+1], temp_node.reshape(temp_node.shape[0], 1), axis=1)
print "New hidden unit created. {0}".format(len(sorted_list_hu))
# Ending phrase 2
### Building set of weights between hidden layer and output layer
## Initialize weights and bias
# sorted_list_hu = copy.deepcopy(sorted_list_hu)
# sorted_matrix_Wih = copy.deepcopy(sorted_matrix_Wih)
#
sorted_list_hu, sorted_matrix_Wih = decrease_list_hidden_unit(sorted_list_hu, sorted_matrix_Wih, percent=decrease)
matrix_Who = np.zeros(len(sorted_list_hu))
bias = 1
# print "Random bias is: {0}".format(bias)
## Training weights and bias based on backpropagation
list_loss_RMSE = []
list_loss_AMSE = []
for t in range(epoch):
loss1 = 0.0
loss2 = 0.0
### Update w after 1 batch
num_loop = int(len(trainX) / batch_size)
for ind in range(num_loop):
## Get next batch
X_train_next, y_train_next = get_batch_data_next(train_X, train_y, ind, batch_size)
if len(X_train_next) == 0:
break
## Calculate all delta weight in 1 batch
delta_ws = []
# delta_bias = []
for k in range(0, len(X_train_next)): # training with 1 example at a time
# Calculate output of hidden layer to put it in input of output layer
output_hidden_layer = []
for i in range(0, len(np.transpose(sorted_matrix_Wih))):
xHj_sum = 0.0
for j in range(0, len(X_train_next[0])):
xHj_sum += pow(sorted_matrix_Wih[j][i] - X_train_next[k][j], 2.0)
output_hidden_layer.append(hyperbolic_tangent_sigmoid_activation(sqrt(xHj_sum)))
# Right now we have: output hidden, weights hidden and output, bias
# Next: Calculate y_output
y_output = 0 # bias
for i in range(0, len(matrix_Who)):
y_output += matrix_Who[i] * output_hidden_layer[i]
y_output = sigmoid_activation(y_output)
loss1 += abs(y_output - y_train_next[k])
loss2 += pow(y_output - y_train_next[k], 2.0)
### Next: Update weight and bias using backpropagation
## update weights and bias hidden and output
delta_weights_ho = -2 * learning_rate * y_output * (1 - y_output) * (y_output - y_train_next[k]) * np.array(output_hidden_layer)
# delta_bias_temp = -2 * learning_rate * y_output * (1 - y_output) * (y_output - train_y[k])
delta_ws.append(delta_weights_ho)
# delta_bias.append(delta_bias_temp)
## Sum all delta weight to get mean delta weight
delta_wbar = np.array(np.sum(delta_ws, axis = 0) / len(X_train_next))
# delta_b = np.array(np.sum(delta_bias, axis = 0) / len(X_train_next))
matrix_Who += delta_wbar
# bias += delta_b
if t % 20 == 0:
print "Epoch thu: {0}".format(t)
print "MASE loss = {0}".format(loss1/len(train_X))
print "RMSE loss = {0}".format(loss2/len(train_X))
list_loss_AMSE.append(loss1/len(train_X))
list_loss_RMSE.append(loss2/len(train_X))
## Ending backpropagation
## Right now, we have all we need: sorted_matrix_Wih, sorted_list_hu, matrix_Who
### Predict test dataset
predict = []
for k in range(len(test_X)):
pre_output_hl = []
for i in range(0, len(np.transpose(sorted_matrix_Wih))):
xHj_sum = 0.0
for j in range(0, len(test_X[0])):
xHj_sum += pow(sorted_matrix_Wih[j][i] - test_X[k][j], 2.0)
pre_output_hl.append(hyperbolic_tangent_sigmoid_activation(sqrt(xHj_sum)))
pre_y_output = 0 #bias
for i in range(0, len(matrix_Who)):
pre_y_output += matrix_Who[i] * pre_output_hl[i]
pre_y_output = sigmoid_activation(pre_y_output)
predict.append(pre_y_output)
return (sorted_matrix_Wih, matrix_Who , bias, np.array(predict), list_loss_AMSE, list_loss_RMSE)
pl1 = 1 # Use to draw figure
pl2 = 1000
for u_num in list_num:
for sliding in sliding_windows:
## Load data
dataset = []
for val in dataset_original[:u_num[1]+sliding]:
dataset.append(val)
dataset = (np.asarray(dataset)).astype(np.float64)
# normalize the dataset
GoogleTrace_orin_unnormal = dataset[:, 0].reshape(-1, 1) # keep orginal data to test
min_GT = min(GoogleTrace_orin_unnormal)
max_GT = max(GoogleTrace_orin_unnormal)
## Scaling min max
data_scaler = []
for i in range( dataset.shape[1] ):
data_scaler.append( my_min_max_scaler(dataset[:, i].reshape(-1, 1)) )
## Handle data with sliding
data = []
for i in range(len(GoogleTrace_orin_unnormal)-sliding):
detail=[]
for ds in data_scaler:
for j in range(sliding):
detail.append(ds[i+j])
data.append(detail)
data = np.reshape(np.array(data), (len(data), num_features*sliding ) )
## Split data to set train and set test
trainX, trainY = data[0:u_num[0]], data[sliding:u_num[0]+sliding, 0:1]
testX = data[u_num[0]:u_num[1]-sliding]
testY = GoogleTrace_orin_unnormal[u_num[0]+sliding:u_num[1]]
for sti_level in stimulation_level:
for epoch in epochs:
for batch_size in batch_sizes:
for learning_rate in learning_rates:
for positive_number in positive_numbers:
for distance_level in distance_levels:
for decrease_percent in list_percent_decreases:
matrix_Wih, vector_Who, bias, predict, list_loss_AMSE, list_loss_RMSE = mySONIA(trainX, trainY, testX, epoch=epoch,
batch_size=batch_size, validation=valid, sliding=sliding, decrease=decrease_percent, learning_rate=learning_rate,
positive_number=positive_number, stimulation_level=sti_level, distance_level=distance_level, threshold_number=threshold_number)
print "bias: {0}".format(bias)
print "Weight input and hidden: "
print matrix_Wih
print "Weight hidden and output: "
print vector_Who
print "Predict "
print predict
# invert predictions
testPredictInverse = my_invert_min_max_scaler(predict, min_GT, max_GT)
print testPredictInverse
print 'len(testY): {0}, len(testPredict): {1}'.format(len(testY[0]), len(testPredictInverse))
# calculate root mean squared error
testScoreRMSE = sqrt(mean_squared_error(testY, testPredictInverse))
testScoreMAE = mean_absolute_error(testY, testPredictInverse)
print('Test Score: %f RMSE' % (testScoreRMSE))
print('Test Score: %f MAE' % (testScoreMAE))
# detail_network_file_name = full_path + 'SL=' + str(sti_level) + '_Slid=' + str(sliding) + '_Epoch=' + str(epoch) + '_BS=' + str(batch_size) + '_LR=' + str(learning_rate) + '_PN=' + str(positive_number) + '_NetworkDetail.txt'
# with open(detail_network_file_name, 'a') as f:
# print >> f, 'Weight input and hidden: ', matrix_Wih
# print >> f, 'Weight hidden and output: ', vector_Who
# print >> f, 'Predict normalize', predict
# print >> f, 'Predict unnormalize', testPredictInverse
# print >> f, 'len(testY): {0}, len(testPredict): {1}'.format(len(testY[0]), len(testPredictInverse))
# summarize history for point prediction
plt.figure(pl1)
plt.plot(testY)
plt.plot(testPredictInverse)
plt.title('model predict')
plt.ylabel('real value')
plt.xlabel('point')
plt.legend(['realY', 'predictY'], loc='upper left')
pic1_file_name = full_path + 'SL=' + str(sti_level) + '_Slid=' + str(sliding) + '_Epoch=' + str(epoch) + '_BS=' + str(batch_size) + '_LR=' + str(learning_rate) + '_PN=' + str(positive_number) + '_PointPredict.png'
plt.savefig(pic1_file_name)
plt.close()
pl1 += 1
plt.figure(pl2)
plt.plot(list_loss_AMSE)
plt.plot(list_loss_RMSE)
plt.ylabel('Real training loss')
plt.xlabel('Epoch:')
plt.legend(['Test Score MAE= ' + str(testScoreMAE) , 'Test Score RMSE= ' + str(testScoreRMSE) ], loc='upper left')
pic2_file_name = full_path + 'SL=' + str(sti_level) + '_Slid=' + str(sliding) + '_Epoch=' + str(epoch) + '_BS=' + str(batch_size) + '_LR=' + str(learning_rate) + '_PN=' + str(positive_number) + '_TrainingLoss.png'
plt.savefig(pic2_file_name)
plt.close()
pl2 += 1
| [
"nguyenthieu2102@gmail.com"
] | nguyenthieu2102@gmail.com |
4add1db58ecdc2c5689952ec4d1bafa4ac4016cb | fd88d4bea74a64e8bc9b62bbe9e340c6a90a6e9c | /tests/flask/lib/python2.7/site-packages/gpkit/solution_array.py | b73ff0e970ab1df6ba52ed676f85010b4d09d0c3 | [] | no_license | lochieferrier/gpkitjs | 5e6f39005d2d5be1b013ebe5910fbfca8c18fd69 | d38f58150edf1012956bb3ad9d7b22d0713cc9c7 | refs/heads/master | 2020-04-17T06:06:53.136088 | 2016-11-19T03:01:33 | 2016-11-19T03:01:33 | 66,820,027 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,845 | py | """Defines SolutionArray class"""
from collections import Iterable
import numpy as np
from .nomials import NomialArray
from .small_classes import Strings, DictOfLists
from .small_scripts import unitstr, mag
class SolutionArray(DictOfLists):
"""A dictionary (of dictionaries) of lists, with convenience methods.
Items
-----
cost : array
variables: dict of arrays
sensitivities: dict containing:
monomials : array
posynomials : array
variables: dict of arrays
localmodels : NomialArray
Local power-law fits (small sensitivities are cut off)
Example
-------
>>> import gpkit
>>> import numpy as np
>>> x = gpkit.Variable("x")
>>> x_min = gpkit.Variable("x_{min}", 2)
>>> sol = gpkit.Model(x, [x >= x_min]).solve(verbosity=0)
>>>
>>> # VALUES
>>> values = [sol(x), sol.subinto(x), sol["variables"]["x"]]
>>> assert all(np.array(values) == 2)
>>>
>>> # SENSITIVITIES
>>> senss = [sol.sens(x_min), sol.sens(x_min)]
>>> senss.append(sol["sensitivities"]["variables"]["x_{min}"])
>>> assert all(np.array(senss) == 1)
"""
program = None
table_titles = {"cost": "Cost",
"sweepvariables": "Sweep Variables",
"freevariables": "Free Variables",
"constants": "Constants",
"variables": "Variables",
"sensitivities": "Sensitivities"}
def __len__(self):
try:
return len(self["cost"])
except TypeError:
return 1
except KeyError:
return 0
def __call__(self, posy):
posy_subbed = self.subinto(posy)
if hasattr(posy_subbed, "exp") and not posy_subbed.exp:
# it's a constant monomial
return posy_subbed.c
elif hasattr(posy_subbed, "c"):
# it's a posyarray, which'll throw an error if non-constant...
return posy_subbed.c
return posy_subbed
def subinto(self, posy):
"Returns NomialArray of each solution substituted into posy."
if posy in self["variables"]:
return self["variables"][posy]
elif len(self) > 1:
return NomialArray([self.atindex(i).subinto(posy)
for i in range(len(self))])
else:
return posy.sub(self["variables"])
def sens(self, key):
"Returns sensitivity of the given variable (unitless)."
return NomialArray(self["variables"]["sensitivities"][key])
def table(self, tables=("cost", "sweepvariables", "freevariables",
"constants", "sensitivities"),
latex=False, **kwargs):
"""A table representation of this SolutionArray
Arguments
---------
tables: Iterable
Which to print of ("cost", "sweepvariables", "freevariables",
"constants", "sensitivities")
fixedcols: If true, print vectors in fixed-width format
latex: int
If > 0, return latex format (options 1-3); otherwise plain text
included_models: Iterable of strings
If specified, the models (by name) to include
excluded_models: Iterable of strings
If specified, model names to exclude
Returns
-------
str
"""
if isinstance(tables, Strings):
tables = [tables]
strs = []
for table in tables:
subdict = self.get(table, None)
table_title = self.table_titles[table]
if table == "cost":
# pylint: disable=unsubscriptable-object
if latex:
# TODO should probably print a small latex cost table here
continue
strs += ["\n%s\n----" % table_title]
if len(self) > 1:
costs = ["%-8.3g" % c for c in subdict[:4]]
strs += [" [ %s %s ]" % (" ".join(costs),
"..." if len(self) > 4 else "")]
cost_units = self.program[0].cost.units
else:
strs += [" %-.4g" % subdict]
if hasattr(self.program, "cost"):
cost_units = self.program.cost.units
else:
# we're in a skipsweepfailures that only solved once
cost_units = self.program[0].cost.units
strs[-1] += unitstr(cost_units, into=" [%s] ", dimless="")
strs += [""]
elif not subdict:
continue
elif table == "sensitivities":
if not subdict["constants"]:
continue
strs += results_table(subdict["constants"], table_title,
minval=1e-2,
sortbyvals=True,
printunits=False,
latex=latex,
**kwargs)
else:
strs += results_table(subdict, table_title,
latex=latex, **kwargs)
if latex:
preamble = "\n".join(("% \\documentclass[12pt]{article}",
"% \\usepackage{booktabs}",
"% \\usepackage{longtable}",
"% \\usepackage{amsmath}",
"% \\begin{document}\n"))
strs = [preamble] + strs + ["% \\end{document}"]
return "\n".join(strs)
# pylint: disable=too-many-statements,too-many-arguments
# pylint: disable=too-many-branches,too-many-locals
def results_table(data, title, minval=0, printunits=True, fixedcols=True,
varfmt="%s : ", valfmt="%-.4g ", vecfmt="%-8.3g",
included_models=None, excluded_models=None, latex=False,
sortbyvals=False):
"""
Pretty string representation of a dict of VarKeys
Iterable values are handled specially (partial printing)
Arguments
---------
data: dict whose keys are VarKey's
data to represent in table
title: string
minval: float
skip values with all(abs(value)) < minval
printunits: bool
fixedcols: bool
if True, print rhs (val, units, label) in fixed-width cols
varfmt: string
format for variable names
valfmt: string
format for scalar values
vecfmt: string
format for vector values
latex: int
If > 0, return latex format (options 1-3); otherwise plain text
included_models: Iterable of strings
If specified, the models (by name) to include
excluded_models: Iterable of strings
If specified, model names to exclude
sortbyvals : boolean
If true, rows are sorted by their average value instead of by name.
"""
lines = []
decorated = []
models = set()
for i, (k, v) in enumerate(data.items()):
v_ = mag(v)
notnan = ~np.isnan([v_])
if np.any(notnan) and np.max(np.abs(np.array([v_])[notnan])) >= minval:
b = isinstance(v, Iterable) and bool(v.shape)
model = ", ".join(k.descr.get("models", ""))
models.add(model)
s = k.str_without("models")
if not sortbyvals:
decorated.append((model, b, (varfmt % s), i, k, v))
else:
decorated.append((model, np.mean(v), b, (varfmt % s), i, k, v))
if included_models:
included_models = set(included_models)
included_models.add("")
models = models.intersection(included_models)
if excluded_models:
models = models.difference(excluded_models)
decorated.sort(reverse=sortbyvals)
oldmodel = None
for varlist in decorated:
if not sortbyvals:
model, isvector, varstr, _, var, val = varlist
else:
model, _, isvector, varstr, _, var, val = varlist
if model not in models:
continue
if model != oldmodel and len(models) > 1:
if oldmodel is not None:
lines.append(["", "", ""])
if model is not "":
if not latex:
lines.append([model+" | ", "", "", ""])
else:
lines.append([r"\multicolumn{3}{l}{\textbf{" +
model + r"}} \\"])
oldmodel = model
label = var.descr.get('label', '')
units = unitstr(var, into=" [%s] ", dimless="") if printunits else ""
if isvector:
vals = [vecfmt % v for v in mag(val).flatten()[:4]]
ellipsis = " ..." if len(val) > 4 else ""
valstr = "[ %s%s ] " % (" ".join(vals), ellipsis)
else:
valstr = valfmt % mag(val)
valstr = valstr.replace("nan", " - ")
if not latex:
lines.append([varstr, valstr, units, label])
else:
varstr = "$%s$" % varstr.replace(" : ", "")
if latex == 1: # normal results table
lines.append([varstr, valstr, "$%s$" % var.unitstr(), label])
coltitles = [title, "Value", "Units", "Description"]
elif latex == 2: # no values
lines.append([varstr, "$%s$" % var.unitstr(), label])
coltitles = [title, "Units", "Description"]
elif latex == 3: # no description
lines.append([varstr, valstr, "$%s$" % var.unitstr()])
coltitles = [title, "Value", "Units"]
else:
raise ValueError("Unexpected latex option, %s." % latex)
if not latex:
if lines:
maxlens = np.max([list(map(len, line)) for line in lines], axis=0)
if not fixedcols:
maxlens = [maxlens[0], 0, 0, 0]
dirs = ['>', '<', '<', '<']
# check lengths before using zip
assert len(list(dirs)) == len(list(maxlens))
fmts = ['{0:%s%s}' % (direc, L) for direc, L in zip(dirs, maxlens)]
lines = [[fmt.format(s) for fmt, s in zip(fmts, line)]
for line in lines]
lines = [title] + ["-"*len(title)] + [''.join(l) for l in lines] + [""]
else:
colfmt = {1: "llcl", 2: "lcl", 3: "llc"}
lines = (["\n".join(["{\\footnotesize",
"\\begin{longtable}{%s}" % colfmt[latex],
"\\toprule",
" & ".join(coltitles) + " \\\\ \\midrule"])] +
[" & ".join(l) + " \\\\" for l in lines] +
["\n".join(["\\bottomrule", "\\end{longtable}}", ""])])
return lines
| [
"lochie@mit.edu"
] | lochie@mit.edu |
b73191115aea64e0cbf4cb04432456b60dca342c | cf5b403544ae2bc664c3a529a7e6fa18b7c9f691 | /lib/parser.py | d446291694201755df66f0c08398528a0b76522a | [] | no_license | bojangles-m/cli-clock | 11e8a319029db651a8c7aad911f5dac7d9439e63 | f2bfcbe5f19aa557cc20579d8aff2ba76b16c2fa | refs/heads/master | 2021-06-10T06:13:15.742592 | 2016-12-26T11:24:31 | 2016-12-26T11:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 368 | py | import argparse
def parser():
ap = argparse.ArgumentParser(prog='./clock')
ap.add_argument('app', choices=['alarm', 'timer'])
ap.add_argument('-t', '--time', help='Format: Y-m-d h:i [2016-07-22 12:33]')
ap.add_argument('-s', '--sec')
ap.add_argument('-m', '--msg', help='The message you want to get from notification.')
return ap.parse_args()
| [
"bojan.mazej@bueller.us"
] | bojan.mazej@bueller.us |
f8f4ae88d91dbe86305d869c08b1d26c05bf2e58 | 610ac1da64200c109b9ac48d162058fdd85801aa | /functions/functionobject1.py | d833cba91293e0095b7666ab7a182441fca783ad | [] | no_license | rajdharmkar/Python2.7 | 3d88e7c76c92bbba7481bce7a224ccc8670b3abb | 9c6010e8afd756c16e426bf8c3a40ae2cefdadfe | refs/heads/master | 2021-05-03T18:56:36.249812 | 2019-10-08T00:17:46 | 2019-10-08T00:17:46 | 120,418,397 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 361 | py | class Huluhulu:
def __init__(self, age, name, gender):
self.name = name
self.age = age
self.gender = gender
def foo(self):
print self.age, self.name, self.gender
h1 = Huluhulu(23, 'Joe', 'Male')
h2 = Huluhulu(27, 'Jane', "Female")
print h1.age
print h2.gender
print h1.foo()
print h2.foo()
| [
"rajdharmkar@gmail.com"
] | rajdharmkar@gmail.com |
eee08aa959c56b7c524e78bdc695a6ef16da1909 | 916aca4052eeb9f04bca9082c95b8121d9854b4c | /codility/CountingElements/MaxCounters/MaxCounters.py | c499eaf38baaea151a87ed01dfd22978c89e523e | [] | no_license | sirbega/ikre | db15fc8e06fe66e1bc0d8d3cfb3b47a29d960666 | 3372928b1ac1fcb7e6643ccd709b6d306e1383de | refs/heads/master | 2020-05-31T12:44:28.931216 | 2019-11-28T18:32:43 | 2019-11-28T18:32:43 | 94,031,020 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 569 | py | #!/usr/bin/env python3
"""Solution to the MaxCounters problem from Codility."""
def solution(N, A):
maxval = 0
curr = 0
B = [0] * N
duz = len(A)
for i in range(0, duz):
if A[i] <= N:
if curr > B[A[i] - 1]:
B[A[i] - 1] = curr
B[A[i] - 1] += 1
if maxval < B[A[i] - 1]:
maxval = B[A[i] - 1]
else:
curr = maxval
for j in range(0, N):
if B[j] < curr:
B[j] = curr
return B
unos = [3, 4, 4, 6, 1, 4, 4]
print(solution(5, unos))
| [
"sirbega@gmail.com"
] | sirbega@gmail.com |
72ae627289fc2cbbe19678bf7d7fe9cc914cf834 | acc3f2f9db8bbed8c972113cb513ac471063f4de | /phoebus-master/phoebus-master/app/display/model/src/main/resources/examples/connect2j/test-script.py | b66a3033a3bccccc8d230422a39d0b869d6b8f9c | [] | no_license | ScXin/localrepo | 26cf31e1895d4af120c852e1fa8f36afc433551b | c9697d382c8e4337e97e50e01add74b4596a8798 | refs/heads/master | 2022-10-21T11:08:33.286886 | 2020-08-30T12:24:52 | 2020-08-30T12:24:52 | 164,069,320 | 1 | 5 | null | 2022-10-04T23:51:20 | 2019-01-04T06:45:27 | Java | UTF-8 | Python | false | false | 334 | py | import sys
from connect2j import connectToJava
if (len(sys.argv) > 1):
gateway = None
try:
gateway = connectToJava(sys.argv[1])
map = gateway.getMap()
map['1'] = 1
gateway.setMap(map)
map["obj"].setValue("Hello")
finally:
if gateway != None:
gateway.shutdown() | [
"980425123@qq.com"
] | 980425123@qq.com |
6c13e3976ae6a0d552d63f750867cb6695ba169d | 5f393e84dd09a15721465250df4ea2576e5ec138 | /geoip/tests/functional/test_root.py | 411fe046a042d76eda7edcb15bca0c5ff08e5f2f | [] | no_license | alexcomu/geoip | 396a822b63f49340db4760fa15b2684211c1403f | d965e01c71bf32a0291f329f30bf639095ba86fb | refs/heads/master | 2021-01-01T05:28:32.033831 | 2016-04-12T15:00:28 | 2016-04-12T15:00:28 | 55,978,772 | 0 | 3 | null | null | null | null | UTF-8 | Python | false | false | 2,637 | py | # -*- coding: utf-8 -*-
"""
Functional test suite for the root controller.
This is an example of how functional tests can be written for controllers.
As opposed to a unit-test, which test a small unit of functionality,
functional tests exercise the whole application and its WSGI stack.
Please read http://pythonpaste.org/webtest/ for more information.
"""
from nose.tools import ok_
from geoip.tests import TestController
class TestRootController(TestController):
"""Tests for the method in the root controller."""
def test_index(self):
"""The front page is working properly"""
response = self.app.get('/')
msg = 'TurboGears 2 is rapid web application development toolkit '\
'designed to make your life easier.'
# You can look for specific strings:
ok_(msg in response)
# You can also access a BeautifulSoup'ed response in your tests
# (First run $ easy_install BeautifulSoup
# and then uncomment the next two lines)
# links = response.html.findAll('a')
# print(links)
# ok_(links, "Mummy, there are no links here!")
def test_environ(self):
"""Displaying the wsgi environ works"""
response = self.app.get('/environ.html')
ok_('The keys in the environment are:' in response)
def test_data(self):
"""The data display demo works with HTML"""
response = self.app.get('/data.html?a=1&b=2')
response.mustcontain("<td>a", "<td>1",
"<td>b", "<td>2")
def test_data_json(self):
"""The data display demo works with JSON"""
resp = self.app.get('/data.json?a=1&b=2')
ok_(
dict(page='data', params={'a': '1', 'b': '2'}) == resp.json,
resp.json
)
def test_secc_with_manager(self):
"""The manager can access the secure controller"""
# Note how authentication is forged:
environ = {'REMOTE_USER': 'manager'}
resp = self.app.get('/secc', extra_environ=environ, status=200)
ok_('Secure Controller here' in resp.text, resp.text)
def test_secc_with_editor(self):
"""The editor cannot access the secure controller"""
environ = {'REMOTE_USER': 'editor'}
self.app.get('/secc', extra_environ=environ, status=403)
# It's enough to know that authorization was denied with a 403 status
def test_secc_with_anonymous(self):
"""Anonymous users must not access the secure controller"""
self.app.get('/secc', status=401)
# It's enough to know that authorization was denied with a 401 status
| [
"alex.comunian@gmail.com"
] | alex.comunian@gmail.com |
1564ae225c4ae01b49ec9ce827d4d83e751e1e8e | e4ee4f0552068efc10d1bcc31be51244daa4657b | /comments/models.py | c341e203a4cfda1ac6ee544c4efe6198cc725617 | [] | no_license | zhangboda/blogproject | 9db260edecfa30bf74f0d27a3dd2e3aae70842bd | 14814776ccffaa344b454a514904d1123dd4b337 | refs/heads/master | 2021-01-20T09:21:58.366538 | 2017-05-04T09:29:55 | 2017-05-04T09:29:55 | 90,002,323 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 459 | py |
from django.db import models
from django.utils.six import python_2_unicode_compatible
@python_2_unicode_compatible
class Comment(models.Model):
name = models.CharField(max_length=100)
email = models.EmailField(max_length=255)
url = models.URLField(blank=True)
text = models.TextField()
created_time = models.DateTimeField(auto_now_add=True)
post = models.ForeignKey('blog.Post')
def __str__(self):
return self.text[:20] | [
"baida125@live.cn"
] | baida125@live.cn |
628366c16b3f789055b8b1e5f25387513a1c2954 | 85ec1af23203121d5bcff6f72e38b601dee672c3 | /L6_MaxProdructOfThree.py | cd71b822645bb16ed4a66ea512ccc4b648cdfcda | [] | no_license | zungybungy/Codility | 7d07718a044c95c74e469f43252f051fec726a57 | d37eba851394ac338a5217ac6286ada5d1139cf6 | refs/heads/master | 2021-01-21T10:05:39.507049 | 2017-06-18T17:18:18 | 2017-06-18T17:18:18 | 91,679,307 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | #Max product of 3 in array
def solution(A):
if len(A) < 3:
raise Exception("Invalid input")
A.sort()
return max(A[0] * A[1] * A[-1], A[-1] * A[-2] * A[-3])
A=[-7,8,9,3,-2,1]
print(solution(A)) | [
"noreply@github.com"
] | zungybungy.noreply@github.com |
bafa82fcbcaf8693bb456ed98339efafee635b17 | d814247777d44b84fa999ad9d437f7604735b3c4 | /dactyl/version.py | 21320a81c1531c2ab981c8d77fab64af0bc25015 | [
"MIT"
] | permissive | mDuo13/dactyl | 36a2fc363ef615e4d9a5668841181d3905cdb842 | 8ae73a6dfb14dd91dcfbbbb2938e6d8c2eebf457 | refs/heads/master | 2020-07-29T03:28:35.843944 | 2019-08-06T21:55:16 | 2019-08-06T21:55:16 | 209,652,354 | 1 | 0 | MIT | 2019-09-19T21:33:58 | 2019-09-19T21:33:58 | null | UTF-8 | Python | false | false | 22 | py | __version__ = '0.8.4'
| [
"mduo13@gmail.com"
] | mduo13@gmail.com |
a9c623b10363d1d528c90c439844d7b34f1bf24b | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/454/usersdata/281/109482/submittedfiles/programa.py | cb27632b09c4dbd72f321728cee61e8c2de28eed | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 311 | py | # -*- coding: utf-8 -*-
c=int(input('Digite o número de consutas ao estoque: '))
cont=0
l= []
for i in range(0,c,1):
l.append(int(input('Digite o tamanho do taco: ' )))
for i in range (0,c,1):
if l[i] == l[i+1]:
cont=cont+0
else:
cont=cont+2
print(cont)
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
4219aa6c3d61479571f438cf9e86b50d2c867b98 | 9336e203858ef632bc0dfaf7927279bb83403e18 | /hw2/test.py | b5635c5b0ce12033b877e2c1d54a53d66d45010f | [] | no_license | amanmibra/cs270 | 050ae33c58eac9f335d803c356696e8903017c36 | 79c1f363681e3adcafb93a527606331107f798c7 | refs/heads/master | 2020-04-19T11:30:39.493614 | 2019-05-04T00:17:33 | 2019-05-04T00:17:33 | 168,169,479 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,286 | py | """A set of example unit tests.
NOTE: Do not rely on these tests as they are just simple examples.
Your code will be tested on some secret instances of the problems!
"""
import unittest
from board import Board
from bot import Bot, minMaxBot, alphaBetaBot
import math
class TestConnectFour(unittest.TestCase):
def test_runtime_errors(self):
"""Tests that the methods of the bot classes can be called without an error.
"""
parent_bot = Bot(3, True)
minimax_bot = minMaxBot(4, False)
alphabeta_bot = alphaBetaBot(5, True)
board = Board()
parent_bot.generateChildren(board)
minimax_bot.findMove(board)
minimax_bot.miniMax(board, depth=2, player=True)
alphabeta_bot.alphaBeta(board, depth=2, player=False, alpha=3, beta=5)
def test_generate_children(self):
"""Tests that the generate_children method creates the children of the empty board correctly.
"""
parent_bot = Bot(3, True)
board = Board()
target_states = [
((0,), (), (), (), (), (), ()),
((), (0,), (), (), (), (), ()),
((), (), (0,), (), (), (), ()),
((), (), (), (0,), (), (), ()),
((), (), (), (), (0,), (), ()),
((), (), (), (), (), (0,), ()),
((), (), (), (), (), (), (0,)),
]
for target, (i, child) in zip(target_states, parent_bot.generateChildren(board)):
child_state = tuple([tuple(col) for col in child.board])
self.assertEqual(child_state, target)
def test_minimax(self):
"""Tests that the miniMax method returns the correct score and the move for a particular configuration.
"""
board = Board()
board.board[0].append(0)
board.board[1].append(1)
board.numMoves = 2
minimax_bot = minMaxBot(4, True)
s, m = minimax_bot.miniMax(board, minimax_bot.depthLimit, True)
self.assertEqual(s, 30)
self.assertEqual(m, 0)
def test_alphabeta(self):
"""Tests that the alphaBeta method returns the correct score and the move for a particular configuration.
"""
board = Board()
board.board[0].append(0)
board.board[1].append(1)
board.board[0].append(0)
board.numMoves = 3
alphabeta_bot = alphaBetaBot(6, False)
s, m = alphabeta_bot.alphaBeta(board, alphabeta_bot.depthLimit, False, -math.inf, math.inf)
self.assertEqual(s, 130)
self.assertEqual(m, 0)
def test_alphabeta_eq_minimax(self):
"""Tests that the miniMax and the alphaBeta methods return the same score and move for a particular configuration.
"""
board = Board()
board.board[0].append(0)
board.board[1].append(1)
board.board[0].append(0)
board.board[1].append(1)
board.numMoves = 4
minimax_bot = minMaxBot(5, True)
s_mm, m_mm = minimax_bot.miniMax(board, minimax_bot.depthLimit, True)
alphabeta_bot = alphaBetaBot(5, True)
s_ab, m_ab = alphabeta_bot.alphaBeta(board, alphabeta_bot.depthLimit, True, -math.inf, math.inf)
self.assertEqual(s_mm, s_ab)
self.assertEqual(m_mm, m_ab)
if __name__ == '__main__':
unittest.main()
| [
"amanmibra@gmail.com"
] | amanmibra@gmail.com |
0b79b6bf46d6c7618c28f7ee787ff2bf031928f8 | b538043029bac8b8e751e6ff62d41ab06f541d93 | /posts/admin.py | fefd701bf1d5c2310bab95a0ced1d09aaf412f21 | [] | no_license | prashantspandey/blogg | 0d0ef86d509b0a223df45b97aa39caa0eda85cda | 545488d5a6c557bc7cda5b731aa82bd99e330c97 | refs/heads/master | 2021-01-18T18:14:56.901596 | 2017-03-31T18:51:35 | 2017-03-31T18:51:35 | 86,851,152 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 308 | py | from django.contrib import admin
from .models import Post
class PostModelAdmin(admin.ModelAdmin):
list_display = ["title", "timestamp", "updated"]
list_filter = ["timestamp"]
search_fields = ["title", "content"]
class Meta:
model = Post
admin.site.register(Post, PostModelAdmin)
| [
"prashants_pandey@outlook.com"
] | prashants_pandey@outlook.com |
f54f3a3e7001e9df888be51ad86a36da229f3987 | 873f55a909fb9cbef388a12cdc043bb0dd6f2362 | /.env/bin/easy_install-3.7 | 94e544c94b43d9827fba2de331ccd7e5c2b7cad5 | [] | no_license | mdShakilHossainNsu2018/MyMDB | ae9e5f25f689a84ecf00d97f6ad5257a93d7035a | cb80fc0bdb1a043c84a5806224f65dad693252cc | refs/heads/master | 2021-06-17T05:37:46.609411 | 2019-07-05T12:25:16 | 2019-07-05T12:25:16 | 195,278,838 | 0 | 0 | null | 2021-06-10T21:40:42 | 2019-07-04T17:19:32 | Python | UTF-8 | Python | false | false | 264 | 7 | #!/home/shakil/code/django/MyMDB/.env/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"shakilnsu2018@gmail.com"
] | shakilnsu2018@gmail.com |
f5c3ef9067b66bfe032852b22a68a111d7a3eebc | ee4fe6e7c9b508d779fe9dda956359a1516fbf24 | /MuseTraitement.py | 0838dae5e92a425fe653b245be34b49fde8be9d9 | [] | no_license | hichbra/Muse | af5aa4a5d17b584aee20bba7eba89a9c815ec805 | 7aff7aa595e844fc2d8f3f3a08ad5345d91961f7 | refs/heads/master | 2021-01-20T03:45:59.369731 | 2017-06-21T11:30:52 | 2017-06-21T11:30:52 | 89,578,709 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,511 | py | from liblo import *
import sys
import time
import serial
from scipy import signal
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import numpy as np
from numpy import genfromtxt
import csv
import tensorflow as tf
from sklearn import datasets
from sklearn.model_selection import train_test_split
from random import randint
import os
clear = lambda: os.system('clear')
class MuseServer(ServerThread):
#listen for messages on port 5000
acc_x = -1
acc_y = -1
acc_z = -1
l_ear = -1
l_forehead = -1
r_forehead = -1
r_ear = -1
r_aux = -1
quantization = -1
dropped_samples = -1
delta_absolutel_ear = -1
delta_absolutel_forehead = -1
delta_absoluter_forehead = -1
delta_absoluter_ear = -1
theta_absolutel_ear = -1
theta_absolutel_forehead = -1
theta_absoluter_forehead = -1
theta_absoluter_ear = -1
alpha_absolutel_ear = -1
alpha_absolutel_forehead = -1
alpha_absoluter_forehead = -1
alpha_absoluter_ear = -1
beta_absolutel_ear = -1
beta_absolutel_forehead = -1
beta_absoluter_forehead = -1
beta_absoluter_ear = -1
gamma_absolutel_ear = -1
gamma_absolutel_forehead = -1
gamma_absoluter_forehead = -1
gamma_absoluter_ear = -1
def __init__(self):
ServerThread.__init__(self, 5000)
#receive accelrometer data
@make_method('/muse/acc', 'fff')
def acc_callback(self, path, args):
MuseServer.acc_x, MuseServer.acc_y, MuseServer.acc_z = args
#print "%s %f %f %f" % (path, acc_x, acc_y, acc_z)
#receive EEG data
@make_method('/muse/eeg', 'fffff')
def eeg_callback(self, path, args):
MuseServer.l_ear, MuseServer.l_forehead, MuseServer.r_forehead, MuseServer.r_ear , MuseServer.r_aux = args
#print "%s %f %f %f %f %f" % (path, MuseServer.l_ear, MuseServer.l_forehead, MuseServer.r_forehead, MuseServer.r_ear, MuseServer.r_aux)
@make_method('/muse/eeg/quantization', 'iiii')
def quantiz_callback(self, path, args):
MuseServer.quantization = args
print (args)
@make_method('/muse/eeg/dropped_samples', 'i')
def drop_callback(self, path, args):
MuseServer.dropped_samples = args
print "%s %i" % (path, MuseServer.dropped_samples)
@make_method('/muse/elements/alpha_absolute', 'ffff')
def alphaabs_callback(self, path, args):
MuseServer.alpha_absolutel_ear, MuseServer.alpha_absolutel_forehead, MuseServer.alpha_absoluter_forehead, MuseServer.alpha_absoluter_ear =args
#print ("alpha", args)
@make_method('/muse/elements/beta_absolute', 'ffff')
def betaabs_callback(self, path, args):
MuseServer.beta_absolutel_ear, MuseServer.beta_absolutel_forehead, MuseServer.beta_absoluter_forehead, MuseServer.beta_absoluter_ear =args
#print ("beta", args)
@make_method('/muse/elements/delta_absolute', 'ffff')
def deltaabs_callback(self, path, args):
MuseServer.delta_absolutel_ear, MuseServer.delta_absolutel_forehead, MuseServer.delta_absoluter_forehead, MuseServer.delta_absoluter_ear =args
#print ("delta", args)
@make_method('/muse/elements/theta_absolute', 'ffff')
def thetaabs_callback(self, path, args):
MuseServer.theta_absolutel_ear, MuseServer.theta_absolutel_forehead, MuseServer.theta_absoluter_forehead, MuseServer.theta_absoluter_ear =args
#print ("theta", args)
@make_method('/muse/elements/gamma_absolute', 'ffff')
def gammaabs_callback(self, path, args):
MuseServer.gamma_absolutel_ear, MuseServer.gamma_absolutel_forehead, MuseServer.gamma_absoluter_forehead, MuseServer.gamma_absoluter_ear =args
#print ("gamma", args)
#handle unexpected messages
@make_method(None, None)
def fallback(self, path, args, types, src):
"""print "Unknown message \
\n\t Source: '%s' \
\n\t Address: '%s' \
\n\t Types: '%s ' \
\n\t Payload: '%s'" \
% (src.url, path, types, args)"""
try:
server = MuseServer()
except ServerError, err:
print str(err)
sys.exit()
server.start()
RANDOM_SEED = 42
tf.set_random_seed(RANDOM_SEED)
"""""""""""""""""""""''''''""""""""""""""""""""""""
"""""""""""" MISE EN PLACE DES DONNEES """"""""""""
"""""""""""""""""""""''''''""""""""""""""""""""""""
NB_DATA = 75
input_signal = []
sortie_signal = []
for i in range(NB_DATA):
try:
my_data = genfromtxt("/home/hicham/Bureau/Stage/Dataset/dataset_stimulus/dataset_10ms/0/"+str(i)+".csv", delimiter=';')
sortie_signal.append(0)
except:
my_data = genfromtxt("/home/hicham/Bureau/Stage/Dataset/dataset_stimulus/dataset_10ms/1/"+str(i)+".csv", delimiter=';')
sortie_signal.append(1)
input_signal.append(np.reshape(my_data[:,2:3].T, -1, 2))
#2:3 l_forehead 500 100 / 100
#11:12 theta_absolutel_forehead 92.54 / 62.5
#12:13 theta_absoluter_forehead 23000 98.51 / 75.00
#18:19 beta_absolutel_ear 27000 77.78% / 87.5
#23:24 gamma_absolutel_forehead 55000 85.07 / 87.5
# Frequence d'echantillonnage fs=333.333 Hz
# Filtre passe bande [1 10] Hz et d'ordre 4
# ou [0.5 30]
FiltreMin = 0.5
FiltreMax = 30
fs = 333.333
Wn = [[2*FiltreMin/fs], [2*FiltreMax/fs]]
# b, a = signal.butter(1, 10, 'low', analog=True)
b, a = signal.butter(4, Wn, 'bandpass')
output_signal = []
for i in range(NB_DATA):
output_signal.append(signal.filtfilt(b, a, input_signal[i]))
""""""""""""""""""""""""""""""""""""""""""""""""""""""
""""""""""""""""""""""""""""""""""""""""""""""""""""""
""""""""""""""""""""""""""""""""""""""""""""""""""""""
def init_weights(shape):
""" Weight initialization """
weights = tf.random_normal(shape, stddev=0.1)
return weights
def forwardprop(X, w_1, w_2):
"""
Forward-propagation.
IMPORTANT: yhat is not softmax since TensorFlow's softmax_cross_entropy_with_logits() does that internally.
"""
h = tf.nn.sigmoid(tf.matmul(X, w_1)) # The \sigma function
yhat = tf.matmul(h, w_2) # The \varphi function
return yhat
def get_data():
#plt.plot(input_signal)
#plt.plot(output_signal)
#plt.plot(sortie)
#plt.show()
a = np.zeros((NB_DATA,2))
#print( "sortie = ",sortie[1:5])
""" Creation des fenetres temporelles """
global TAILLE_FENETRE
TAILLE_FENETRE = 185
dataset = np.zeros((NB_DATA, TAILLE_FENETRE+1)) # +1 pour la sortie desire
for i in range(NB_DATA):
for j in range(TAILLE_FENETRE):
dataset[i][j] = output_signal[i][j]
dataset[i][TAILLE_FENETRE] = sortie_signal[i]
print("DATASET", dataset)
data = dataset[0:dataset.shape[0],0:TAILLE_FENETRE]
target = dataset[0:dataset.shape[0],TAILLE_FENETRE].astype(int)
# Prepend the column of 1s for bias
N, M = data.shape
all_X = np.ones((N, M + 1))
all_X[:, 1:] = data
#all_X = data
print("-----------------------------------------------------------------\n")
print("Data = ",data)
print("DataSize = ",len(data))
print("Target = ",target)
print("N = ",N)
print("all_X = ",all_X)
# Convert into one-hot vectors
num_labels = len(np.unique(target))
all_Y = np.eye(num_labels)[target] # One liner trick!
print("all_Y = ",all_Y)
print(all_X.shape)
print(all_Y.shape)
return train_test_split(all_X, all_Y, train_size=0.9, test_size=0.1, random_state=RANDOM_SEED)
def useModel(fenetre_a_predire, model):
prediction = model.run(predict, feed_dict={X: fenetre_a_predire})[0]
return prediction
def main():
train_X, test_X, train_y, test_y = get_data()
# Layer's sizes
x_size = train_X.shape[1] # Number of input nodes: 4 features and 1 bias
h_size = 185 # Number of hidden nodes
y_size = train_y.shape[1] # Number of outcomes (3 iris flowers)
# Symbols
global X
X = tf.placeholder("float", shape=[None, x_size])
y = tf.placeholder("float", shape=[None, y_size])
# Weight initializations
W1 = init_weights((x_size, h_size))
w_1 = tf.Variable(W1, name="W1")
W2 = init_weights((h_size, y_size))
w_2 = tf.Variable(W2, name="W2")
# Forward propagation
yhat = forwardprop(X, w_1, w_2)
global predict
predict = tf.argmax(yhat, axis=1)
# Backward propagation
cost = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels=y, logits=yhat))
updates = tf.train.GradientDescentOptimizer(0.001).minimize(cost)
# Save
saver = tf.train.Saver()
tf.add_to_collection('vars', w_1)
tf.add_to_collection('vars', w_2)
sess = tf.Session()
new_saver = tf.train.import_meta_graph('Graph/STIMULUS/gamma_absolutel_forehead/gamma_absolutel_forehead.meta')
new_saver.restore(sess, tf.train.latest_checkpoint('./Graph/STIMULUS/gamma_absolutel_forehead'))
plt.ion()
plt.show()
""" -----------TRAITEMENT DES DONNEES------------ """
i=0
fenetre_a_predire = []
output_signal_l_ear = []
""" --- FILTRE --- """
FiltreMin = 0.5
FiltreMax = 30
fs = 333.333
Wn = [[2*FiltreMin/fs], [2*FiltreMax/fs]]
b, a = signal.butter(4, Wn, 'bandpass')
""" -------------- """
"""
while 1:
#print(server.acc_x)
print(i)
time.sleep(0.001)
#donnee=str(ser.readline())
try:
TAILLE_FENETRE = 185
if i < TAILLE_FENETRE:
fenetre_a_predire.append(server.l_ear)
else:
fenetre_a_predire = np.array(fenetre_a_predire)
fenetre_a_predire = fenetre_a_predire.reshape((1, TAILLE_FENETRE+1))
output_signal_l_ear = signal.filtfilt(b, a, fenetre_a_predire)
print("Out",output_signal_l_ear)
prediction = useModel(output_signal_l_ear, sess)
print("Prediction",prediction)
#sess.close()
fenetre_a_predire = np.delete(fenetre_a_predire, 0) # Supprime le premier enregistrement
fenetre_a_predire = np.append(fenetre_a_predire, server.l_ear) # Ajoute un nouvel enregistrement
#print(fenetre_a_predire)
i=i+1
except ValueError as e:
print("Error value ", e)
#ser.flush()
"""
""" ================================================================================================"""
numEnregistrement = 0
TAILLE_FENETRE = 186
while 1:
fenetre_a_predire = []
print ("Preparez-vous..")
time.sleep(5)
i=0
start_time = time.time()
afficheSignal = False
while (time.time() - start_time) < 2:
time.sleep(0.01) # 1ms
if i < TAILLE_FENETRE:
fenetre_a_predire.append(server.gamma_absolutel_forehead)
i+=1
#if ( afficheSignal == False):
#print((time.time() - start_time))
if (time.time() - start_time) > 0.2 and afficheSignal == False:
afficheSignal = True
print ("\033[32m Signal")
fenetre_a_predire = np.array(fenetre_a_predire)
print("TAILLE",len(fenetre_a_predire))
fenetre_a_predire = fenetre_a_predire.reshape((1, TAILLE_FENETRE))
output_signal_l_ear = signal.filtfilt(b, a, fenetre_a_predire)
print("Out",output_signal_l_ear)
prediction = useModel(output_signal_l_ear, sess)
print("Prediction",prediction)
clear()
numEnregistrement = numEnregistrement+1
if __name__ == '__main__':
main()
| [
"noreply@github.com"
] | hichbra.noreply@github.com |
aa609d283a9f994e7cc105b568c5a0f5bcd28f30 | 0df15189d7ee108d97094c11c5326c135f81c123 | /mistral/api/controllers/v2/event_trigger.py | 86e5045d1bacc1c8f7af474edae7f7fc8f31236f | [
"Apache-2.0"
] | permissive | FooBarQuaxx/mistral | 061873dd4b906e22719089add9bddb9c9d7bfbed | dc65464f823444931fd83d933e68e350dff4e99a | refs/heads/master | 2021-01-12T14:27:31.679143 | 2016-10-25T23:00:48 | 2016-10-25T23:00:48 | 71,993,934 | 0 | 0 | null | 2016-10-26T10:49:51 | 2016-10-26T10:49:50 | null | UTF-8 | Python | false | false | 5,258 | py | # Copyright 2016 - IBM Corp.
# Copyright 2016 Catalyst IT Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_log import log as logging
from pecan import rest
import wsmeext.pecan as wsme_pecan
from mistral.api import access_control as acl
from mistral.api.controllers.v2 import resources
from mistral.api.controllers.v2 import types
from mistral import context as auth_ctx
from mistral.db.v2 import api as db_api
from mistral import exceptions as exc
from mistral.services import triggers
from mistral.utils import rest_utils
LOG = logging.getLogger(__name__)
UPDATE_NOT_ALLOWED = ['exchange', 'topic', 'event']
CREATE_MANDATORY = set(['exchange', 'topic', 'event', 'workflow_id'])
class EventTriggersController(rest.RestController):
@rest_utils.wrap_wsme_controller_exception
@wsme_pecan.wsexpose(resources.EventTrigger, types.uuid)
def get(self, id):
"""Returns the specified event_trigger."""
acl.enforce('event_trigger:get', auth_ctx.ctx())
LOG.info('Fetch event trigger [id=%s]', id)
db_model = db_api.get_event_trigger(id)
return resources.EventTrigger.from_dict(db_model.to_dict())
@rest_utils.wrap_wsme_controller_exception
@wsme_pecan.wsexpose(resources.EventTrigger, body=resources.EventTrigger,
status_code=201)
def post(self, event_trigger):
"""Creates a new event trigger."""
acl.enforce('event_trigger:create', auth_ctx.ctx())
values = event_trigger.to_dict()
input_keys = [k for k in values if values[k]]
if CREATE_MANDATORY - set(input_keys):
raise exc.EventTriggerException(
"Params %s must be provided for creating event trigger." %
CREATE_MANDATORY
)
LOG.info('Create event trigger: %s', values)
db_model = triggers.create_event_trigger(
values.get('name', ''),
values.get('exchange'),
values.get('topic'),
values.get('event'),
values.get('workflow_id'),
workflow_input=values.get('workflow_input'),
workflow_params=values.get('workflow_params'),
)
return resources.EventTrigger.from_dict(db_model.to_dict())
@rest_utils.wrap_wsme_controller_exception
@wsme_pecan.wsexpose(resources.EventTrigger, types.uuid,
body=resources.EventTrigger)
def put(self, id, event_trigger):
"""Updates an existing event trigger.
The exchange, topic and event can not be updated. The right way to
change them is to delete the event trigger first, then create a new
event trigger with new params.
"""
acl.enforce('event_trigger:update', auth_ctx.ctx())
values = event_trigger.to_dict()
for field in UPDATE_NOT_ALLOWED:
if values.get(field, None):
raise exc.EventTriggerException(
"Can not update fields %s of event trigger." %
UPDATE_NOT_ALLOWED
)
db_api.ensure_event_trigger_exists(id)
LOG.info('Update event trigger: [id=%s, values=%s]', id, values)
db_model = triggers.update_event_trigger(id, values)
return resources.EventTrigger.from_dict(db_model.to_dict())
@rest_utils.wrap_wsme_controller_exception
@wsme_pecan.wsexpose(None, types.uuid, status_code=204)
def delete(self, id):
"""Delete event trigger."""
acl.enforce('event_trigger:delete', auth_ctx.ctx())
LOG.info("Delete event trigger [id=%s]", id)
event_trigger = db_api.get_event_trigger(id)
triggers.delete_event_trigger(event_trigger.to_dict())
@wsme_pecan.wsexpose(resources.EventTriggers, types.uuid, int,
types.uniquelist, types.list, types.uniquelist,
types.jsontype)
def get_all(self, marker=None, limit=None, sort_keys='created_at',
sort_dirs='asc', fields='', **filters):
"""Return all event triggers."""
acl.enforce('event_trigger:list', auth_ctx.ctx())
LOG.info("Fetch event triggers. marker=%s, limit=%s, sort_keys=%s, "
"sort_dirs=%s, fields=%s, filters=%s", marker, limit,
sort_keys, sort_dirs, fields, filters)
return rest_utils.get_all(
resources.EventTriggers,
resources.EventTrigger,
db_api.get_event_triggers,
db_api.get_event_trigger,
resource_function=None,
marker=marker,
limit=limit,
sort_keys=sort_keys,
sort_dirs=sort_dirs,
fields=fields,
**filters
)
| [
"anlin.kong@gmail.com"
] | anlin.kong@gmail.com |
be378c5d5421dd74bf3ce956eb900d406e4333eb | dfcb65de02953afaac24cc926ee32fcdede1ac21 | /src/pyrin/database/services.py | 506d9dbb49988557b0bdbb4a6582656a9515900d | [
"BSD-3-Clause"
] | permissive | mononobi/pyrin | 031d0c38da945b76b07ea100554ffc7f8081b05e | 9d4776498225de4f3d16a4600b5b19212abe8562 | refs/heads/master | 2023-08-31T03:56:44.700142 | 2023-08-20T22:20:06 | 2023-08-20T22:20:06 | 185,481,041 | 20 | 8 | null | null | null | null | UTF-8 | Python | false | false | 10,509 | py | # -*- coding: utf-8 -*-
"""
database services module.
"""
from pyrin.application.services import get_component
from pyrin.database import DatabasePackage
def get_current_store(**kwargs):
"""
gets current database store.
note that this method will always get the correct session based on available
context. so if you are in an atomic context, it gets you the correct atomic
session, but if you are not in an atomic context, it will get you the related
session to current scope.
:keyword object **kwargs: keyword arguments will be passed to the
`CoreScopedSession.session_factory` callable
to configure the new session that's being
created, if an existing session is not present.
if the session is present and keyword arguments
have been passed, an error will be raised.
:raises ScopedSessionIsAlreadyPresentError: scoped session is already present error.
:returns: database session
:rtype: CoreSession
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_current_store(**kwargs)
def get_current_session_factory():
"""
gets current database session factory.
this method should not be used directly for data manipulation.
use `get_current_store` method instead.
:returns: database session factory
:rtype: CoreScopedSession
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_current_session_factory()
def get_atomic_store(**kwargs):
"""
gets an atomic database store.
atomic is meaning a new session with a new transaction. note that it's normally
not needed to get an atomic session manually, instead you could use `@atomic`
decorator to provide you an atomic session. but if you really need to get an atomic
session manually, you have to manually remove that session from corresponding
session factory after you've done. otherwise, unexpected behaviour may occur.
so if you get an atomic session, and don't remove it, after that if you get another
session in the same scope, you will get the same exact atomic session. but if you
get an atomic session, and remove it from corresponding session factory after you've
done, after that if you get a session, it will get you a session related to current
scope. this is why it's recommended not to get an atomic session manually, and
instead use `@atomic` decorator when you need an atomic session.
:keyword bool expire_on_commit: expire atomic session after commit.
it is useful to set it to True if
the atomic function does not return
any entities for post-processing.
defaults to False if not provided.
:keyword object **kwargs: keyword arguments will be passed to the
`CoreScopedSession.session_factory` callable
to configure the new atomic session that's
being created.
:returns: database session
:rtype: CoreSession
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_atomic_store(**kwargs)
def finalize_transaction(response, **options):
"""
this method will finalize database transaction of each request.
this method will finalize both normal and atomic sessions of
current request if available.
we should not raise any exception in finalize transaction hook,
so we return an error response in case of any exception.
note that normally you should never call this method manually.
:param CoreResponse response: response object.
:rtype: CoreResponse | tuple
"""
return get_component(DatabasePackage.COMPONENT_NAME).finalize_transaction(response,
**options)
def cleanup_session(exception):
"""
this method will cleanup database session of each request.
this method will cleanup both normal and atomic sessions of
current request if available.
in case of any unhandled exception. we should not raise any exception
in teardown request handlers, so we just log the exception.
note that normally you should never call this method manually.
:param Exception exception: exception instance.
"""
return get_component(DatabasePackage.COMPONENT_NAME).cleanup_session(exception)
def register_session_factory(instance, **options):
"""
registers a new session factory or replaces the existing one.
if `replace=True` is provided. otherwise, it raises an error
on adding an instance which it's `request_bounded` is already available
in registered session factories.
:param AbstractSessionFactoryBase instance: session factory to be registered.
it must be an instance of
AbstractSessionFactoryBase.
:keyword bool replace: specifies that if there is another registered
session factory with the same `request_bounded`,
replace it with the new one, otherwise raise an error.
defaults to False.
:raises InvalidSessionFactoryTypeError: invalid session factory type error.
:raises DuplicatedSessionFactoryError: duplicated session factory error.
"""
return get_component(DatabasePackage.COMPONENT_NAME).register_session_factory(instance,
**options)
def register_bind(entity, bind_name, **options):
"""
binds the given model class with specified bind database.
:param type[BaseEntity] entity: base entity subclass to be bounded.
:param str bind_name: bind name to be associated with the model class.
:raises InvalidEntityTypeError: invalid entity type error.
"""
return get_component(DatabasePackage.COMPONENT_NAME).register_bind(entity, bind_name,
**options)
def configure_session_factories():
"""
configures all application session factories.
normally, you should not call this method manually.
:raises InvalidDatabaseBindError: invalid database bind error.
"""
return get_component(DatabasePackage.COMPONENT_NAME).configure_session_factories()
def get_default_engine():
"""
gets database default engine.
:rtype: Engine
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_default_engine()
def get_bounded_engines():
"""
gets database bounded engines.
:returns: dict[str bind_name: Engine engine]
:rtype: dict
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_bounded_engines()
def get_entity_to_engine_map():
"""
gets entity to engine map.
:returns: dict[type entity, Engine engine]
:rtype: dict
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_entity_to_engine_map()
def get_table_name_to_engine_map():
"""
gets table name to engine map.
:returns: dict[str table_name, Engine engine]
:rtype: dict
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_table_name_to_engine_map()
def register_hook(instance):
"""
registers the given instance into database hooks.
:param DatabaseHookBase instance: database hook instance to be registered.
:raises InvalidDatabaseHookTypeError: invalid database hook type error.
"""
return get_component(DatabasePackage.COMPONENT_NAME).register_hook(instance)
def get_table_engine(table_name):
"""
gets the database engine which the provided table name is bounded to.
:param str table_name: table name to get its bounded engine.
:rtype: Engine
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_table_engine(table_name)
def get_bind_name_engine(bind_name):
"""
gets the database engine which the provided bind name is bounded to.
:param str bind_name: bind name to get its bounded engine.
:raises InvalidDatabaseBindError: invalid database bind error.
:rtype: Engine
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_bind_name_engine(bind_name)
def get_entity_engine(entity):
"""
gets the database engine which the provided entity class is bounded to.
:param BaseEntity entity: entity class to get its bounded engine.
:rtype: Engine
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_entity_engine(entity)
def get_bind_config_section_name(bind_name):
"""
gets the bind config section name for given bind name and currently
active environment in 'database.ini' from 'database.binds.ini' file.
:param str bind_name: bind name to get its section name.
:rtype: str
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_bind_config_section_name(bind_name)
def get_default_database_name():
"""
gets default database name.
:rtype: str
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_default_database_name()
def get_configs_prefix():
"""
gets the configs prefix for sqlalchemy keys in database config store.
it gets the value of `configs_prefix` key from database config store.
:rtype: str
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_configs_prefix()
def get_all_database_names():
"""
gets all database names defined in application.
it returns all available database names, even those
that do not have any entity bounded to them.
the result also includes the default database name.
:rtype: list[str]
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_all_database_names()
def get_database_bind_names():
"""
gets all database bind names defined in application.
it returns all available database bind names, even those
that do not have any entity bounded to them.
:rtype: list[str]
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_database_bind_names()
def get_ordering_key():
"""
gets the ordering key to be used for result ordering.
:rtype: str
"""
return get_component(DatabasePackage.COMPONENT_NAME).get_ordering_key()
| [
"mohamadnobakht@gmail.com"
] | mohamadnobakht@gmail.com |
d649ba25014fb09b9f4795cc0a80b34a1157cc7c | 154cee995010396b26eb00e3959e5e6781428134 | /cernael-python/8a.py | 43442d9038b7972716d14f5f2af8113187f2df88 | [] | no_license | Dyr-El/advent_of_code_2020 | bbe237cd9bc61ee34305e7e838bb0aafc4b8d839 | e6b5469e3191597ec5be479eb33feeab42c1280c | refs/heads/main | 2023-02-07T09:34:45.981646 | 2020-12-25T07:13:26 | 2020-12-25T07:13:26 | 315,087,260 | 1 | 0 | null | 2020-12-25T07:13:27 | 2020-11-22T16:56:42 | C++ | UTF-8 | Python | false | false | 599 | py | def solve(lines):
acc = 0
pnt = 0
code = [x.split() for x in lines]
while True:
if len(code[pnt]) == 3:
return acc
code[pnt].append('vis')
if code[pnt][0] == 'nop': pnt += 1
elif code[pnt][0] == 'acc':
acc += int(code[pnt][1])
pnt += 1
elif code[pnt][0] == 'jmp':
pnt += int(code[pnt][1])
return code[0:10]
if __name__ == '__main__':
lines = []
with open('8.txt') as f:
for line in f.readlines():
lines.append(line)
print(solve(lines))
| [
"tomas@cernael.com"
] | tomas@cernael.com |
821488fe4fbe9ab1b86bed97409a146e7211bc77 | 38bca498cf0004636f6d3ea12fe2ec8e85d8f8b6 | /cache_elmo.py | f38c88a9eac81a23747fea53ae28d040b143acab | [] | no_license | aurora-cn/elmo_chinese | 86efd98f525b0f7aaaa343969c057c4e0b1fe9e6 | e1791d3e3753d6bfaa2e92a840fdab99c16833fd | refs/heads/master | 2022-02-22T16:06:32.748480 | 2019-10-29T11:33:09 | 2019-10-29T11:33:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,199 | py | import h5py
import numpy as np
import json
import sys
def cache_dataset(data_path, out_file):
with open(data_path) as in_file:
for doc_num, line in enumerate(in_file.readlines()):
example = json.loads(line)
sentences = example["sentences"]
max_sentence_length = max(len(s) for s in sentences)
tokens = [[""] * max_sentence_length for _ in sentences]
text_len = np.array([len(s) for s in sentences])
for i, sentence in enumerate(sentences):
for j, word in enumerate(sentence):
tokens[i][j] = word
tokens = np.array(tokens)
lm_emd = 0
file_key = example["doc_key"].replace("/", ":")
group = out_file.create_group(file_key)
for i, (e, l) in enumerate(zip(lm_emb, text_len)):
e = e[:l, :, :]
group[str(i)] = e
if doc_num % 10 == 0:
print("Cached {} documents in {}".format(doc_num + 1, data_path))
with h5py.File("elmo_cache.hdf5", "w") as out_file:
for json_filename in sys.argv[1:]:
cache_dataset(json_filename, out_file) | [
"1277915903@qq.com"
] | 1277915903@qq.com |
42c5c8de1aba898a3b227b7cea735058a8c1db47 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_274/ch47_2020_03_11_11_16_47_340196.py | df5796a86e40c376f7c323657ae3dc21880ebae7 | [] | no_license | gabriellaec/desoft-analise-exercicios | b77c6999424c5ce7e44086a12589a0ad43d6adca | 01940ab0897aa6005764fc220b900e4d6161d36b | refs/heads/main | 2023-01-31T17:19:42.050628 | 2020-12-16T05:21:31 | 2020-12-16T05:21:31 | 306,735,108 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 225 | py | def estritamente_crescente(list):
n=len(list)
r=list[0]
i=i
new=[]
while i < n:
if list[i] > r:
new.append(list[i])
r=list[i]
i=i+1
return new
| [
"you@example.com"
] | you@example.com |
a07bff556564ec3f11fed22614db0a26111c2dac | 8733f3becc4bacad66f5829b95a9246d073847d9 | /mi_xmlrpc_modulo.py | f2a4f4627d4fef76955948fdaa156befb496d27a | [] | no_license | LingerANR/xmlrpc_odoo | 3f31239db4d80755f52d57ba0c6162a48e1a6a8f | a8496e79c375dad53e0c15a164500682ebbe5446 | refs/heads/master | 2022-08-10T06:28:43.430754 | 2020-05-22T16:47:50 | 2020-05-22T16:47:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,205 | py | import xmlrpc.client
url = 'http://192.168.1.80:8069'
db = 'loanbooks'
username = 'admin'
password = 'admin'
#info = xmlrpc.client.ServerProxy('http://192.168.1.80:8069/start').start()
#url, db, username, password = \
# info['host'], info['database'], info['user'], info['password']
common = xmlrpc.client.ServerProxy('{}/xmlrpc/2/common'.format(url))
print(common.version())
uid = common.authenticate(db, username, password, {})
print(uid)
models = xmlrpc.client.ServerProxy('{}/xmlrpc/2/object'.format(url))
print(models.execute_kw(db, uid, password,
'res.partner', 'check_access_rights',
['read'], {'raise_exception': False}))
#
ids = models.execute_kw(db, uid, password,
'res.partner', 'search',
[[['is_company', '=', True]]])
print(ids)
print("Voy por los registros")
for id in ids:
[registro] = models.execute_kw(db, uid, password,
'res.partner', 'read', [id],{'fields': ['name', 'country_id', 'comment','student_value']})
print(registro)
# if ids:
# registros=models.execute_kw(db, uid, password,
# 'res.partner', 'read',
# [ids], {'fields': ['name', 'country_id', 'comment','student_value']})
# for registro in registros:
# print(registro)
| [
"lc2kirito@gmail.com"
] | lc2kirito@gmail.com |
170dc0b41f0b14c75c953b69b8661ee5fdaab6f8 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/17/usersdata/100/7105/submittedfiles/lecker.py | 773c262f56bd6c323abdcd50a0c4fc870ffd98da | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 412 | py | # -*- coding: utf-8 -*-
from __future__ import division
import math
a = int(input('Digite o valor de A:'))
b = int(input('Digite o valor de B:'))
c = int(input('Digite o valor de C:'))
d = int(input('Digite o valor de D:'))
if a==b==c==d:
print 'N'
elif a<=b and a<=c and a<=d:
print 'S'
elif a>=b<=c<=d:
print 'S'
elif a>=b>=c<=d:
print 'S'
elif a>=b>=c>=d:
print 'S'
else:
print 'N' | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
eec92cff575b5ca2f4d6325ac9e84d3ab6430ec0 | 125b955d4403c80b25f78212ad037a5afd3564c5 | /spider/downloadpicture.py | a4368593a7eb1fac9837c5dd2a9f66cc50c9b92c | [] | no_license | Robinpig/Pythonista | 745cd57750f0e42758004726b9b58aa1882195ff | a88ccaed1e31a7ee3643150ba2d69e68eede3f7b | refs/heads/main | 2023-03-05T21:39:58.506786 | 2021-02-23T14:55:50 | 2021-02-23T14:55:50 | 341,588,938 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 172 | py | import requests
target = "https://search.jd.com/Search?keyword=rtx2060super&enc=utf-8&pvid=4ffb068ce2064661b69118579176e7f5"
req = requests.get(url=target)
print(req.text) | [
"gujiangyunan@hotail.com"
] | gujiangyunan@hotail.com |
99332733dbc8cf8ee71591ff5457d1a7591b5bae | 46404c77e04907225475e9d8be6e0fd33227c0b1 | /virus.py | 7fb772239d40580ee01ae20a56451a0ed56cab4c | [] | no_license | govardhananprabhu/DS-task- | 84b46e275406fde2d56c301fd1b425b256b29064 | bf54f3d527f52f61fefc241f955072f5ed9a6558 | refs/heads/master | 2023-01-16T07:41:27.064836 | 2020-11-27T11:52:50 | 2020-11-27T11:52:50 | 272,928,074 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,162 | py | """
Question
Assume you are the anivirus specialist,you need to found the virus in the given range.
Given a number N, virus is all numbers in range from 1 to N having exactly 3 divisors.
Input description
First line has integer denoting the range
Output description
print the virus till the range
Explanation
Input : N = 16
Output : 4 9
4 and 9 have exactly three divisors.
Divisor
Input
16
Output
4 9
Input
3
Output
-1
Input
99
Output
4 9 25 49
Input
10
Output
4 9
Input
1
Output
-1
HINT
We can generate all primes within a set using any sieve method efficiently and then we should all primes i, suct that i*i <=N.
Solution:"""
def numbersWith3Divisors(n):
prime=[True]*(n+1);
prime[0] = prime[1] = False;
p=2;
while (p*p<=n):
if (prime[p] == True):
for i in range(p*2,n+1,p):
prime[i] = False;
p+=1;
i=0;
while (i*i <= n):
if (prime[i]):
ans.append(i*i);
i+=1;
n = int(input())
ans=[]
numbersWith3Divisors(n);
if(len(ans)==0):
print(-1)
else:
print(*ans)
| [
"noreply@github.com"
] | govardhananprabhu.noreply@github.com |
0bda3dae428ef2d9d2bba009b4b5e02ab74d2928 | 165d9517af46d8b0276ec27ede7de1e67a5d7556 | /postulantes/migrations/0004_postulante_email.py | 82fe12737daabaec91681276c7ce38dfe4defcd0 | [] | no_license | domunoz/reclut | 2c0dee5d9d4fc4335311f73a13158dbc2f9eebf0 | 8e762de95c6e8009ffa1faee6f876964e181d8ff | refs/heads/master | 2021-01-25T08:59:48.675158 | 2014-11-24T03:10:34 | 2014-11-24T03:10:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 466 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('postulantes', '0003_auto_20141030_1053'),
]
operations = [
migrations.AddField(
model_name='postulante',
name='email',
field=models.EmailField(max_length=75, null=True, blank=True),
preserve_default=True,
),
]
| [
"fernandomunoztoledo@yahoo.com"
] | fernandomunoztoledo@yahoo.com |
1562e5e259f8cda6f1a5f06704432b36f36a7616 | 5493379d640d3fd4c4b68ec81546bfed0e5c5a4f | /Control/while.py | 840507a37905e31a3bf0cddd2f200e17140b34d2 | [] | no_license | HappyAnony/studynotes-of-python | 58fa4e81fb0eb2b3e8c55b6cda8b8f9c54fe9fc2 | a781b63353531ad70bb26189377feb9c552106e2 | refs/heads/master | 2021-05-14T23:57:26.144095 | 2017-10-08T12:13:51 | 2017-10-08T12:13:51 | 104,215,933 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 816 | py |
#!/usr/bin/env python
# -*-coding :uft-8 -*-
# Author:Anony
import getpass
_username = "anony"
_password = "12345"
#UserCount = 0
#PawdCount = 0
#while UserCount < 3:
for i in range(3):
username = input("username:")
if _username == username:
#while PawdCount < 3:
for j in range(3):
password = getpass.getpass("password:")
if _password == password:
print("welcome user {name} login...".format(name=username))
break
else:
print("Error password;Plz enter again")
#PawdCount += 1
else:
print("sorry")
break
break
else:
print("Invalid username;Plz enter again")
#UserCount += 1
else:
print("you have tried too many times....fuck off")
| [
"15377649725@163.com"
] | 15377649725@163.com |
5b392ed197c4854c10b2fe45dc53c402eb7dacb3 | 82f9da7e006048d6a360121808de8da72c635d88 | /SpatialBasedFeatures/Morphological/grayscale_morphological_analysis.py | 5f14adc39f97558f4f61ff0b6781e3be44eeef58 | [
"MIT"
] | permissive | zhoupanyun/features | e0efdcb28a22272af675098f5000ab7287631d5d | 74342dcf50f09113f4b6c179092d9a2f35694e5d | refs/heads/main | 2023-05-15T02:04:51.973349 | 2021-06-16T10:17:58 | 2021-06-16T10:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,942 | py | # -*- coding: utf-8 -*-
"""
==============================================================================
@author: Nikolaos Giakoumoglou
@date: Mon May 10 12:42:30 2021
@reference: [33] Maragos, Pattern Spectrum and Multiscale Shape Representation
[45] Maragos, Threshold Superposition in Morphological Image Analysis Systems
==============================================================================
B.3 Grayscale Mophological Analysis
==============================================================================
Inputs:
- img: image of dimensions N1 x N2
- N: scale
Outputs:
- features: pdf, cdf [N x 1]
==============================================================================
"""
import numpy as np
import matplotlib.pyplot as plt
from skimage import morphology
def _opening_FP(f, g, n): # (f o ng), n=0,1,2...
out = f.copy()
for i in range(n):
out = morphology.erosion(out, g)
for i in range(n):
out = morphology.dilation(out,g)
return out
def _pattern_spectrum(f, g, n): # PS(f,g,n) = A[f o ng - f o (n+1)g]
ps = _opening_FP(f,g,n) - _opening_FP(f,g,(n+1))
return ps.sum()
def grayscale_morphology_features(f,N):
f = f.astype(np.uint8) # grayscale image
kernel = np.ones((3,3), np.uint8) # kerne: cross '+'
kernel[0,0], kernel[2,2], kernel[0,2], kernel[2,0] = 0, 0, 0, 0
ps = np.zeros(N, np.double) # pattern spectrum
for n in range(N):
ps[n] = _pattern_spectrum(f,kernel,n)
pdf = ps / f.sum()
cdf = np.cumsum(pdf)
return pdf, cdf
def plot_pdf_cdf(pdf, cdf, name=''):
if name != '':
name = '('+name+')'
fig, (ax1, ax2) = plt.subplots(1,2)
fig.suptitle('Plaque Grayscale Morphological Features ' + str(name))
ax1.plot(pdf)
ax1.set_title('pdf')
ax2.plot(cdf)
ax2.set_title('cdf') | [
"noreply@github.com"
] | zhoupanyun.noreply@github.com |
c1cccb31f1fa417a89273eee9015016e06ae5852 | f0f1c481ebc2c5f77f7ecaeef762abeb20d8b8dc | /随机漫步/rw_visual.py | af0916f7cfe941530d65915d0d28d5852e0388a3 | [] | no_license | Yolo19/project1-data_visualization | e434f172a7e2535e46d50b5e2de0497fc840892b | c3ac7667bdbb1cb6157e0f53c4a89e94769a970b | refs/heads/master | 2020-06-23T06:43:17.450489 | 2019-07-30T11:03:43 | 2019-07-30T11:03:43 | 198,546,609 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 853 | py | import matplotlib.pyplot as plt
from 随机漫步.random_walk import RandomWalk
while True:
# 创建一个RandomWalk实例,并将其包含的点都绘制出来
rw = RandomWalk(50000)
rw.fill_walk()
# 设置绘图窗口的尺寸
plt.figure(dpi=128, figsize=(10, 6))
point_number = list(range(rw.num_points))
plt.scatter(rw.x_values, rw.y_values, c=point_number, cmap=plt.cm.Blues,
edgecolor='none', s=1)
# 突出起点和终点
plt.scatter(0, 0, c='green', edgecolors='none', s=100)
plt.scatter(rw.x_values[-1], rw.y_values[-1], c='red', edgecolor='none', s=100)
# 隐藏坐标轴
plt.axes().get_xaxis().set_visible(False)
plt.axes().get_yaxis().set_visible(False)
plt.show()
keep_running = input("Make another walk? (y/n): ")
if keep_running == 'n':
break
| [
"eric@example.com"
] | eric@example.com |
5c1734fe4c11aff486d9ce9c66efc27de83ebeea | d87b16eded7237249bdc852fd8ce0709fca73444 | /convert_1967.py | 65a5d5819a85fff610a9136794d3841865314e33 | [] | no_license | saramah/boston | c6f2edb6dcbb7f236c80222c731c55978bfde59c | ff8b60921d7ba0cd4beb1370f11b2cc47b1571bb | refs/heads/master | 2016-09-10T19:46:30.352936 | 2009-05-21T18:23:30 | 2009-05-21T18:23:30 | 163,432 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,579 | py | import os
import re
import sys
from helpers import *
#builds the neigh_pattern to strip parens from it
def build_nhpat(path):
infile = open(path)
pattern = ""
for line in infile:
pattern += "|" + line.split(",")[0]
infile.close()
return pattern[1:]
neighborhoods = build_nhpat("dict/allnhabbr.txt")
def convert(path):
outname = "1967/directory/data_converted/out" + path[20:]
outfile = open(outname, 'w')
with open(path) as infile:
text = infile.read()
for apt in re.findall(r'(?im)(\bAPT\s+(?:\d|A|B)+(?:\b|\n|\r)+)', text):
text = text.replace(apt, " ")
# for st in re.findall(r'(?i)\bst\b', text):
# text = text.replace(st, "")
for line in text.split("\r\n"):
if line.isspace() or len(line) == 0:
continue
words = line.split()
if len(words) == 1 and words[0].lower() in lnames:
outfile.write(line.upper() + '\n')
continue
if re.search(r'(?i)\bsee\b', line):
outfile.write(line + '\n')
continue
line = " ".join(words).title() + '\n'
#condensing Mrs
if re.search(r'Mr S', line):
line = line.replace('Mr S', 'Mrs')
#splitting ownership details and house number
for num in re.findall(r'(?i)\b(?:R|H)(?:\d|I|l|S|O)+\b', line):
if translate(num[1:]).isdigit():
line = line.replace(num, "%s %s" % (num[0].lower(), translate(num[1:])))
#removing neighborhood from parens
nh_pattern = r'(?i)((?:\(|<|C)\s*(%s|0)\s*(?:\)|>))' % neighborhoods
for num in re.findall(nh_pattern, line):
nh = num[1]
if nh == "0":
nh = "D"
# if nh.lower() in nhabbr:
# nh = nhabbr[nh.lower()]
line = line.replace(num[0], nh)
if line.isspace():
continue
outfile.write(line)
outfile.close()
if __name__ == "__main__":
directory = "1967/directory/data"
filepaths = []
if os.path.isdir(directory):
filepaths = os.listdir(directory)
filepaths = sorted(map((lambda x: directory + "/" + x), filepaths))
elif os.path.isfile(directory):
filepaths.append(directory)
else:
raise NotImplementedError
count = 0
for infile in filepaths:
count += 1
if count % 100 == 0:
print count
convert(infile)
| [
"sarah.barbour@gmail.com"
] | sarah.barbour@gmail.com |
00cd13c5abc90dee8a51d4dd6a3e61b32eebd5cf | c93289761e90de9cb7e97902cc6e2e43c51a0baf | /1_bimestre/slide_3/Chapter_15/ex3.py | fe493e64eedbcb21268c9f1188380d8d0e02d586 | [] | no_license | EricToshio/ITA-Subject-CES-22 | 0d8617cf8b75be795abd3a9a28f18564556e8634 | 0c9f53bc88b565cb2673fea2e497817f3983f09d | refs/heads/master | 2021-01-24T07:36:30.512369 | 2018-07-02T19:03:57 | 2018-07-02T19:03:57 | 122,962,363 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 688 | py | import sys
def test(did_pass):
""" Print the result of a test. """
linenum = sys._getframe(1).f_lineno # Get the caller's line number.
if did_pass:
msg = "Test at line {0} ok.".format(linenum)
else:
msg = ("Test at line {0} FAILED.".format(linenum))
print(msg)
class Point:
""" Point class represents and manipulates x,y coords. """
def __init__(self, x=0, y=0):
""" Create a new point at x, y """
self.x = x
self.y = y
def slope_from_origin(self):
return self.y/self.x
test(Point(4, 10).slope_from_origin() == 2.5)
#this function will fail when x = 0
"""
print(Point().slope_from_origin())
""" | [
"eric.toshio.e.s@gmail.com"
] | eric.toshio.e.s@gmail.com |
b89764f6e360b37ecc009a04c01dfeca55af8039 | 6d48dcda6c2ab816e25d13c701ae818715233f3d | /climbing_stairs_dp.py | e506acb7db1a81c85da6b4b398f69cef68559c40 | [] | no_license | kpratik2015/Python-Competitive-Codes | 7f1f412f3254c4c5a568c9b7b5a83d2b633a6bfb | 94d2d940b41b7085f808fd11b51210686973df6f | refs/heads/master | 2022-12-16T13:16:27.261862 | 2020-09-11T19:33:57 | 2020-09-11T19:33:57 | 292,917,700 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 317 | py | # Problem: https://leetcode.com/problems/climbing-stairs/
class Solution:
def climbStairs(self, n: int) -> int:
if n <= 3:
return n
dp = [1,2,3] + [0] * (n-3)
for i in range(3, n):
dp[i] = dp[i-1] + dp[i-2]
return dp[-1]
print(Solution().climbStairs(45)) | [
"frek1546@gmail.com"
] | frek1546@gmail.com |
9dc8931beacba81e543c5b21531b744e845ff159 | 54a669318d6053ff93e359ea04493b2f71284e80 | /kns/release/views.py | 7e18de9ea925652f088c47d96355b8d9dbfe48f2 | [] | no_license | ftao/kns | d751719ada3ec81c96b7f98a52528e55c82d7612 | 047b4aed6433663b2af09a0555809c4af834c7ca | refs/heads/master | 2021-01-23T11:55:12.179818 | 2011-05-08T03:40:28 | 2011-05-08T03:40:28 | 1,679,138 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 435 | py | from django.template import RequestContext
from django.shortcuts import render_to_response
from kns.release.models import Release
def update_manifest(request, name):
release = Release.objects.filter(name = name).order_by('-released_time', '-id')[0]
return render_to_response('release/update.xml',
{'release' : release },
context_instance = RequestContext(request),
mimetype = 'application/xml',
)
| [
"Filia.Tao@gmail.com"
] | Filia.Tao@gmail.com |
4c72c5af8c504591dceb2dbb25146a7a99d31e3b | fbe68d84e97262d6d26dd65c704a7b50af2b3943 | /third_party/virtualbox/src/VBox/Additions/common/crOpenGL/pack/packspu_get.py | cf03a63da56e6377dffc577a4385ddd60be7954e | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CDDL-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"GPL-2.0-or-later",
"MPL-1.0",
"LicenseRef-scancode-generic-exception",
"Apache-2.0",
"OpenSSL",
"MIT"
] | permissive | thalium/icebox | c4e6573f2b4f0973b6c7bb0bf068fe9e795fdcfb | 6f78952d58da52ea4f0e55b2ab297f28e80c1160 | refs/heads/master | 2022-08-14T00:19:36.984579 | 2022-02-22T13:10:31 | 2022-02-22T13:10:31 | 190,019,914 | 585 | 109 | MIT | 2022-01-13T20:58:15 | 2019-06-03T14:18:12 | C++ | UTF-8 | Python | false | false | 6,183 | py | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
from __future__ import print_function
import sys
import apiutil
apiutil.CopyrightC()
print("""
/* DO NOT EDIT - THIS FILE AUTOMATICALLY GENERATED BY packspu_get.py SCRIPT */
#include "packspu.h"
#include "cr_packfunctions.h"
#include "cr_net.h"
#include "cr_mem.h"
#include "packspu_proto.h"
""")
print("""
static GLboolean crPackIsPixelStoreParm(GLenum pname)
{
if (pname == GL_UNPACK_ALIGNMENT
|| pname == GL_UNPACK_ROW_LENGTH
|| pname == GL_UNPACK_SKIP_PIXELS
|| pname == GL_UNPACK_LSB_FIRST
|| pname == GL_UNPACK_SWAP_BYTES
#ifdef CR_OPENGL_VERSION_1_2
|| pname == GL_UNPACK_IMAGE_HEIGHT
#endif
|| pname == GL_UNPACK_SKIP_ROWS
|| pname == GL_PACK_ALIGNMENT
|| pname == GL_PACK_ROW_LENGTH
|| pname == GL_PACK_SKIP_PIXELS
|| pname == GL_PACK_LSB_FIRST
|| pname == GL_PACK_SWAP_BYTES
#ifdef CR_OPENGL_VERSION_1_2
|| pname == GL_PACK_IMAGE_HEIGHT
#endif
|| pname == GL_PACK_SKIP_ROWS)
{
return GL_TRUE;
}
return GL_FALSE;
}
""")
print('#ifdef DEBUG');
from get_sizes import *
print('#endif');
simple_funcs = [ 'GetIntegerv', 'GetFloatv', 'GetDoublev', 'GetBooleanv' ]
vertattr_get_funcs = [ 'GetVertexAttribdv' 'GetVertexAttribfv' 'GetVertexAttribiv' ]
keys = apiutil.GetDispatchedFunctions(sys.argv[1]+"/APIspec.txt")
for func_name in keys:
params = apiutil.Parameters(func_name)
return_type = apiutil.ReturnType(func_name)
if apiutil.FindSpecial( "packspu", func_name ):
continue
if "get" in apiutil.Properties(func_name):
print('%s PACKSPU_APIENTRY packspu_%s(%s)' % ( return_type, func_name, apiutil.MakeDeclarationString( params ) ))
print('{')
print('\tGET_THREAD(thread);')
print('\tint writeback = 1;')
if return_type != 'void':
print('\t%s return_val = (%s) 0;' % (return_type, return_type))
params.append( ("&return_val", "foo", 0) )
print('\tif (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))')
print('\t{')
print('\t\tcrError( "packspu_%s doesn\'t work when there\'s no actual network involved!\\nTry using the simplequery SPU in your chain!" );' % func_name)
print('\t}')
if func_name in simple_funcs:
print("""
if (crPackIsPixelStoreParm(pname)
|| pname == GL_DRAW_BUFFER
#ifdef CR_OPENGL_VERSION_1_3
|| pname == GL_ACTIVE_TEXTURE
#endif
#ifdef CR_ARB_multitexture
|| pname == GL_ACTIVE_TEXTURE_ARB
#endif
|| pname == GL_TEXTURE_BINDING_1D
|| pname == GL_TEXTURE_BINDING_2D
#ifdef CR_NV_texture_rectangle
|| pname == GL_TEXTURE_BINDING_RECTANGLE_NV
#endif
#ifdef CR_ARB_texture_cube_map
|| pname == GL_TEXTURE_BINDING_CUBE_MAP_ARB
#endif
#ifdef CR_ARB_vertex_program
|| pname == GL_MAX_VERTEX_ATTRIBS_ARB
#endif
#ifdef GL_EXT_framebuffer_object
|| pname == GL_FRAMEBUFFER_BINDING_EXT
|| pname == GL_READ_FRAMEBUFFER_BINDING_EXT
|| pname == GL_DRAW_FRAMEBUFFER_BINDING_EXT
#endif
|| pname == GL_ARRAY_BUFFER_BINDING
|| pname == GL_ELEMENT_ARRAY_BUFFER_BINDING
|| pname == GL_PIXEL_PACK_BUFFER_BINDING
|| pname == GL_PIXEL_UNPACK_BUFFER_BINDING
)
{
#ifdef DEBUG
if (!crPackIsPixelStoreParm(pname)
#ifdef CR_ARB_vertex_program
&& (pname!=GL_MAX_VERTEX_ATTRIBS_ARB)
#endif
)
{
unsigned int i = 0;
%s localparams;
localparams = (%s) crAlloc(__numValues(pname) * sizeof(*localparams));
crState%s(&pack_spu.StateTracker, pname, localparams);
crPack%s(%s, &writeback);
packspuFlush( (void *) thread );
CRPACKSPU_WRITEBACK_WAIT(thread, writeback);
for (i=0; i<__numValues(pname); ++i)
{
if (localparams[i] != params[i])
{
crWarning("Incorrect local state in %s for %%x param %%i", pname, i);
crWarning("Expected %%i but got %%i", (int)localparams[i], (int)params[i]);
}
}
crFree(localparams);
return;
}
else
#endif
{
crState%s(&pack_spu.StateTracker, pname, params);
return;
}
}
""" % (params[-1][1], params[-1][1], func_name, func_name, apiutil.MakeCallString(params), func_name, func_name))
if func_name in vertattr_get_funcs:
print("""
if (pname != GL_CURRENT_VERTEX_ATTRIB_ARB)
{
#ifdef DEBUG
%s localparams;
localparams = (%s) crAlloc(__numValues(pname) * sizeof(*localparams));
crState%s(&pack_spu.StateTracker, index, pname, localparams);
crPack%s(index, %s, &writeback);
packspuFlush( (void *) thread );
CRPACKSPU_WRITEBACK_WAIT(thread, writeback);
for (i=0; i<crStateHlpComponentsCount(pname); ++i)
{
if (localparams[i] != params[i])
{
crWarning("Incorrect local state in %s for %%x param %%i", pname, i);
crWarning("Expected %%i but got %%i", (int)localparams[i], (int)params[i]);
}
}
crFree(localparams);
#else
crState%s(&pack_spu.StateTracker, pname, params);
#endif
return;
}
""" % (params[-1][1], params[-1][1], func_name, func_name, apiutil.MakeCallString(params), func_name, func_name))
params.append( ("&writeback", "foo", 0) )
print('\tcrPack%s(%s);' % (func_name, apiutil.MakeCallString( params ) ))
print('\tpackspuFlush( (void *) thread );')
print('\tCRPACKSPU_WRITEBACK_WAIT(thread, writeback);')
lastParamName = params[-2][0]
if return_type != 'void':
print('\treturn return_val;')
print('}\n')
| [
"benoit.amiaux@gmail.com"
] | benoit.amiaux@gmail.com |
1cb848a0c6044c66b9e3ba770447ef29c481af20 | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /test/amp/test_amp_o2_embedding_model.py | 237ca1120d6d975854ec6fb521e8a6543a0aa297 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | Python | false | false | 4,324 | py | # Copyright (c) 2023 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import random
import unittest
import numpy as np
from amp_base_models import AmpTestBase, _build_optimizer
import paddle
from paddle import nn
paddle.enable_static()
_fixed_param = np.random.random(size=[64, 64]).astype("float32")
class SimpleUnittedEmbeddingNet(nn.Layer):
def __init__(self):
super().__init__()
self.vocab_size = 64
self.hidden_size = 64
global _fixed_param
self.param_attr = paddle.ParamAttr(
initializer=paddle.nn.initializer.Assign(_fixed_param)
)
self.embedding = nn.Embedding(
self.vocab_size, self.hidden_size, weight_attr=self.param_attr
)
self.linear = nn.Linear(
in_features=self.hidden_size,
out_features=self.vocab_size,
weight_attr=self.param_attr,
)
def forward(self, x):
out = self.embedding(x)
scale = paddle.full(shape=[1], fill_value=2, dtype="int64")
out = paddle.multiply(out, scale.astype("float32"))
out = self.linear(out)
out = nn.functional.dropout(out, p=0.2)
return out
def build_unitted_embedding_model(
use_amp,
amp_dtype="float16",
amp_level="O1",
use_promote=False,
):
main_program = paddle.static.Program()
startup_program = paddle.static.Program()
with paddle.utils.unique_name.guard():
with paddle.static.program_guard(main_program, startup_program):
model = SimpleUnittedEmbeddingNet()
x = paddle.static.data(name='x', shape=[None, 32], dtype='int64')
out = model(x)
loss = paddle.mean(out)
if use_amp:
amp_lists = paddle.static.amp.AutoMixedPrecisionLists(
custom_white_list=["elementwise_mul"],
custom_black_list=["reduce_mean"],
dtype=amp_dtype,
)
else:
amp_lists = None
optimizer = _build_optimizer(
use_amp,
amp_dtype,
amp_level,
amp_lists,
True,
use_promote=use_promote,
)
optimizer.minimize(loss)
feed_vars = [x]
fetch_vars = [loss]
return main_program, startup_program, optimizer, feed_vars, fetch_vars
class TestUnittedEmbedding(AmpTestBase):
def _generate_feed_x(self):
seed = 0
paddle.seed(seed)
np.random.seed(seed)
random.seed(seed)
x = np.random.randint(1, 64, size=[1, 32]).astype("int64")
return x
def test_compare_o1_and_o2_master_grad(self):
def _run(place, exe, x_np, max_iters, level):
(
main_program,
startup_program,
optimizer,
feed_vars,
fetch_vars,
) = build_unitted_embedding_model(
True,
"float16",
level,
)
seed = 0
paddle.seed(seed)
np.random.seed(seed)
random.seed(seed)
losses = self.run_program(
main_program,
startup_program,
optimizer,
feed_vars,
fetch_vars,
place,
exe,
x_np,
max_iters,
"float16",
level,
)
return losses
max_iters = 5
x = self._generate_feed_x()
place = paddle.CUDAPlace(0)
exe = paddle.static.Executor(place)
losses_o2 = _run(place, exe, x, max_iters, 'O2')
if __name__ == "__main__":
unittest.main()
| [
"noreply@github.com"
] | PaddlePaddle.noreply@github.com |
8aad9984be56c20b02d2df22e07f7e3b1b06ec2a | 24564c26b62ac395a8297acab397879e8043c088 | /py_avrjtag/cmd_proto.py | b11f096cabb2590ef6f1bc100d6d1e432daf25dc | [] | no_license | zoobab/avr_jtag | 2b0a2d3fe37f2698c788f1e5d194d60900cdb531 | 4cc65f85240d69965e028d8e0a8b14695f3761c9 | refs/heads/master | 2021-01-20T09:23:56.059957 | 2020-10-16T17:27:13 | 2020-10-16T17:27:13 | 90,248,972 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,823 | py | import struct
CPCMD_PING = 1
CPCMD_SHIFT_TDI = 2
CPCMD_SHIFT_TMS = 3
CPCMD_SHIFT_TDI_TDO = 4
CPCMD_TRST = 5
CPCMD_PONG = 6
CPCMD_DATA = 7
CPCMD_ACK = 8
CPCMD_NAK = 9
def csum_add(csum, c):
return (((csum << 3) | (csum >> 5)) ^ c) & 0xff
class cmd(object):
OFF_SEQ = 2
OFF_DSZ = 3
OFF_CODE = 4
FRAME_OVERHEAD = 5
def __init__(self, seq=0, code=0, data=''):
if len(data) >= 255:
raise ValueError, 'data length (%d) >= 255' % (len(data))
self.seq = seq
self.code = code
self.data = data
pass
def to_frame(self):
csum = 0
csum = csum_add(0, self.code)
for c in self.data:
csum = csum_add(csum, ord(c))
pass
csum = csum_add(csum, 0)
frame = struct.pack('BBBBB', ord('J'), ord('C'), self.seq,
len(self.data) + 1, self.code)
frame = frame + self.data + chr(csum)
return frame
def from_frame(self, frame):
if frame[:2] != 'JC':
return -1
csum = 0
for c in frame[self.OFF_CODE:]:
csum = csum_add(csum, ord(c))
pass
if csum:
return -1
data_sz = ord(frame[self.OFF_DSZ])
if data_sz != (len(frame) - self.FRAME_OVERHEAD):
return -1
if not data_sz:
return -1
self.seq = ord(frame[self.OFF_SEQ])
self.code = ord(frame[self.OFF_CODE])
self.data = frame[self.OFF_CODE + 1:-1]
pass
def __repr__(self):
return '<%s {seq: %d, code: %d, data: %s}>' % \
(self.__class__.__name__, self.seq, self.code, repr(self.data))
pass
def prepend_nbits(nbits, data):
r = chr(nbits & 0xff) + chr(nbits >> 8) + data
return r
| [
"zoobab@gmail.com"
] | zoobab@gmail.com |
07ccbd569eae4fbafe4a0deec109617d0080ac08 | 128eb6dd23f376063356e101269d8c4cff8b82ff | /try_descriptor.py | bc40c02c4d30d7bb069a0ee0a31e4d8c76bd9c1f | [] | no_license | goldensky/Cours_tasks | 0c74f808a5b9c4a9c21c43ee4ccb731c2b3188b4 | 9b5e9647e300cd162527899684adcb152d3d2f10 | refs/heads/master | 2020-03-27T09:17:27.760172 | 2018-08-27T17:03:15 | 2018-08-27T17:03:15 | 146,326,618 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 269 | py |
class Value:
def __get__(self, obj, obj_type=None):
if obj is None:
return self
return self.amount * (1 - obj.commission)
def __set__(self, obj, amount):
if obj is None:
return self
self.amount = amount
| [
"tanya.generalova@gmail.com"
] | tanya.generalova@gmail.com |
032097e7fb84a8254f59dd0e5486a6f959df8b45 | 552556631580799b16d0fb31e8f10850383ef3b2 | /ex3/outputs/soplex/soplex.DW_16-WS_128.out/info.py | b7fda7322e2ae5a01a2df0fa0da28c01a9391604 | [] | no_license | gregth/NTUA-advcomparch | f19ee414f8b77f749a09f263feb980350f88880d | bc501f427ddf1423f851ce1a052dc335183c5103 | refs/heads/master | 2022-11-14T20:11:49.035503 | 2020-06-27T09:17:43 | 2020-06-27T09:17:43 | 262,262,423 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 18,866 | py | power = {'BUSES': {'Area': 1.29754,
'Bus/Area': 1.29754,
'Bus/Gate Leakage': 0.0064602,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0673664,
'Bus/Subthreshold Leakage with power gating': 0.0252624,
'Gate Leakage': 0.0064602,
'Peak Dynamic': 0.0,
'Runtime Dynamic': 0.0,
'Subthreshold Leakage': 0.0673664,
'Subthreshold Leakage with power gating': 0.0252624},
'Core': [{'Area': 119.057,
'Execution Unit/Area': 86.6744,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202689,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.0,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.53573,
'Execution Unit/Instruction Scheduler/Area': 72.2859,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00128586,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.42974,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.0763253,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0181057,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.0100338,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.312433,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 15.3414,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.0787719,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 31.247,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.431846,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 1.19378,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.680166,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 2216.59,
'Execution Unit/Instruction Scheduler/ROB/Area': 56.6164,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.232375,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 2183.92,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 28.1631,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 2.42487,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.917375,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 28.6713,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 3.63675,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 1.60757,
'Execution Unit/Integer ALUs/Area': 1.88348,
'Execution Unit/Integer ALUs/Gate Leakage': 0.106116,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.0640101,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.164823,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 1.60888,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.60333,
'Execution Unit/Peak Dynamic': 2216.77,
'Execution Unit/Register Files/Area': 7.29241,
'Execution Unit/Register Files/Floating Point RF/Area': 2.50136,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.00224986,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00767603,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.0359316,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.0142611,
'Execution Unit/Register Files/Gate Leakage': 0.00693828,
'Execution Unit/Register Files/Integer RF/Area': 4.79105,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00468842,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0610998,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.062489,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.0719089,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.0275432,
'Execution Unit/Register Files/Peak Dynamic': 0.0610998,
'Execution Unit/Register Files/Runtime Dynamic': 0.070165,
'Execution Unit/Register Files/Subthreshold Leakage': 0.10784,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.0418043,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.14051,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.0182516,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.0416556,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.501357,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.276722,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.103771,
'Execution Unit/Runtime Dynamic': 29.9143,
'Execution Unit/Subthreshold Leakage': 6.90512,
'Execution Unit/Subthreshold Leakage with power gating': 2.83458,
'Gate Leakage': 0.827878,
'Instruction Fetch Unit/Area': 11.7707,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000674402,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000674402,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000592995,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000232616,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.000257813,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00219961,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00626634,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0692887,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.226166,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 0.000512573,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 28.57,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.203078,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00974314,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.00408438,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 1.09746,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.0542519,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 7.43194,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 5.49615,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.0586004,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 35.6152,
'Instruction Fetch Unit/Runtime Dynamic': 0.324396,
'Instruction Fetch Unit/Subthreshold Leakage': 0.999833,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.434058,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0778052,
'L2/Runtime Dynamic': 0.00418373,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.94288,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 1.78371,
'Load Store Unit/Data Cache/Runtime Dynamic': 0.266489,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0449353,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0176836,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0176838,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 1.93424,
'Load Store Unit/Runtime Dynamic': 0.371383,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.0436048,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.0872102,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.650643,
'Load Store Unit/Subthreshold Leakage with power gating': 0.305539,
'Memory Management Unit/Area': 0.567766,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0154755,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0166433,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.0179325,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.0682363,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.00889652,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.755374,
'Memory Management Unit/Runtime Dynamic': 0.0255401,
'Memory Management Unit/Subthreshold Leakage': 0.135932,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.062079,
'Peak Dynamic': 2304.63,
'Renaming Unit/Area': 2.17134,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 7.59097,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 7.53206e-07,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.500614,
'Renaming Unit/Free List/Gate Leakage': 0.000137196,
'Renaming Unit/Free List/Peak Dynamic': 0.555157,
'Renaming Unit/Free List/Runtime Dynamic': 0.0118383,
'Renaming Unit/Free List/Subthreshold Leakage': 0.00287554,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.00152192,
'Renaming Unit/Gate Leakage': 0.020671,
'Renaming Unit/Int Front End RAT/Area': 1.324,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00252587,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 40.0834,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.422885,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.0404276,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.0230437,
'Renaming Unit/Peak Dynamic': 49.4836,
'Renaming Unit/Runtime Dynamic': 0.434725,
'Renaming Unit/Subthreshold Leakage': 0.166018,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0791106,
'Runtime Dynamic': 31.0746,
'Subthreshold Leakage': 11.5695,
'Subthreshold Leakage with power gating': 4.82062}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 2.467067161146109,
'Runtime Dynamic': 2.467067161146109,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.153019,
'Runtime Dynamic': 0.0218582,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 182.262,
'Gate Leakage': 0.882751,
'Peak Dynamic': 2304.79,
'Peak Power': 2324.11,
'Runtime Dynamic': 31.0964,
'Subthreshold Leakage': 18.4378,
'Subthreshold Leakage with power gating': 8.41372,
'Total Cores/Area': 119.057,
'Total Cores/Gate Leakage': 0.827878,
'Total Cores/Peak Dynamic': 2304.63,
'Total Cores/Runtime Dynamic': 31.0746,
'Total Cores/Subthreshold Leakage': 11.5695,
'Total Cores/Subthreshold Leakage with power gating': 4.82062,
'Total L3s/Area': 61.9075,
'Total L3s/Gate Leakage': 0.0484137,
'Total L3s/Peak Dynamic': 0.153019,
'Total L3s/Runtime Dynamic': 0.0218582,
'Total L3s/Subthreshold Leakage': 6.80085,
'Total L3s/Subthreshold Leakage with power gating': 3.32364,
'Total Leakage': 19.3205,
'Total NoCs/Area': 1.29754,
'Total NoCs/Gate Leakage': 0.0064602,
'Total NoCs/Peak Dynamic': 0.0,
'Total NoCs/Runtime Dynamic': 0.0,
'Total NoCs/Subthreshold Leakage': 0.0673664,
'Total NoCs/Subthreshold Leakage with power gating': 0.0252624}} | [
"gregthanasoulas@gmail.com"
] | gregthanasoulas@gmail.com |
80c2fc7ae4effeb380ef437503f4e5a7f2a68ab9 | 13474a1832650b731d9b5aa9d26d6e35925da85a | /project1/DETECT3.py | 7c4ec58eebf165d4e7be7ae89c523dd319594641 | [] | no_license | daichikuwa0618/followRobotTestRun | 9c797ef03dcce78db856f6731f0519b8ba00f197 | 01570392df831f5de5050bc5cfa285e560361425 | refs/heads/master | 2021-08-14T07:49:29.552256 | 2017-10-16T07:16:53 | 2017-10-16T07:16:53 | 104,143,651 | 1 | 1 | null | 2017-11-09T01:57:47 | 2017-09-20T00:16:39 | Shell | UTF-8 | Python | false | false | 2,858 | py | # -*- coding: utf-8 -*-
import serial
import time
import binascii
length = 800
bytecount = 0
address = 0
startcount = 0
counter = 0
degs = 0
degs2 = 0
dst = [0]*500
dst2 = [0]*500
stra = [0]*4
a = 360
length = 0
#con = serial.Serial('/dev/ttyAMA0',115200,timeout=10)
#con.write(chr(165))
#con.write(chr(32))
#print con.portstr
#print "Address | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"
#print "----------------------------------------------------------"
#print "00000000 :",
#f = open("data.log", "w")
def setup():
bytecount = 0
address = 0
startcount = 0
counter = 0
global dst, dst2
#dst = [0]*361
stra = [0]*4
global degs, degs2
#degs = 0
con = serial.Serial('/dev/ttyAMA0',115200,timeout=10)
con.write(chr(165))
con.write(chr(32))
#print con.portstr
#print "ここまで完了"
while 1 :
counter = counter + 1
str = con.read(1)
str = binascii.b2a_hex(str)
#print str
if str == "a5" and startcount == 0:
startcount += 1
#print counter
elif str == "5a" and startcount == 1 :
startcount += 1
#print counter
elif str == "05" and startcount == 2 :
startcount += 1
#print counter
elif str == "00" and startcount == 3 :
startcount += 1
#print counter
elif str == "00" and startcount == 4 :
startcount += 1
#print counter
elif str == "40" and startcount == 5 :
startcount += 1
#print counter
elif str == "81" and startcount == 6 :
startcount += 1
#print counter
if startcount == 7 :
break
print ("ok")
while 1 :
str = con.read(1)
str = binascii.b2a_hex(str)
#print str,
if bytecount == 1 :
stra[0] = int(str, 16)
elif bytecount == 2 :
stra[1] = int(str, 16)
elif bytecount == 3 :
stra[2] = int(str, 16)
elif bytecount == 4 :
stra[3] = int(str, 16)
if bytecount == 4 :
degs = ((stra[1]<<7) | (stra[0]>>1)) / 64
dst[degs] =int(((stra[3]<<8) | (stra[2])) / 4)
if dst[degs] > 800:
dst[degs] = 0
if dst[degs] != 0:
dst2 = dst
degs2 = degs
#print degs
#print dst[degs]
#if dst[degs] != 0 :
#a = degs
#length = dst[a]
#print "ifnoNAKA"
bytecount = bytecount + 1
address = address + 1
if bytecount > 4 :
#print("")
#f.write('\n')
bytecount = 0
#print "%08X :" % address,
#if address > 0x00010000 :
# break
#f.close()
| [
"31601805+daichikuwa0618@users.noreply.github.com"
] | 31601805+daichikuwa0618@users.noreply.github.com |
3774e2ac68727c955f997f8ac25255881787e507 | f5cedf0b72f482c79c6c4853170e1adf424b9227 | /hello_testing_dev_2100/settings.py | 8946c85969ba78833dedf0dbd3ea175bb16f8e14 | [] | no_license | crowdbotics-apps/hello-testing-dev-2100 | 7b0c8cd239f938cf0580292a9ae1f28f81ebc73c | 38962c1132e6d5886c2d811580bf455b37713924 | refs/heads/master | 2022-12-12T03:54:19.738941 | 2020-03-23T11:19:26 | 2020-03-23T11:19:26 | 249,410,278 | 0 | 0 | null | 2022-12-08T03:52:57 | 2020-03-23T11:18:49 | Python | UTF-8 | Python | false | false | 5,564 | py | """
Django settings for hello_testing_dev_2100 project.
Generated by 'django-admin startproject' using Django 2.2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
import environ
env = environ.Env()
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DEBUG", default=False)
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = env.str("SECRET_KEY")
ALLOWED_HOSTS = env.list("HOST", default=["*"])
SITE_ID = 1
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SECURE_SSL_REDIRECT = env.bool("SECURE_REDIRECT", default=False)
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites'
]
LOCAL_APPS = [
'home',
'users.apps.UsersConfig',
]
THIRD_PARTY_APPS = [
'rest_framework',
'rest_framework.authtoken',
'rest_auth',
'rest_auth.registration',
'bootstrap4',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.google',
'django_extensions',
'drf_yasg',
]
INSTALLED_APPS += LOCAL_APPS + THIRD_PARTY_APPS
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'hello_testing_dev_2100.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'hello_testing_dev_2100.wsgi.application'
# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
if env.str("DATABASE_URL", default=None):
DATABASES = {
'default': env.db()
}
# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/2.2/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.2/howto/static-files/
STATIC_URL = '/static/'
MIDDLEWARE += ['whitenoise.middleware.WhiteNoiseMiddleware']
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend'
)
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
]
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
# allauth / users
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_AUTHENTICATION_METHOD = 'email'
ACCOUNT_USERNAME_REQUIRED = False
ACCOUNT_EMAIL_VERIFICATION = "mandatory"
ACCOUNT_CONFIRM_EMAIL_ON_GET = True
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
ACCOUNT_UNIQUE_EMAIL = True
LOGIN_REDIRECT_URL = "users:redirect"
ACCOUNT_ADAPTER = "users.adapters.AccountAdapter"
SOCIALACCOUNT_ADAPTER = "users.adapters.SocialAccountAdapter"
ACCOUNT_ALLOW_REGISTRATION = env.bool("ACCOUNT_ALLOW_REGISTRATION", True)
SOCIALACCOUNT_ALLOW_REGISTRATION = env.bool("SOCIALACCOUNT_ALLOW_REGISTRATION", True)
REST_AUTH_SERIALIZERS = {
# Replace password reset serializer to fix 500 error
"PASSWORD_RESET_SERIALIZER": "home.api.v1.serializers.PasswordSerializer",
}
REST_AUTH_REGISTER_SERIALIZERS = {
# Use custom serializer that has no username and matches web signup
"REGISTER_SERIALIZER": "home.api.v1.serializers.SignupSerializer",
}
# Custom user model
AUTH_USER_MODEL = "users.User"
EMAIL_HOST = env.str("EMAIL_HOST", "smtp.sendgrid.net")
EMAIL_HOST_USER = env.str("SENDGRID_USERNAME", "")
EMAIL_HOST_PASSWORD = env.str("SENDGRID_PASSWORD", "")
EMAIL_PORT = 587
EMAIL_USE_TLS = True
if DEBUG:
# output email to console instead of sending
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
| [
"team@crowdbotics.com"
] | team@crowdbotics.com |
c9cbafa13600af967ee69d42fef1d36d5a5ac98c | e2dfa344ac6689ac16bcb6842e2970954d07a1fe | /myvenv/bin/easy_install-3.5 | ad461691298f5a59cbb3f95c1f9514827e9121d5 | [] | no_license | christianbos/aircheck | cdf0d3adf43969f3c1da59d1380d40aef5b2d302 | 2f2e1466598e0bee6f3bf684f503b51e3eac27ca | refs/heads/master | 2016-09-13T07:55:56.744619 | 2016-04-24T16:41:40 | 2016-04-24T16:41:40 | 56,938,488 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 299 | 5 | #!/Users/montserratcristinamoratogarcia/Desktop/AppSpace/aircheck/myvenv/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"moratogarcia1987@gmail.com"
] | moratogarcia1987@gmail.com |
39b3b3705bca967ecc3c85d02727bdb109987f71 | 1aa6c59395b0f4dcfe1af77937fa2465ff70d807 | /jpeg_eval/train.py | 47fd9c4aab2b5b3e3ca330a29a556770beb5a31f | [] | no_license | cucapra/ImageNetV2 | 08c8a11c0a7f7c6f742ea840bcd308034ccbe65b | 176e48da72c44d6c4224ea313a2b5db0fb26573d | refs/heads/master | 2021-06-21T15:19:26.518310 | 2021-06-02T01:09:37 | 2021-06-02T01:09:37 | 218,165,274 | 1 | 0 | null | 2020-01-10T03:55:40 | 2019-10-28T23:37:40 | Jupyter Notebook | UTF-8 | Python | false | false | 11,490 | py | """
Finetuning Torchvision Models
=============================
**Author:** `Nathan Inkawhich <https://github.com/inkawhich>`__
"""
from __future__ import print_function
from __future__ import division
import sys
import PIL
import torch
import torch.nn as nn
import torch.optim as optim
import torch.distributed as dist
import numpy as np
import torchvision
from torchvision import datasets, models, transforms
import matplotlib.pyplot as plt
import time
import os
import copy
import argparse
print("PyTorch Version: ",torch.__version__)
print("Torchvision Version: ",torchvision.__version__)
######################################################################
#
def parse_args(args):
parser = argparse.ArgumentParser(fromfile_prefix_chars='@')
parser.add_argument('--data_dir', '-d', type=str,\
default='/data/zhijing/jenna_data/', \
help='Directory of the input data. \
String. Default: /data/zhijing/jenna_data/')
parser.add_argument('--model_name', '-m', type=str,\
default='squeezenet',\
help = 'NN models to choose from [resnet, alexnet, \
vgg, squeezenet, densenet, inception]. \
String. Default: squeezenet')
parser.add_argument('--num_classes', '-c', type=int,\
default = 3,\
help = 'Number of classes in the dataset. \
Integer. Default: 3')
parser.add_argument('--batch_size', '-b', type=int,\
default = 8,\
help = 'Batch size for training (can change depending\
on how much memory you have. \
Integer. Default: 8)')
parser.add_argument('-ep', '--num_epochs', type=int,\
default = 25,\
help = 'Number of echos to train for. \
Integer. Default:25')
parser.add_argument('--val_name', type=str,\
default='/data/zhijing/flickrImageNetV2/matched_frequency_train/val/',\
help='Directory for validation dataset. \
String. Default:"val" ')
parser.add_argument('--feature_extract',action = 'store_true')
args,unparsed = parser.parse_known_args()
args.device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
args.dir = os.path.dirname(__file__)
return args
#####################################################################~~~~~~~~~~~~~~~~~~~~
## training and validation.
#
def train_model(args, model, dataloaders, criterion, optimizer, is_inception=False):
since = time.time()
val_acc_history = []
best_model_wts = copy.deepcopy(model.state_dict())
best_acc = 0.0
phases = ['train','val']
for epoch in range(args.num_epochs):
print('Epoch {}/{}'.format(epoch, args.num_epochs - 1))
print('-' * 10)
# Each epoch has a training and validation phase
for phase in phases:
if phase == 'train':
model.train() # Set model to training mode
else:
model.eval() # Set model to evaluate mode
running_loss = 0.0
running_corrects = 0
# Iterate over data.
#infos = []
for inputs, labels in dataloaders[phase]:
inputs = inputs.to(args.device)
labels = labels.to(args.device)
# forward
# track history if only in train
with torch.set_grad_enabled(phase == 'train'):
optimizer.zero_grad()
if is_inception and phase == 'train':
# From https://discuss.pytorch.org/t/how-to-optimize-inception-model-with-auxiliary-classifiers/7958
outputs, aux_outputs = model(inputs)
loss1 = criterion(outputs, labels)
loss2 = criterion(aux_outputs, labels)
loss = loss1 + 0.4*loss2
else:
outputs = model(inputs)
loss = criterion(outputs, labels)
reg_loss = 0
for param in model.parameters():
if param.requires_grad:
reg_loss += torch.norm(param, 1)
factor = 0.0005
loss += factor * reg_loss
_, preds = torch.max(outputs, 1)
#print(preds, labels)
# backward + optimize only if in training phase
if phase == 'train':
loss.backward()
optimizer.step()
# statistics
running_loss += loss.item() * inputs.size(0)
running_corrects += torch.sum(preds == labels.data)
epoch_loss = running_loss / len(dataloaders[phase].dataset)
epoch_acc = running_corrects.double() / len(dataloaders[phase].dataset)
print('{} Loss: {:.4f} Acc: {:.4f}'.format(phase, epoch_loss, epoch_acc))
# deep copy the model
if phase == 'val' and epoch_acc > best_acc:
best_acc = epoch_acc
best_model_wts = copy.deepcopy(model.state_dict())
if phase == 'val':
val_acc_history.append(epoch_acc)
print()
time_elapsed = time.time() - since
print('Training complete in {:.0f}m {:.0f}s'.format(time_elapsed // 60, time_elapsed % 60))
print('Best val Acc: {:4f}'.format(best_acc))
# load best model weights
model.load_state_dict(best_model_wts)
return model, val_acc_history, best_acc
######################################################################
# Set Model Parameters’ .requires_grad attribute
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##
def set_parameter_requires_grad(model, feature_extract):
if feature_extract:
for name, param in model.named_parameters():
param.requires_grad = False
######################################################################
# Initialize and Reshape the Networks
def initialize_model(args, use_pretrained=True):
# Initialize these variables which will be set in this if statement. Each of these
# variables is model specific.
model_ft = None
input_size = 0
if args.model_name == "resnet":
""" Resnet50
"""
model_ft = models.resnet50(pretrained=use_pretrained)
set_parameter_requires_grad(model_ft,\
args.feature_extract)
num_ftrs = model_ft.fc.in_features
model_ft.fc = nn.Linear(num_ftrs, args.num_classes)
input_size = 224
elif args.model_name == "alexnet":
""" Alexnet
"""
model_ft = models.alexnet(pretrained=use_pretrained)
set_parameter_requires_grad(model_ft,\
args.feature_extract)
num_ftrs = model_ft.classifier[6].in_features
model_ft.classifier[6] = nn.Linear(num_ftrs, args.num_classes)
input_size = 224
elif args.model_name == "vgg":
""" VGG11_bn
"""
model_ft = models.vgg11_bn(pretrained=use_pretrained)
set_parameter_requires_grad(model_ft,\
args.feature_extract)
num_ftrs = model_ft.classifier[6].in_features
model_ft.classifier[6] = nn.Linear(num_ftrs, args.num_classes)
input_size = 224
elif args.model_name == "squeezenet":
""" Squeezenet
"""
model_ft = models.squeezenet1_0(pretrained=use_pretrained)
set_parameter_requires_grad(model_ft,\
args.feature_extract)
model_ft.classifier[1] = nn.Conv2d(512, args.num_classes, kernel_size=(1,1), stride=(1,1))
model_ft.num_classes = args.num_classes
input_size = 224
elif args.model_name == "densenet":
""" Densenet
"""
model_ft = models.densenet121(pretrained=use_pretrained)
set_parameter_requires_grad(model_ft,\
args.feature_extract)
num_ftrs = model_ft.classifier.in_features
model_ft.classifier = nn.Linear(num_ftrs, args.num_classes)
input_size = 224
elif args.model_name == "inception":
""" Inception v3
Be careful, expects (299,299) sized images and has auxiliary output
"""
model_ft = models.inception_v3(pretrained=use_pretrained)
set_parameter_requires_grad(model_ft,\
args.feature_extract)
# Handle the auxilary net
num_ftrs = model_ft.AuxLogits.fc.in_features
model_ft.AuxLogits.fc = nn.Linear(num_ftrs, args.num_classes)
# Handle the primary net
num_ftrs = model_ft.fc.in_features
model_ft.fc = nn.Linear(num_ftrs,args.num_classes)
input_size = 299
else:
print("Invalid model name, exiting...")
exit()
#load_from = os.path.join(args.dir,"verification.final")
#print(model_ft)
model_ft = model_ft.to(args.device)
return model_ft, input_size
######################################################################
# Load Data
# ---------
def load_data(args, input_size):
data_transforms = {
'train': transforms.Compose([
#transforms.RandomResizedCrop(input_size),
#transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
]),
'val': transforms.Compose([
#transforms.Resize(256),
#transforms.CenterCrop(input_size),
transforms.ToTensor(),
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
]),
}
print("Initializing Datasets and Dataloaders...")
folders = {
'train':args.data_dir,#os.path.join(args.data_dir, 'train'),
'val':args.val_name#os.path.join(args.data_dir, args.val_name)
}
# Create training and validation datasets
image_datasets = {x: datasets.ImageFolder(folders[x], data_transforms[x]) for x in ['train', 'val']}
# Create training and validation dataloaders
dataloaders_dict = {x: torch.utils.data.DataLoader(image_datasets[x], batch_size=args.batch_size, shuffle=True, num_workers=4) for x in ['train', 'val']}
return image_datasets, dataloaders_dict
# Detect if we have a GPU available
######################################################################
# Create the Optimizer
def create_optimizer(args, model_ft):
params_to_learn = [] #model_ft.parameters()
print("Params to learn:")
for name,param in model_ft.named_parameters():
if param.requires_grad == True:
params_to_learn.append(param)
print(name)
#optimizer_ft = optim.Adam(params_to_learn, lr=0.01)
optimizer_ft = optim.SGD( model_ft.parameters(), lr = 0.001, momentum=0.9)
return optimizer_ft
def run(args):
args = parse_args(args)
model_ft, input_size = initialize_model(args,use_pretrained=True)
image_datasets, dataloaders_dict = load_data(args, input_size)
optimizer_ft = create_optimizer(args, model_ft)
criterion = nn.CrossEntropyLoss()
# Train and evaluate
model_ft, hist, best_acc = train_model( args=args, model=model_ft, dataloaders=dataloaders_dict, criterion=criterion, optimizer=optimizer_ft, is_inception=(args.model_name=="inception") )
#torch.save(model_ft.state_dict(), os.path.join(args.dir,"verification.final"))
#return hist[0].cpu().numpy()
return best_acc
if __name__=='__main__':
sys.exit(run(sys.argv[1:]))
| [
"zl679@gorgonzola.cs.cornell.edu"
] | zl679@gorgonzola.cs.cornell.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.