Beispiel #1
0
    'WeAKTJets',
    'Z02MuMu',
    'Dijets',
    'DY2ee',
    'DY2MuMu',
    'HighPtTopoJets',
    'Jets',
    'LLP2MuX',
    'SbarSCorrelations',
    'StrangeBaryons',
    'StrangeBaryonsNoPID',
    'We',
    'Z02ee',
]

streams = buildStreamsFromBuilder(confs, confname)

#clone lines for CommonParticles overhead-free timing
print "Creating line clones for timing"
for s in streams:
    for l in s.lines:
        if "_TIMING" not in l.name():
            cloned = l.clone(l.name().strip("Stripping") + "_TIMING")
            s.appendLines([cloned])

#define stream names
leptonicMicroDSTname = 'Leptonic'
charmMicroDSTname = 'Charm'
pidMicroDSTname = 'PID'
bhadronMicroDSTname = 'Bhadron'
mdstStreams = [
# first kill the nodes 
event_node_killer = EventNodeKiller("StripKiller")
event_node_killer.Nodes = ["/Event/allStreams", "/Event/Strip","/Event/Leptonic" ]



# Specify the name of your configuration
confname='B2KLLXInclusive' #FOR USERS    

from StrippingSelections import buildersConf
confs = buildersConf()

#print confs
from StrippingSelections.Utils import lineBuilder, buildStreamsFromBuilder
streams = buildStreamsFromBuilder(confs,confname)

#clone lines for CommonParticles overhead-free timing

print "Creating line clones for timing"
for s in streams:
    for l in s.lines:
        if "_TIMING" not in l.name():
            cloned = l.clone(l.name().strip("Stripping")+"_TIMING")
            s.appendLines([cloned])

#define stream names
leptonicMicroDSTname   = 'Leptonic'
charmMicroDSTname      = 'Charm'
pidMicroDSTname        = 'PID'
bhadronMicroDSTname    = 'Bhadron'
Beispiel #3
0
#
#Fix for TrackEff lines
#
from Configurables import DecodeRawEvent
DecodeRawEvent().setProp("OverrideInputs", 4.2)

# NOTE: this will work only if you inserted correctly the
# default_config dictionary in the code where your LineBuilder
# is defined.
from StrippingSelections import buildersConf
confs = buildersConf()
from StrippingSelections.Utils import lineBuilder, buildStreams, buildStreamsFromBuilder
# streams = buildStreams( confs )
# streams = buildStreams( confs, WGs='QEE' )
streams = buildStreamsFromBuilder(confs,
                                  ['HltQEEJets', 'HltQEEExotica', 'Exotica'])

#clone lines for CommonParticles overhead-free timing
cloned_names = set()
print "Creating line clones for timing"
for s in streams:
    for l in s.lines:
        if "_TIMING" not in l.name():
            cname = l.name().replace("Stripping", '') + "_TIMING"
            if cname not in cloned_names:
                cloned_names.add(cname)
                s.appendLines([l.clone(cname)])

leptonicMicroDSTname = 'Leptonic'
charmMicroDSTname = 'Charm'
pidMicroDSTname = 'PID'