Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CalibMuon
DTCalibration
python
Workflow
DTValidSummary.py
Go to the documentation of this file.
1
from
tools
import
loadCmsProcess,writeCfg
2
from
CmsswTask
import
CmsswTask
3
import
os
4
5
class
DTValidSummary
:
6
def
__init__
(self, run, dir, input_file, output_file, config):
7
self.
runnumber
= run
8
self.
config
= config
9
self.
dir
= dir
10
self.
input_file
= input_file
11
self.
output_file
= output_file
12
13
self.
pset_name
=
'dtTTrigValidSummary_cfg.py'
14
self.
pset_template
=
'CalibMuon.DTCalibration.dtTTrigValidSummary_cfg'
15
16
self.
process
=
None
17
self.
initProcess
()
18
self.
configs
= [self.
pset_name
]
19
self.
task
=
CmsswTask
(self.
dir
,self.
configs
)
20
21
def
initProcess
(self):
22
self.
process
=
loadCmsProcess
(self.
pset_template
)
23
self.process.resolutionTest.inputFile = self.
input_file
24
self.process.resolutionTest.OutputFileName = self.
output_file
25
26
def
writeCfg
(self):
27
writeCfg
(self.
process
,self.
dir
,self.
pset_name
)
28
#writeCfgPkl(self.process,self.dir,self.pset_name)
29
30
def
run
(self):
31
self.task.run()
32
return
DTValidSummary.DTValidSummary.run
def run
Definition:
DTValidSummary.py:30
DTValidSummary.DTValidSummary.runnumber
runnumber
Definition:
DTValidSummary.py:7
DTValidSummary.DTValidSummary.__init__
def __init__
Definition:
DTValidSummary.py:6
DTValidSummary.DTValidSummary.config
config
Definition:
DTValidSummary.py:8
DTValidSummary.DTValidSummary.configs
configs
Definition:
DTValidSummary.py:18
DTValidSummary.DTValidSummary.task
task
Definition:
DTValidSummary.py:19
DTValidSummary.DTValidSummary.writeCfg
def writeCfg
Definition:
DTValidSummary.py:26
tools.loadCmsProcess
def loadCmsProcess
Definition:
tools.py:144
DTValidSummary.DTValidSummary.pset_name
pset_name
Definition:
DTValidSummary.py:13
DTValidSummary.DTValidSummary.process
process
Definition:
DTValidSummary.py:16
DTValidSummary.DTValidSummary
Definition:
DTValidSummary.py:5
DTValidSummary.DTValidSummary.output_file
output_file
Definition:
DTValidSummary.py:11
CmsswTask.CmsswTask
Definition:
CmsswTask.py:3
DTValidSummary.DTValidSummary.pset_template
pset_template
Definition:
DTValidSummary.py:14
DTValidSummary.DTValidSummary.input_file
input_file
Definition:
DTValidSummary.py:10
DTValidSummary.DTValidSummary.initProcess
def initProcess
Definition:
DTValidSummary.py:21
DTValidSummary.DTValidSummary.dir
dir
Definition:
DTValidSummary.py:9
Generated for CMSSW Reference Manual by
1.8.5