CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
L1Reco_cff Namespace Reference

Functions

def _changeLabelForFastSim
 

Variables

tuple conditionsInEdm = EventFilter.L1GlobalTriggerRawToDigi.conditionDumperInEdm_cfi.conditionDumperInEdm.clone()
 
tuple l1L1GtObjectMap = convertObjectMapRecord.clone()
 
tuple L1Reco = cms.Sequence(l1extraParticles)
 
tuple L1Reco_L1Extra = cms.Sequence(l1extraParticles)
 
tuple L1Reco_L1Extra_L1GtRecord = cms.Sequence(l1extraParticles+l1GtRecord)
 

Function Documentation

def L1Reco_cff._changeLabelForFastSim (   object)
private
Takes an InputTag, changes the first letter of the module label to a capital
and adds "sim" in front, e.g. "gctDigid" -> "simGctDigis".
This works for both Run 1 and Run 2 collections.

Definition at line 13 of file L1Reco_cff.py.

References pileupCalc.upper.

13 
14 def _changeLabelForFastSim( object ) :
15  """
16  Takes an InputTag, changes the first letter of the module label to a capital
17  and adds "sim" in front, e.g. "gctDigid" -> "simGctDigis".
18  This works for both Run 1 and Run 2 collections.
19  """
20  object.moduleLabel="sim"+object.moduleLabel[0].upper()+object.moduleLabel[1:]
21 
22 _changeLabelForFastSim( l1extraParticles.isolatedEmSource )
23 _changeLabelForFastSim( l1extraParticles.nonIsolatedEmSource )
24 
25 _changeLabelForFastSim( l1extraParticles.centralJetSource )
26 _changeLabelForFastSim( l1extraParticles.tauJetSource )
27 _changeLabelForFastSim( l1extraParticles.isoTauJetSource )
28 _changeLabelForFastSim( l1extraParticles.forwardJetSource )
29 
30 _changeLabelForFastSim( l1extraParticles.etTotalSource )
31 _changeLabelForFastSim( l1extraParticles.etHadSource )
32 _changeLabelForFastSim( l1extraParticles.htMissSource )
33 _changeLabelForFastSim( l1extraParticles.etMissSource )
34 
35 _changeLabelForFastSim( l1extraParticles.hfRingEtSumsSource )
36 _changeLabelForFastSim( l1extraParticles.hfRingBitCountsSource )
37 
38 # This one is subtly different, but is the same for Run 1 and Run 2 FastSim
39 l1extraParticles.muonSource = cms.InputTag('simGmtDigis')
40 
41 
42 # must be set to true when used in HLT, as is the case for FastSim
43 l1extraParticles.centralBxOnly = True
def _changeLabelForFastSim
Definition: L1Reco_cff.py:13

Variable Documentation

tuple L1Reco_cff.conditionsInEdm = EventFilter.L1GlobalTriggerRawToDigi.conditionDumperInEdm_cfi.conditionDumperInEdm.clone()

Definition at line 29 of file L1Reco_cff.py.

tuple L1Reco_cff.l1L1GtObjectMap = convertObjectMapRecord.clone()

Definition at line 33 of file L1Reco_cff.py.

tuple L1Reco_cff.L1Reco = cms.Sequence(l1extraParticles)

Definition at line 44 of file L1Reco_cff.py.

tuple L1Reco_cff.L1Reco_L1Extra = cms.Sequence(l1extraParticles)

Definition at line 37 of file L1Reco_cff.py.

tuple L1Reco_cff.L1Reco_L1Extra_L1GtRecord = cms.Sequence(l1extraParticles+l1GtRecord)

Definition at line 38 of file L1Reco_cff.py.