Main Page
Namespaces
Classes
Package Documentation
DQM
CSCMonitorModule
data
combine.py
Go to the documentation of this file.
1
#!python
2
3
histos={}
4
missing={}
5
6
f=open(
'CSCDQM_HistoType.txt'
,
'r')
7
for
h
in
f:
8
histos[h.strip()]=0
9
10
f=open(
'map.txt'
,
'r')
11
for
h
in
f:
12
a=h.strip().
split
()
13
key=a[0].
strip
()
14
name=a[1].
strip
()
15
if
key
in
histos:
16
histos[key]=name
17
else
:
18
missing[key]=name
19
20
a=sorted(histos.keys())
21
for
h
in
a:
22
print
h,
23
if
histos[h] != 0:
24
print
"\t\t\t\t\t"
, histos[h]
25
else
:
26
print
""
27
28
print
"========================= MISSING ============================"
29
30
a=missing.keys()
31
a.sort()
32
for
h
in
a:
33
print
h, missing[h]
digitizers_cfi.strip
strip
Definition:
digitizers_cfi.py:19
split
double split
Definition:
MVATrainer.cc:139
Generated for CMSSW Reference Manual by
1.8.11