1 from builtins
import range
3 __date__ =
"$2010-07-20 11.52.22$"
16 lines = open(file).readlines()
25 for i
in range(len(lines)):
26 index = lines[i].
find(commentStart)
28 lines[i] = lines[i].
replace(lines[i][index:],
'\n')
36 startIndex = lines[i].
find(commentStart)
38 while((startIndex != -1)
and (i < tlines)):
39 endIndex = lines[i].
find(commentEnd)
42 lines[i] = lines[i].
replace(lines[i][startIndex:endIndex+3],
'', 1)
44 lines[i] = lines[i].
replace(lines[i][:endIndex+3],
'')
45 startIndex = lines[i].
find(commentStart)
49 lines[i] = lines[i].
replace(lines[i][startIndex:],
'\n', 1)
51 lines[i] = lines[i].
replace(lines[i][:],
'\n')
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const uint16_t range(const Frame &aFrame)
while(__syncthreads_or(more))