Skip to content
Snippets Groups Projects
Commit cd5fa71b authored by Maurizio Martinelli's avatar Maurizio Martinelli
Browse files

removed production type option (was set for Stripping jobs)

parent 5b7d136c
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!397Updated configuration to run on Upgrade data types only
Pipeline #1662189 passed
......@@ -69,7 +69,6 @@ class DaVinci(LHCbConfigurableUser) :
, "Lumi" : False # Run Lumi accounting (should normally be True for user jobs)
, "EventPreFilters" : []
, "VerboseMessages" : False # Turn on some verbose printout
, "ProductionType" : "None" # Sets up options needed in various production modes
, "RootInTES" : "" # RootInTES property propagated to MainSequence in case of MDST input type
, "Detectors" : ['Velo','PuVeto','Rich1','Rich2','TT','IT','OT','Spd','Prs','Ecal','Hcal','Muon','Magnet','Tr']
, "TurboStream":
......@@ -104,7 +103,6 @@ class DaVinci(LHCbConfigurableUser) :
, "Lumi" : """ Run event count and Lumi accounting (should normally be True) """
, "EventPreFilters" : """Set of event filtering algorithms to be run before DaVinci initializaton sequence. Only events passing these filters will be processed."""
, "VerboseMessages" : """ Enable additional verbose printouts """
, "ProductionType" : """ Enables special settings for running in production (e.g. stripping) """
, "RootInTES" : """ RootInTES (for uDst input type) """
, "Detectors" : """ List of detectors """
, "TurboStream":
......@@ -206,15 +204,6 @@ class DaVinci(LHCbConfigurableUser) :
# Temp hack for DV v30r1 (fix need in LHCbApp, but missed the release)
if self.getProp("Simulation") or self.getProp("DataType") == "MC09":
self.setProp("IgnoreDQFlags",True)
# Production mode ?
prodType = self.getProp("ProductionType")
if prodType not in self.__known_prod_types__ :
raise TypeError( "Invalid ProductionType '%s'" %prodType )
if "Stripping" == prodType :
# Need to unpack Brunel information, but disable stripping unpacking
self.setProp("EnableUnpack",["Reconstruction"])
# Process all events, good or bad
self.setProp("IgnoreDQFlags",True)
dataType = self.getProp("DataType")
if (not dataType):
raise TypeError( "You must set DataType" )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment