Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DQM
SiStripMonitorClient
scripts
change_name.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
3
4
import
sys
5
6
input_offline=open(
'DeadROC_offline.txt'
,
'
r')
7
input_diff = open(
'DeadROC_Diff.txt'
,
'
r')
8
9
output = open(
'MaskedROC_sum.txt'
,
'w'
)
10
11
12
offline =[]
13
diff = []
14
15
16
for
line
in
input_offline:
17
18
offline.append(
str
(line.strip())+
' power\n'
)
19
20
21
for
line
in
input_diff:
22
23
diff.append(
str
(line.strip())+
' tbmdelay\n'
)
24
25
26
full_list = offline + diff
27
28
for
i
in
range
(len(full_list)):
29
output.write(full_list[i])
30
31
32
output.close()
sistrip::SpyUtilities::range
const uint16_t range(const Frame &aFrame)
Definition:
SiStripSpyUtilities.cc:76
str
#define str(s)
Definition:
TestProcessor.cc:53
Generated for CMSSW Reference Manual by
1.8.5