ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagPerformanceCalibration
CalibrationDataInterface
share
installDB.py
Go to the documentation of this file.
1
# python script to install the DB and the root files in the run area
2
# Copied from the same functionality in the JetTagCalibration package
3
#
4
# - first the local database should be created with the script defineDB.py
5
# - then this script can be run: python installDB.py
6
7
theCalibrationTag =
"MyCalibV1"
8
9
localRootFiles =
True
10
print
'---> Installing performance calibration files for b-tagging. Tag is '
,theCalibrationTag
11
import
os,commands,sys
12
13
folders = [
'Cuts'
]
14
15
for
folder
in
folders:
16
longname =
'BTaggingPerformance'
+theCalibrationTag+
'_'
+folder+
'.root'
17
if
localRootFiles:
18
print
'---> Inserting file '
,longname
19
else
:
20
print
'---> Getting and inserting file '
,longname
21
os.system(
'get_files -data '
+longname)
22
os.system(
'coolHist_insertFileToCatalog.py '
+longname)
Generated on
for ATLAS Offline Software by
1.17.0