Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:02

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from L1Trigger.GlobalTriggerAnalyzer.L1ExtraInputTagSet_cff import *
0004 
0005 l1GtAnalyzer = cms.EDAnalyzer("L1GtAnalyzer",
0006          
0007     # non-keyed parameter sets first                           
0008     # input tags for L1Extra collections
0009     # used by: 
0010     #    analyzeTrigger
0011     L1ExtraInputTagSet,
0012     
0013     # print output
0014     #   0 std::cout
0015     #   1 LogTrace
0016     #   2 LogVerbatim
0017     #   3 LogInfo
0018     PrintOutput = cms.untracked.int32(3),
0019 
0020     # enable/disable various analyses
0021     #
0022     analyzeDecisionReadoutRecordEnable = cms.bool(False),
0023     #
0024     analyzeL1GtUtilsMenuLiteEnable = cms.bool(False),
0025     analyzeL1GtUtilsEventSetupEnable = cms.bool(False),
0026     analyzeL1GtUtilsEnable = cms.bool(False),
0027     analyzeTriggerEnable = cms.bool(False),
0028     #
0029     analyzeObjectMapEnable = cms.bool(False),
0030     #
0031     analyzeL1GtTriggerMenuLiteEnable = cms.bool(False),
0032     #
0033     analyzeConditionsInRunBlockEnable = cms.bool(False),
0034     analyzeConditionsInLumiBlockEnable = cms.bool(False),
0035     analyzeConditionsInEventBlockEnable = cms.bool(False),
0036 
0037     # input tag for L1GlobalTriggerReadoutRecord (L1 GT DAQ readout record) 
0038     #     GT emulator, GT unpacker:  gtDigis  
0039     # used by: 
0040     #    analyzeDecisionReadoutRecord
0041     #    L1GtUtils methods with input tags explicitly given
0042     #        analyzeL1GtUtilsEventSetup
0043     #        analyzeL1GtUtils
0044     #        analyzeTrigger
0045     L1GtDaqReadoutRecordInputTag = cms.InputTag("gtDigis"),
0046     
0047     # input tag for L1GlobalTriggerRecord 
0048     #     L1GlobalTriggerRecord record producer:  l1GtRecord  
0049     # used by: 
0050     #    analyzeDecisionReadoutRecord
0051     #    L1GtUtils methods with input tags explicitly given, if L1GtDaqReadoutRecordInputTag product does not exist
0052     #        analyzeL1GtUtilsEventSetup
0053     #        analyzeL1GtUtils
0054     #        analyzeTrigger
0055     L1GtRecordInputTag = cms.InputTag("l1GtRecord"),
0056     
0057     # input tag for GT object map collection L1GlobalTriggerObjectMapRecord
0058     #     only the L1 GT emulator produces it,
0059     #     no map collection is produced by hardware
0060     #    
0061     #     GT emulator:  gtDigis
0062     # used by: 
0063     #    analyzeObjectMap
0064     #    analyzeTrigger
0065     L1GtObjectMapTag = cms.InputTag("hltL1GtObjectMap"),
0066 
0067     # input tag for GT object map collection L1GlobalTriggerObjectMaps
0068     #     no map collection is produced by hardware
0069     #    
0070     #     L1Reco producer:  l1L1GtObjectMap
0071     # used by: 
0072     #    analyzeObjectMap
0073     #    analyzeTrigger
0074     L1GtObjectMapsInputTag = cms.InputTag("l1L1GtObjectMap"),
0075 
0076     # input tag for GMT readout collection: not used
0077     #     gmtDigis = GMT emulator
0078     #     gtDigis  = GT unpacker (common GT/GMT unpacker)
0079     L1GmtInputTag = cms.InputTag("gmtDigis"),
0080     
0081     # input tag for L1GtTriggerMenuLite
0082     # used by: 
0083     #    analyzeL1GtTriggerMenuLite (always)
0084     #    L1GtUtils methods, if L1GtTmLInputTagProv is set to False    
0085     #        analyzeL1GtUtilsMenuLite
0086     #        analyzeL1GtUtils
0087     #        analyzeTrigger
0088     L1GtTmLInputTag = cms.InputTag("l1GtTriggerMenuLite"),
0089     
0090     # input tag for input tag for ConditionInEdm products
0091     # used by: 
0092     #    analyzeConditionsInRunBlock
0093     #    analyzeConditionsInLumiBlock
0094     #    analyzeConditionsInEventBlock    
0095     CondInEdmInputTag = cms.InputTag("conditionsInEdm"),
0096 
0097     # an algorithm trigger name or alias, or a technical trigger name
0098     # used by: 
0099     #    analyzeL1GtUtilsEventSetup
0100     #    analyzeL1GtUtilsMenuLite
0101     #    analyzeL1GtUtils
0102     #    analyzeTrigger
0103     #    analyzeObjectMap (relevant for algorithm triggers only)
0104     AlgorithmName = cms.string('L1_SingleEG20'),
0105     # 
0106     #  a condition in the above algorithm trigger
0107     # used by: 
0108     #    analyzeObjectMap (relevant for algorithm triggers only)
0109     ConditionName = cms.string('SingleIsoEG_0x14'),
0110     
0111     # a bit number for an algorithm trigger or a technical trigger
0112     # special use - do never use a bit number in an analysis
0113     # used by: 
0114     #    analyzeL1GtTriggerMenuLite
0115     BitNumber = cms.uint32(0),
0116     
0117     # select for L1GtUtils methods the L1 configuration to use: 0, 100000, 200000
0118     # used by: 
0119     #    analyzeL1GtUtilsEventSetup
0120     #    analyzeL1GtUtilsMenuLite
0121     #    analyzeL1GtUtils
0122     #    analyzeTrigger
0123     L1GtUtilsConfiguration = cms.uint32(0),
0124     
0125     # if true, use methods in L1GtUtils with the input tag for L1GtTriggerMenuLite
0126     # from provenance
0127     # used by: 
0128     #    analyzeL1GtUtilsEventSetup
0129     #    analyzeL1GtUtilsMenuLite
0130     #    analyzeL1GtUtils
0131     #    analyzeTrigger
0132     L1GtTmLInputTagProv = cms.bool(True),
0133  
0134     # if true, use methods in L1GtUtils with the given input tags 
0135     # for L1GlobalTriggerReadoutRecord and / or L1GlobalTriggerRecord from provenance
0136     # used by: 
0137     #    analyzeL1GtUtilsEventSetup
0138     #    analyzeL1GtUtilsMenuLite
0139     #    analyzeL1GtUtils
0140     #    analyzeTrigger
0141     L1GtRecordsInputTagProv = cms.bool(True),
0142 
0143     # if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
0144     # used by: 
0145     #    analyzeL1GtUtilsEventSetup
0146     #    analyzeL1GtUtilsMenuLite
0147     #    analyzeL1GtUtils
0148     #    analyzeTrigger
0149     L1GtUtilsConfigureBeginRun = cms.bool(True),
0150     
0151     # expression to test the L1GtUtils methods to retrieve L1 trigger decisions, 
0152     #     prescale factors and masks for logical expressions
0153     # first expression: aliases only; 
0154     # second expression: names only;
0155     # third expression: bit numbers; 
0156     # fourth expression: non-existing algorithm trigger L1_NotInMenu in the logical expression
0157     # fifth expression: non-existing technical trigger
0158     # sixt expression: invalid syntax
0159     L1GtUtilsLogicalExpression = cms.string("L1_SingleEG20 OR (L1_HTT150  OR L1_HTT175 OR L1_DoubleJetC56 OR L1_SingleJet128) AND L1_DoubleJetC36 AND (NOT L1_SingleJet36) AND L1_EG5_Jet36_deltaPhi1")
0160     #L1GtUtilsLogicalExpression = cms.string("L1_SingleEG20 OR (L1_HTT150  OR L1_HTT175 OR L1_DoubleJetC56 OR L1_SingleJet128) AND L1_DoubleJet36_Central AND (NOT L1_SingleJet36) AND L1_EG5_Jet36_deltaPhi1")
0161     # L1GtUtilsLogicalExpression = cms.string("8 OR 25")
0162     # L1GtUtilsLogicalExpression = cms.string("(L1_HTT150  OR L1_HTT175 OR L1_DoubleJetC56 OR L1_SingleJet128) AND L1_NotInMenu")
0163     # L1GtUtilsLogicalExpression = cms.string("(6 OR 40 OR 25) AND 65 AND (NOT 34)" )
0164     # L1GtUtilsLogicalExpression = cms.string("(8 OR L1_HTT150 AND INVALID_KEYWORD 65 AND (NOT 34)" )
0165    
0166 )
0167 
0168