Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
import FWCore.ParameterSet.Config as cms;

laserSorter = cms.EDAnalyzer("LaserSorter",
  outputDir  = cms.string("out"),
  fedSubDirs = cms.vstring(
    "Unknown",
    "EE-7",  "EE-8",  "EE-9",  "EE-1",  "EE-2",
    "EE-3",  "EE-4",  "EE-5",  "EE-6",  "EB-1",
    "EB-2",  "EB-3",  "EB-4",  "EB-5",  "EB-6",
    "EB-7",  "EB-8",  "EB-9",  "EB-10", "EB-11",
    "EB-12", "EB-13", "EB-14", "EB-15", "EB-16",
    "EB-17", "EB-18", "EB+1",  "EB+2",  "EB+3",
    "EB+4",  "EB+5",  "EB+6",  "EB+7",  "EB+8",
    "EB+9",  "EB+10", "EB+11", "EB+12", "EB+13",
    "EB+14", "EB+15", "EB+16", "EB+17", "EB+18",
    "EE+7",  "EE+8",  "EE+9",  "EE+1",  "EE+2",
    "EE+3",  "EE+4",  "EE+5", "EE+6"),
  timeLogFile = cms.untracked.string("laserSortingTime.txt"),
  disableOutput = cms.untracked.bool(False),
  outputListFile = cms.untracked.string("lmfFileList.txt"),
  verbosity = cms.untracked.int32(0),

  #limit on "no fully readout dcc error" messages per run
  maxFullReadoutDccError = cms.int32(10),

  #limit on "No ECAL DCC Data" messages per run
  maxNoEcalDataMess = cms.int32(10),

  # Tolerance on lumi block spanning of a FED sequence. Subsequent events
  # of a same FED must span at most on 2*lumiBlockSpan_+1 luminosity blocks.
  #
  # * It is important that the laser sequence scane does not pass twice on the same FED
  #   within the 2*lumiBlockSpan_+1. Failing this requirement will result mixing event of
  #   different passes in the same output file.
  #
  # * The number of input files opened simultinuously is proportional to 2*lumiBlockSpan_+1.
  #   So increasing lumiBlockSpan_ will also increase the number of opened files and may have
  #   some impact of sorting time performances.
  #
  # * Recommanded value is: maximum time consecutively spent on a FED in the
  #   sequence (T_fed, = max event count * 10 ms) divided by the luminosity
  #   block duration (T_lb), divided by 2 and ceil-rounded: ceil(T_fed/(2*T_lb))
  lumiBlockSpan = cms.int32(2),

  # Name of the input raw data collection
  fedRawDataCollectionTag = cms.InputTag('rawDataCollector'),

  #Switch to recompute and overwrite the lumi block ID
  #It must be set to False for data acquired with global or
  #minidaq and to True for local daq case.
  # LB = orbit_id / orbitCountInALumiBlock
  overWriteLumiBlockId = cms.bool(False),

  # Length of a lumi block in number of orbits used when
  # overWriteLumiBlockId is set to true;
  orbitCountInALumiBlock  = cms.int32(257000)
)