1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#run Efficiency writer and reader
mkdir EffTest
pushd EffTest
cmsRun $LOCALRT/src/CondCore/PopCon/test/PopConEffExample.py
sqlite3 pop_test.db .tables
cmscond_list_iov -c sqlite_file:pop_test.db -t Example_tag1 -s
#duplicate it...
cmscond_list_iov -c sqlite_file:pop_test.db -t Example_tag1 -o
sed -i 's/Example_tag1/Example_tag2/' Example_tag1.dump
cmscond_load_iov -c sqlite_file:pop_test.db Example_tag1.dump
cmscond_list_iov -c sqlite_file:pop_test.db -t Example_tag2 -s -v
cmsRun $LOCALRT/src/CondCore/PopCon/test/print_eff_example.py
popd
|