Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # During its "normal" (i.e., non-cosmic) operation, the HFPreReconstructor
0005 # module constructs HFPreRecHit objects using a single time slice called
0006 # "sample of interest" (SOI). This time slice can be chosen in three
0007 # different ways:
0008 #    I. Take it from the data frame. This is the "standard" configuration.
0009 #   II. Take it from the database.
0010 #  III. Take is from a cfi parameter.
0011 #
0012 # HFPreReconstructor configurations corresponding to these SOI choices are:
0013 #    I. forceSOI < 0 and tsFromDB is False.
0014 #   II. forceSOI < 0 and tsFromDB is True.
0015 #  III. forceSOI >= 0 (the SOI is then defined by the forceSOI value).
0016 #
0017 # For configuration III, the SOI value will be the same for all channels.
0018 # For I and II, SOIs can differ from channel to channel, depending on DAQ
0019 # or database settings, respectively.
0020 #
0021 # After the time slice selection outlined above, the value of parameter
0022 # "soiShift" is added to this selection. "soiShift" can be positive,
0023 # negative, or zero.
0024 #
0025 # Note that, at the time of this writing, we read out only 3 time slices
0026 # in HF, so that meaningful non-negative values of "forceSOI" parameter
0027 # (assuming "soiShift" value of zero) are 0, 1, and 2. In all cases (I, II,
0028 # and III), channels for which the SOI is misconfigured will be discarded.
0029 #
0030 # For cosmic operation, the parameter "sumAllTimeSlices" should be set
0031 # to "True". In this case the SOI configuration is ignored, and the energy
0032 # is accumulated using all time slices in the data frame.
0033 #
0034 hfprereco = cms.EDProducer("HFPreReconstructor",
0035     digiLabel = cms.InputTag("hcalDigis"),
0036     dropZSmarkedPassed = cms.bool(False),
0037     tsFromDB = cms.bool(False),
0038     sumAllTimeSlices = cms.bool(False),
0039     forceSOI = cms.int32(-1),
0040     soiShift = cms.int32(0)
0041 )