test
CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

def customize4TMVA.customise (   process)

Definition at line 3 of file customize4TMVA.py.

3 
4 def customise(process):
5 
6  process.simHcalUnsuppressedDigis.doThermalNoise = cms.bool(False)
7  #process.simSiStripDigis.CommonModeNoise = cms.bool(False)
8  #process.simSiStripDigis.SingleStripNoise = cms.bool(False)
9  #process.simSiStripDigis.Noise = cms.bool(False)
10  #process.simSiPixelDigis.AddNoise = cms.bool(False)
11  #process.simMuonRPCDigis.Noise = cms.bool(False)
12  #process.simMuonCSCDigis.strips.doCorrelatedNoise = cms.bool(False)
13  #process.simMuonCSCDigis.wires.doNoise = cms.bool(False)
14  #process.simMuonCSCDigis.strips.doNoise = cms.bool(False)
15  process.simEcalUnsuppressedDigis. doESNoise = cms.bool(False)
16  process.simCastorDigis. doNoise = cms.bool(False)
17  process.simEcalUnsuppressedDigis. doNoise = cms.bool(False)
18  process.simHcalUnsuppressedDigis. doNoise = cms.bool(False)
19 
20  process.TFileService = cms.Service("TFileService",
21  fileName = cms.string("histo.root"),
22  closeFileFast = cms.untracked.bool(True)
23  )
24 
25  from TrackingTools.TrackAssociator.default_cfi import TrackAssociatorParameterBlock
26 
27  myBlock=TrackAssociatorParameterBlock.clone()
28  myBlock.TrackAssociatorParameters.usePreshower = cms.bool(True)
29 
30  process.ana = cms.EDProducer('MuonCaloCleaner',
31  myBlock,
32  selectedMuons = cms.InputTag("muons"),
33  storeDeps = cms.untracked.bool(True)
34  )
35 
36 
37  process.anaPlus = cms.EDAnalyzer("AnaMuonCaloCleaner",
38  colLen = cms.InputTag("ana", "plus"),
39  colDep = cms.InputTag("ana", "plusDeposits"),
40  selectedMuons = cms.InputTag("muons"),
41  charge = cms.int32(1)
42  )
43 
44  process.anaMinus = cms.EDAnalyzer("AnaMuonCaloCleaner",
45  colLen = cms.InputTag("ana", "minus"),
46  colDep = cms.InputTag("ana", "minusDeposits"),
47  selectedMuons = cms.InputTag("muons"),
48  charge = cms.int32(-1)
49  )
50 
51  process.mySeq = cms.Sequence(process.ProductionFilterSequence*process.ana*process.anaPlus*process.anaMinus)
52  process.myPath = cms.Path(process.mySeq)
53 
54  process.schedule.extend([process.myPath])
55 
56  process.MessageLogger.cerr.FwkReport.reportEvery = 100
57 
58  return process