Esempio n. 1
0
if 'IS_SIMULATION' in inputFileSummary['evt_type']:
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)


# set flags
from HSG5DPDUtils.HSG5Flags import HSG5WHUFlags
HSG5WHUFlags.doTaus = True
HSG5WHUFlags.doPhotons = True

print "HSG5WHUFlags.doPhotons()=",HSG5WHUFlags.doPhotons()

from HSG5DPDUtils.HSG5D3PD import HSG5D3PD
print "after import of HSG5D3PD, HSG5WHUFlags.doPhotons()=",HSG5WHUFlags.doPhotons()
HSG5D3PD( HSG5D3PD_Stream, flags=HSG5WHUFlags )

include("HSG5DPDUtils/FatJetsConfig.py")

from HSG5DPDUtils.JSD3PD import JSD3PD    
for xx in myJetKeys:
    if xx[0] != None and xx[1] != None:
        JSD3PD(xx, HSG5D3PD_Stream )
        
# add filters
HSG5D3PD_Stream.AcceptAlgs=[]
HSG5D3PD_Stream.RequireAlgs=[]

include ("HSG5DPDUtils/WHlnubb_unboostedFilter.py")

from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig
Esempio n. 2
0
HSG5D3PD_Stream = MSMgr.NewRootStream(streamName, fileName, "physics")

# create stream
#from PhysicsD3PDMaker.SMWZD3PD import SMWZD3PD
#SMWZD3PD( HSG5D3PD_Stream )

if 'IS_SIMULATION' in inputFileSummary['evt_type']:
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)

# set flags
from HSG5DPDUtils.HSG5Flags import HSG5ZHLLFlags
HSG5ZHLLFlags.doTaus = True

from HSG5DPDUtils.HSG5D3PD import HSG5D3PD
HSG5D3PD(HSG5D3PD_Stream, flags=HSG5ZHLLFlags)

include("HSG5DPDUtils/FatJetsConfig.py")

from HSG5DPDUtils.JSD3PD import JSD3PD
for xx in myJetKeys:
    if xx[0] != None and xx[1] != None:
        JSD3PD(xx, HSG5D3PD_Stream)

# add filters
HSG5D3PD_Stream.AcceptAlgs = []
HSG5D3PD_Stream.RequireAlgs = []

include("HSG5DPDUtils/ZHllbb_boostedFilter.py")

from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig
Esempio n. 3
0
HSG5D3PD_Stream = MSMgr.NewRootStream(streamName, fileName, "physics")

# create stream
#from PhysicsD3PDMaker.SMWZD3PD import SMWZD3PD
#SMWZD3PD( HSG5D3PD_Stream )

if 'IS_SIMULATION' in inputFileSummary['evt_type']:
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)

# set flags
from HSG5DPDUtils.HSG5Flags import HSG5ZBBFlags

from HSG5DPDUtils.HSG5D3PD import HSG5D3PD
HSG5D3PD(HSG5D3PD_Stream, flags=HSG5ZBBFlags)

include("HSG5DPDUtils/FatJetsConfig.py")

from HSG5DPDUtils.JSD3PD import JSD3PD
for xx in myJetKeys:
    if xx[0] != None and xx[1] != None:
        JSD3PD(xx, HSG5D3PD_Stream)

# add filters
HSG5D3PD_Stream.AcceptAlgs = []
HSG5D3PD_Stream.RequireAlgs = []

include("HSG5DPDUtils/Zbb_boostedFilter.py")

from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig
Esempio n. 4
0
# create stream
#from PhysicsD3PDMaker.SMWZD3PD import SMWZD3PD
#SMWZD3PD( HSG5D3PD_Stream )

if 'IS_SIMULATION' in inputFileSummary['evt_type']:
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)

# set flags
from HSG5DPDUtils.HSG5Flags import HSG5ZHMETUFlags
#HSG5ZHMETUFlags.doAllMissingET = True
HSG5ZHMETUFlags.doTaus = True

from HSG5DPDUtils.HSG5D3PD import HSG5D3PD
HSG5D3PD(HSG5D3PD_Stream, flags=HSG5ZHMETUFlags)

include("HSG5DPDUtils/FatJetsConfig.py")

from HSG5DPDUtils.JSD3PD import JSD3PD
for xx in myJetKeys:
    if xx[0] != None and xx[1] != None:
        JSD3PD(xx, HSG5D3PD_Stream)

# add filters
HSG5D3PD_Stream.AcceptAlgs = []
HSG5D3PD_Stream.RequireAlgs = []

include("HSG5DPDUtils/ZHnunubb_unboostedFilter.py")

from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig
Esempio n. 5
0
HSG5D3PD_Stream = MSMgr.NewRootStream(streamName, fileName, "physics")

# create stream
#from PhysicsD3PDMaker.SMWZD3PD import SMWZD3PD
#SMWZD3PD( HSG5D3PD_Stream )
if 'IS_SIMULATION' in inputFileSummary['evt_type']:
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    D3PDMakerFlags.TruthWriteHadrons.set_Value_and_Lock(True)

# set flags
from HSG5DPDUtils.HSG5Flags import HSG5GAMZFlags
HSG5GAMZFlags.doPhotons = True

from HSG5DPDUtils.HSG5D3PD import HSG5D3PD
HSG5D3PD(HSG5D3PD_Stream, flags=HSG5GAMZFlags)

include("HSG5DPDUtils/FatJetsConfig.py")

from HSG5DPDUtils.JSD3PD import JSD3PD
for xx in myJetKeys:
    if xx[0] != None and xx[1] != None:
        JSD3PD(xx, HSG5D3PD_Stream)

# add filters
HSG5D3PD_Stream.AcceptAlgs = []
HSG5D3PD_Stream.RequireAlgs = []

include("HSG5DPDUtils/gammaZbb_boostedFilter.py")

from EventCommonD3PDMaker.CutFlowMetadataConfig import CutFlowMetadataConfig