CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLT_Fake_cff.py
Go to the documentation of this file.
1 # /dev/CMSSW_7_4_0/Fake/V10 (CMSSW_7_4_2_HLT3)
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 fragment = cms.ProcessFragment( "HLT" )
6 
7 fragment.HLTConfigVersion = cms.PSet(
8  tableName = cms.string('/dev/CMSSW_7_4_0/Fake/V10')
9 )
10 
11 fragment.streams = cms.PSet( A = cms.vstring( 'InitialPD' ) )
12 fragment.datasets = cms.PSet( InitialPD = cms.vstring( 'HLT_Physics_v1',
13  'HLT_Random_v1',
14  'HLT_ZeroBias_v1' ) )
15 
16 fragment.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
17  appendToDataLabel = cms.string( "" )
18 )
19 
20 fragment.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
21  toGet = cms.VPSet(
22  ),
23  verbose = cms.untracked.bool( False )
24 )
25 fragment.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
26  RawDataCollection = cms.InputTag( "rawDataCollector" )
27 )
28 fragment.hltBoolFalse = cms.EDFilter( "HLTBool",
29  result = cms.bool( False )
30 )
31 fragment.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
32  SelectedTriggerType = cms.int32( 1 )
33 )
34 fragment.hltGtDigis = cms.EDProducer( "L1GlobalTriggerRawToDigi",
35  DaqGtFedId = cms.untracked.int32( 813 ),
36  Verbosity = cms.untracked.int32( 0 ),
37  UnpackBxInEvent = cms.int32( 5 ),
38  ActiveBoardsMask = cms.uint32( 0xffff ),
39  DaqGtInputTag = cms.InputTag( "rawDataCollector" )
40 )
41 fragment.hltGctDigis = cms.EDProducer( "GctRawToDigi",
42  checkHeaders = cms.untracked.bool( False ),
43  unpackSharedRegions = cms.bool( False ),
44  numberOfGctSamplesToUnpack = cms.uint32( 1 ),
45  verbose = cms.untracked.bool( False ),
46  numberOfRctSamplesToUnpack = cms.uint32( 1 ),
47  inputLabel = cms.InputTag( "rawDataCollector" ),
48  unpackerVersion = cms.uint32( 0 ),
49  gctFedId = cms.untracked.int32( 745 ),
50  hltMode = cms.bool( True )
51 )
52 fragment.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
53  TechnicalTriggersUnprescaled = cms.bool( True ),
54  ProduceL1GtObjectMapRecord = cms.bool( True ),
55  AlgorithmTriggersUnmasked = cms.bool( False ),
56  EmulateBxInEvent = cms.int32( 1 ),
57  AlgorithmTriggersUnprescaled = cms.bool( True ),
58  ProduceL1GtDaqRecord = cms.bool( False ),
59  ReadTechnicalTriggerRecords = cms.bool( True ),
60  RecordLength = cms.vint32( 3, 0 ),
61  TechnicalTriggersUnmasked = cms.bool( False ),
62  ProduceL1GtEvmRecord = cms.bool( False ),
63  GmtInputTag = cms.InputTag( "hltGtDigis" ),
64  TechnicalTriggersVetoUnmasked = cms.bool( True ),
65  AlternativeNrBxBoardEvm = cms.uint32( 0 ),
66  TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
67  CastorInputTag = cms.InputTag( "castorL1Digis" ),
68  GctInputTag = cms.InputTag( "hltGctDigis" ),
69  AlternativeNrBxBoardDaq = cms.uint32( 0 ),
70  WritePsbL1GtDaqRecord = cms.bool( False ),
71  BstLengthBytes = cms.int32( -1 )
72 )
73 fragment.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
74  tauJetSource = cms.InputTag( 'hltGctDigis','tauJets' ),
75  etHadSource = cms.InputTag( "hltGctDigis" ),
76  isoTauJetSource = cms.InputTag( 'hltGctDigis','isoTauJets' ),
77  etTotalSource = cms.InputTag( "hltGctDigis" ),
78  centralBxOnly = cms.bool( True ),
79  centralJetSource = cms.InputTag( 'hltGctDigis','cenJets' ),
80  etMissSource = cms.InputTag( "hltGctDigis" ),
81  hfRingEtSumsSource = cms.InputTag( "hltGctDigis" ),
82  produceMuonParticles = cms.bool( True ),
83  forwardJetSource = cms.InputTag( 'hltGctDigis','forJets' ),
84  ignoreHtMiss = cms.bool( False ),
85  htMissSource = cms.InputTag( "hltGctDigis" ),
86  produceCaloParticles = cms.bool( True ),
87  muonSource = cms.InputTag( "hltGtDigis" ),
88  isolatedEmSource = cms.InputTag( 'hltGctDigis','isoEm' ),
89  nonIsolatedEmSource = cms.InputTag( 'hltGctDigis','nonIsoEm' ),
90  hfRingBitCountsSource = cms.InputTag( "hltGctDigis" )
91 )
92 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
93  scalersInputTag = cms.InputTag( "rawDataCollector" )
94 )
95 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
96  maxZ = cms.double( 40.0 ),
97  src = cms.InputTag( "hltScalersRawToDigi" ),
98  gtEvmLabel = cms.InputTag( "" ),
99  changeToCMSCoordinates = cms.bool( False ),
100  setSigmaZ = cms.double( 0.0 ),
101  maxRadius = cms.double( 2.0 )
102 )
103 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
104  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
105  offset = cms.uint32( 0 )
106 )
107 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
108  result = cms.bool( True )
109 )
110 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
111  SelectedTriggerType = cms.int32( 3 )
112 )
113 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
114  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
115  offset = cms.uint32( 0 )
116 )
117 fragment.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
118  L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
119  saveTags = cms.bool( True ),
120  L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" ),
121  L1UseL1TriggerObjectMaps = cms.bool( True ),
122  L1UseAliasesForSeeding = cms.bool( True ),
123  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
124  L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
125  L1NrBxInEvent = cms.int32( 3 ),
126  L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
127  L1TechTriggerSeeding = cms.bool( False )
128 )
129 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
130  L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
131  offset = cms.uint32( 0 )
132 )
133 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
134  inputTag = cms.InputTag( "rawDataCollector" ),
135  fedList = cms.vuint32( 1023 )
136 )
137 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
138  processName = cms.string( "@" )
139 )
140 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
141  processName = cms.string( "@" )
142 )
143 
144 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltGctDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
145 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
146 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
147 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
148 
149 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
150 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
151 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
152 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
153 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW )
154 
155 
156 fragment.HLTSchedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath ))
157 
158 
159 # dummyfy hltGetConditions in cff's
160 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
161  fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
162  result = cms.bool( True )
163  )
164  fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
165 
166 # add specific customizations
167 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
168 fragment = customizeHLTforAll(fragment)
169