1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("HitEff")
process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
process.source = cms.Source("EmptyIOVSource",
firstValue = cms.uint64(newrun),
lastValue = cms.uint64(newrun),
timetype = cms.string('runnumber'),
interval = cms.uint64(1)
)
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1))
process.SiStripHitEff = cms.EDFilter("SiStripHitEffFromCalibTree",
CalibTreeFilenames = cms.untracked.vstring('root://cms-xrd-global.cern.ch//newfilelocation'),
Threshold = cms.double(0.2),
nModsMin = cms.int32(25),
doSummary = cms.int32(0),
#ResXSig = cms.untracked.double(5),
SinceAppendMode = cms.bool(True),
IOVMode = cms.string('Run'),
Record = cms.string('SiStripBadStrip'),
doStoreOnDB = cms.bool(True),
BadModulesFile = cms.untracked.string("BadModules_input.txt"), # default "" no input
AutoIneffModTagging = cms.untracked.bool(True), # default true, automatic limit for each layer to identify inefficient modules
ClusterMatchingMethod = cms.untracked.int32(4), # default 0 case0,1,2,3,4
ClusterTrajDist = cms.untracked.double(64), # default 64
StripsApvEdge = cms.untracked.double(10), # default 10
UseOnlyHighPurityTracks = cms.untracked.bool(True), # default True
SpaceBetweenTrains = cms.untracked.int32(25), # default 25
UseCommonMode = cms.untracked.bool(False), # default False
ShowEndcapSides = cms.untracked.bool(True), # default True
ShowRings = cms.untracked.bool(True), # default False
ShowTOB6TEC9 = cms.untracked.bool(False), # default False
ShowOnlyGoodModules = cms.untracked.bool(False), # default False
TkMapMin = cms.untracked.double(0.95), # default 0.90
EffPlotMin = cms.untracked.double(0.90), # default 0.90
Title = cms.string(' Hit Efficiency ')
)
process.PoolDBOutputService = cms.Service("PoolDBOutputService",
BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
DBParameters = cms.PSet(
authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
),
timetype = cms.untracked.string('runnumber'),
connect = cms.string('sqlite_file:dbfile.db'),
toPut = cms.VPSet(cms.PSet(
record = cms.string('SiStripBadStrip'),
tag = cms.string('SiStripHitEffBadModules')
))
)
process.TFileService = cms.Service("TFileService",
fileName = cms.string('SiStripHitEffHistos_runnewrun.root')
)
process.allPath = cms.Path(process.SiStripHitEff)
|