-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
37 lines (32 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Mu2e Tracker repository
####
# check out the (empty) directory
####
$ cd $MRB_SOURCE
$ mrb gitCheckout -d otsdaq_mu2e_tracker ssh://[email protected]/cvs/projects/mu2e-otsdaq-tracker
$ cd otsdaq_mu2e_tracker
####
# get the directory with the heavy lifting tools in it
####
$ cp -rpd ../otsdaq_mu2e_calorimeter/otsdaq-mu2e-calorimeter/ .
$ mv otsdaq-mu2e-calorimeter otsdaq-mu2e-tracker
$ cd otsdaq-mu2e-tracker/
$ cd FEInterfaces/
$ sed 's/Calorimeter/Tracker/' CMakeLists.txt > CMakeLists.txt.tracker
$ mv CMakeLists.txt.tracker CMakeLists.txt
$ sed 's/Calorimeter/Tracker/' ROCCalorimeterEmulator.h > ROCTrackerEmulator.h
$ sed 's/Calorimeter/Tracker/' ROCCalorimeterEmulator_interface.cc > ROCTrackerEmulator_interface.cc
$ rm ROCCalorimeterEmulator.h
$ rm ROCCalorimeterEmulator_interface.cc
$ cd ../..
####
# deal with the product dependencies to make it compile OK...
####
$ cp -rpd ../otsdaq_mu2e_calorimeter/CMakeLists.txt .
$ sed 's/calorimeter/tracker/' CMakeLists.txt > CMakeLists.txt.tracker
$ mv CMakeLists.txt.tracker CMakeLists.txt
$ cp -rpd ../otsdaq_mu2e_calorimeter/ups/ .
$ cd ups/
$ sed 's/calorimeter/tracker/' product_deps > product_deps.tracker
$ mv product_deps.tracker product_deps
$ cd ..