CMS 3D CMS Logo

l1GtAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 l1GtAnalyzer = cms.EDAnalyzer("L1GtAnalyzer",
6 
7  # non-keyed parameter sets first
8  # input tags for L1Extra collections
9  # used by:
10  # analyzeTrigger
11  L1ExtraInputTagSet,
12 
13  # print output
14  # 0 std::cout
15  # 1 LogTrace
16  # 2 LogVerbatim
17  # 3 LogInfo
18  PrintOutput = cms.untracked.int32(3),
19 
20  # enable/disable various analyses
21  #
22  analyzeDecisionReadoutRecordEnable = cms.bool(False),
23  #
24  analyzeL1GtUtilsMenuLiteEnable = cms.bool(False),
25  analyzeL1GtUtilsEventSetupEnable = cms.bool(False),
26  analyzeL1GtUtilsEnable = cms.bool(False),
27  analyzeTriggerEnable = cms.bool(False),
28  #
29  analyzeObjectMapEnable = cms.bool(False),
30  #
31  analyzeL1GtTriggerMenuLiteEnable = cms.bool(False),
32  #
33  analyzeConditionsInRunBlockEnable = cms.bool(False),
34  analyzeConditionsInLumiBlockEnable = cms.bool(False),
35  analyzeConditionsInEventBlockEnable = cms.bool(False),
36 
37  # input tag for L1GlobalTriggerReadoutRecord (L1 GT DAQ readout record)
38  # GT emulator, GT unpacker: gtDigis
39  # used by:
40  # analyzeDecisionReadoutRecord
41  # L1GtUtils methods with input tags explicitly given
42  # analyzeL1GtUtilsEventSetup
43  # analyzeL1GtUtils
44  # analyzeTrigger
45  L1GtDaqReadoutRecordInputTag = cms.InputTag("gtDigis"),
46 
47  # input tag for L1GlobalTriggerRecord
48  # L1GlobalTriggerRecord record producer: l1GtRecord
49  # used by:
50  # analyzeDecisionReadoutRecord
51  # L1GtUtils methods with input tags explicitly given, if L1GtDaqReadoutRecordInputTag product does not exist
52  # analyzeL1GtUtilsEventSetup
53  # analyzeL1GtUtils
54  # analyzeTrigger
55  L1GtRecordInputTag = cms.InputTag("l1GtRecord"),
56 
57  # input tag for GT object map collection L1GlobalTriggerObjectMapRecord
58  # only the L1 GT emulator produces it,
59  # no map collection is produced by hardware
60  #
61  # GT emulator: gtDigis
62  # used by:
63  # analyzeObjectMap
64  # analyzeTrigger
65  L1GtObjectMapTag = cms.InputTag("hltL1GtObjectMap"),
66 
67  # input tag for GT object map collection L1GlobalTriggerObjectMaps
68  # no map collection is produced by hardware
69  #
70  # L1Reco producer: l1L1GtObjectMap
71  # used by:
72  # analyzeObjectMap
73  # analyzeTrigger
74  L1GtObjectMapsInputTag = cms.InputTag("l1L1GtObjectMap"),
75 
76  # input tag for GMT readout collection: not used
77  # gmtDigis = GMT emulator
78  # gtDigis = GT unpacker (common GT/GMT unpacker)
79  L1GmtInputTag = cms.InputTag("gmtDigis"),
80 
81  # input tag for L1GtTriggerMenuLite
82  # used by:
83  # analyzeL1GtTriggerMenuLite (always)
84  # L1GtUtils methods, if L1GtTmLInputTagProv is set to False
85  # analyzeL1GtUtilsMenuLite
86  # analyzeL1GtUtils
87  # analyzeTrigger
88  L1GtTmLInputTag = cms.InputTag("l1GtTriggerMenuLite"),
89 
90  # input tag for input tag for ConditionInEdm products
91  # used by:
92  # analyzeConditionsInRunBlock
93  # analyzeConditionsInLumiBlock
94  # analyzeConditionsInEventBlock
95  CondInEdmInputTag = cms.InputTag("conditionsInEdm"),
96 
97  # an algorithm trigger name or alias, or a technical trigger name
98  # used by:
99  # analyzeL1GtUtilsEventSetup
100  # analyzeL1GtUtilsMenuLite
101  # analyzeL1GtUtils
102  # analyzeTrigger
103  # analyzeObjectMap (relevant for algorithm triggers only)
104  AlgorithmName = cms.string('L1_SingleEG20'),
105  #
106  # a condition in the above algorithm trigger
107  # used by:
108  # analyzeObjectMap (relevant for algorithm triggers only)
109  ConditionName = cms.string('SingleIsoEG_0x14'),
110 
111  # a bit number for an algorithm trigger or a technical trigger
112  # special use - do never use a bit number in an analysis
113  # used by:
114  # analyzeL1GtTriggerMenuLite
115  BitNumber = cms.uint32(0),
116 
117  # select for L1GtUtils methods the L1 configuration to use: 0, 100000, 200000
118  # used by:
119  # analyzeL1GtUtilsEventSetup
120  # analyzeL1GtUtilsMenuLite
121  # analyzeL1GtUtils
122  # analyzeTrigger
123  L1GtUtilsConfiguration = cms.uint32(0),
124 
125  # if true, use methods in L1GtUtils with the input tag for L1GtTriggerMenuLite
126  # from provenance
127  # used by:
128  # analyzeL1GtUtilsEventSetup
129  # analyzeL1GtUtilsMenuLite
130  # analyzeL1GtUtils
131  # analyzeTrigger
132  L1GtTmLInputTagProv = cms.bool(True),
133 
134  # if true, use methods in L1GtUtils with the given input tags
135  # for L1GlobalTriggerReadoutRecord and / or L1GlobalTriggerRecord from provenance
136  # used by:
137  # analyzeL1GtUtilsEventSetup
138  # analyzeL1GtUtilsMenuLite
139  # analyzeL1GtUtils
140  # analyzeTrigger
141  L1GtRecordsInputTagProv = cms.bool(True),
142 
143  # if true, configure (partially) L1GtUtils in beginRun using getL1GtRunCache
144  # used by:
145  # analyzeL1GtUtilsEventSetup
146  # analyzeL1GtUtilsMenuLite
147  # analyzeL1GtUtils
148  # analyzeTrigger
149  L1GtUtilsConfigureBeginRun = cms.bool(True),
150 
151  # expression to test the L1GtUtils methods to retrieve L1 trigger decisions,
152  # prescale factors and masks for logical expressions
153  # first expression: aliases only;
154  # second expression: names only;
155  # third expression: bit numbers;
156  # fourth expression: non-existing algorithm trigger L1_NotInMenu in the logical expression
157  # fifth expression: non-existing technical trigger
158  # sixt expression: invalid syntax
159  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")
160  #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")
161  # L1GtUtilsLogicalExpression = cms.string("8 OR 25")
162  # L1GtUtilsLogicalExpression = cms.string("(L1_HTT150 OR L1_HTT175 OR L1_DoubleJetC56 OR L1_SingleJet128) AND L1_NotInMenu")
163  # L1GtUtilsLogicalExpression = cms.string("(6 OR 40 OR 25) AND 65 AND (NOT 34)" )
164  # L1GtUtilsLogicalExpression = cms.string("(8 OR L1_HTT150 AND INVALID_KEYWORD 65 AND (NOT 34)" )
165 
166 )
167 
168 
L1ExtraInputTagSet_cff