Application to VELO |
1. VELO Residuals |
2. Problem & Strategy |
3. Internal Alignment |
4. Box Alignment |
5. Software Description |
6. How To Create Misaligned Events ? |
7. How To Use The Software ? |
Home |
Short Presentation |
Mechanical Constraints |
Misalignment Studies |
Alignment Techniques |
Application to VELO |
C++ code |
Latest News |
Links |
Application to the VELO
2. VELO algorithm (Part V)
F. Using the Geometry Framework to misalign the VELO
This part explains how to use the new CondDB framework in order to produce misaligned VELO events. We will use here the simplest method, by overriding alignment conditions. It means that don't need a private copy of the CondDB. To get your copy of the DataBase with modified alignment conditions, refer to Marco Clemencic's CondDB tutorial.F1. Create the misalignments sets
This is the biggest change compared to the previous version. You now don't have to bother with xml files and so on. You will introduce your misalignments as a simple joboptions file.
___________________
1. root
2. .L CreateAlignmentFiles.C
3. create_options_files(10)
___________________
F2. Produce and simulate (GAUSS v30r3)
Into your working directory, create a subdirectory called /Generation/. In this directory, create 2 subdirectories: /opts/, and /scripts/. Then, download the perl script create_jobs_gauss_v30r3_newCondDB.pl. It will produce an executable script to be sent to the batch system (in /scripts/), and a job options file (in /opts/). All you have to do is to adapt the parameters at the beginning of the file to your needs. In addition, you have to provide an existing directory on CASTOR as $pathout that has two subdirectories called sim and log.
___________________
1. setenvGauss v30r3
2. getpack Sim/Gauss v30r3
3. cd Sim/Gauss/v30r3/cmt/
4. cmt config
5. source setup.(c)sh
6. gmake
___________________
___________________
// Geometry to be simulated Detector by detector
//------------------------------------------------
//Geo.StreamItems += {"/dd/Structure/LHCb/BeforeMagnetRegion/Velo"};
// Uncomment following line to enable misaligneable VELO
#include "$GAUSSOPTS/SimVeloGeometry.opts"
___________________
___________________
chmod 755 launch_GAUSS.x
./launch_GAUSS.x
___________________
F3. Digitize (BOOLE v14r4)
It's quite similar than in the previous case, and in fact even simpler, as you don't have to produce the misalignment options files.
___________________
1. setenvBoole v14r4
2. getpack Digi/Boole v14r4
3. cd Digi/Boole/v14r4/cmt/
4. cmt config
5. source setup.(c)sh
6. gmake
___________________
___________________
chmod 755 launch_BOOLE.x
./launch_BOOLE.x
___________________