Commit 9f98e15a authored by Federico Leo Redi's avatar Federico Leo Redi
Browse files

Fixed comments

parent 06359af9
Pipeline #3149272 passed with stage
in 27 seconds
......@@ -9,45 +9,37 @@
# or submit itself to any jurisdiction. #
###############################################################################
"""
Options for building Stripping28r2p1.
Options for building Stripping28r2p1 for 2016 data
"""
#use CommonParticlesArchive
# use CommonParticlesArchive
stripping='stripping28r2p1'
from CommonParticlesArchive import CommonParticlesArchiveConf
CommonParticlesArchiveConf().redirect(stripping)
from Gaudi.Configuration import *
MessageSvc().Format = "% F%30W%S%7W%R%T %0W%M"
#
# Disable the cache in Tr/TrackExtrapolators
#
from Configurables import TrackStateProvider
TrackStateProvider().CacheStatesOnDemand = False
#
#Fix for TrackEff lines
#
# Fix for TrackEff lines
from Configurables import DecodeRawEvent
DecodeRawEvent().setProp("OverrideInputs",4.3)
#
# Build the streams and stripping object
#
from StrippingConf.Configuration import StrippingConf
from StrippingSettings.Utils import strippingConfiguration
from StrippingArchive.Utils import buildStreams
from StrippingArchive import strippingArchive
#get the configuration dictionary from the database
# Get the configuration dictionary from the database
config = strippingConfiguration(stripping)
#get the line builders from the archive
# Get the line builders from the archive
archive = strippingArchive(stripping)
streams = buildStreams(stripping = config, archive = archive)
## Remove the MCwNoPID lines from B2OC
# Remove the MCwNoPID lines from B2OC
for stream in streams:
stream.lines=[line for line in stream.lines if "MCwNoPID" not in line.name()]
......@@ -72,13 +64,7 @@ sc = StrippingConf( Streams = streams,
DSTStreams = dstStreams,
MicroDSTStreams = mdstStreams )
#from Configurables import StrippingReport
#sr = StrippingReport(Selections = sc.selections())
#sr.ReportFrequency = 1000
#
# Configure the dst writers for the output
#
enablePacking = True
from DSTWriters.microdstelements import *
......@@ -89,17 +75,13 @@ from DSTWriters.Configuration import ( SelDSTWriter,
stripMicroDSTElements,
stripCalibMicroDSTStreamConf)
#
# Configuration of MicroDST
# per-event an per-line selective writing of the raw event is active (selectiveRawEvent=True)
#
mdstStreamConf = stripMicroDSTStreamConf(pack=enablePacking, selectiveRawEvent=True)
mdstElements = stripMicroDSTElements(pack=enablePacking)
#
# Configuration of SelDSTWriter
# per-event an per-line selective writing of the raw event is active (selectiveRawEvent=True)
#
SelDSTWriterElements = {
'default' : stripDSTElements(pack=enablePacking),
charmMicroDSTname : mdstElements,
......@@ -107,7 +89,6 @@ SelDSTWriterElements = {
bhadronMicroDSTname : mdstElements,
}
SelDSTWriterConf = {
'default' : stripDSTStreamConf(pack=enablePacking, selectiveRawEvent=True),
charmMicroDSTname : mdstStreamConf,
......@@ -131,10 +112,7 @@ caloProtoReprocessLocs = ["/Event/pRec/ProtoP#99", "/Event/pRec/Calo#99"]
# Make sure they are present on full DST streams
SelDSTWriterConf['default'].extraItems += caloProtoReprocessLocs
#
# DaVinci Configuration
#
from Configurables import DaVinci
from Configurables import HCRawBankDecoderHlt
Hlt1LowMult_HCRawBankDecoderHlt = HCRawBankDecoderHlt('hcrawbankdecoder')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment