test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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=histos.keys()
21
a.sort()
22
for
h
in
a:
23
print
h,
24
if
histos[h] != 0:
25
print
"\t\t\t\t\t"
, histos[h]
26
else
:
27
print
""
28
29
print
"========================= MISSING ============================"
30
31
a=missing.keys()
32
a.sort()
33
for
h
in
a:
34
print
h, missing[h]
split
double split
Definition:
MVATrainer.cc:139
Generated for CMSSW Reference Manual by
1.8.5