Tags:
create new tag
view all tags

Dose Profiler page


To download the DAQ stuff.

svn+ssh://XXXUSER@arpg-serv.ing2.uniroma1.it/Users/Shared/SvnRepos/DoseProfiler/ProfilerDaq

Software for decoding and simulation.

svn+ssh://XXXUSER@arpg-serv.ing2.uniroma1.it/Users/Shared/SvnRepos/DoseProfiler/ProfilerCode

Dose Profiler Test Beams

DAQ software

Here's a link to the DAQ software page

MC production

Inside the ProfilerCode folder (downloaded from svn) there's the Simulation folder in which the code is held, as well as the geometry and the inp files.

To create the geometry and the input files of the Profiler simulation, the needed files are: prof_geo.h prof_geo.cc Geometry.h Geometry.cpp GeometryLinkDef.h prof.inp makefile.

In prof_geo.h there are the geometrical parameters and materials. The profiler can be easily shifted or rotated by changing its position and orientation, which are defined in prof_geo.h (coordinates of the dose profiler "center" (coordinates of the beginning of the first fiber plane and view): PROF_X, PROF_Y, PROF_Z; azimuthal and polar angle: PROF_AZANG, PROF_POLANG)
The command

make

produces a prof_geo program. The command

./prof_geo

updates the file prof.inp and produces the files prof.geo and prof.reg (which contains the numbers of the different regions).

To run the FLUKA simulation:

  • compile the routines and create the executable
source link_PROFILER.sh
  • run FLUKA linking the created executable
$FLUPRO/flutil/rfluka -e fluka_PROFILER.exe -N0 -M1 prof

NB. The views of fibers and of scintillators are numbered 0 (orientated along y) and 1 (orientated along x).
Fiber layers from 0 to 5, fiber adresses range from 0 to 383.
Scintillator layers from 0 to 1 and scintillator bars range from 0 to 15.

MC versions under svn:

- prof_noframe.geo prof_noframe.inp -> with tedlar window, no tedlar window frame

- prof_tilt.geo prof_tilt.inp -> with tedlar window slightly shifted, tedlar window frame (PVC) added; profiler tilted by an azymuthal angle of 20degrees around the y axis.

N.B.: prof.inp and prof.geo under svn are the last standard versions of the new profiler geometry (no tilt).

MC decoding

Digesting fluka output

Txt2root can be used to tuple the info from the MC simulation.

Fluka creates some output like: ProfilerNewCone001 _TXT.dat that contains the info from the scoring.

The Txt2Root executable can be built from the Simulation/TXT2ROOT folder.

Running the analizer

Once the tuple is available, the profiler code can be used to analyze it.

The code is now held under DoseProfiler project and can be compiled issuing the command

make Profiler

In order to compile the libraries, the <a href="http://arpg-serv.ing2.uniroma1.it/twiki/bin/edit/Main/GenFit?topicparent=Main.FOOTSoftware;nowysiwyg=0" rel="nofollow" title="GenFit (this topic does not yet exist; you can create it)"> GenFit </a> external package has to be downloaded and installed.

To get the code and install it, follow the instructions in here. The code is available from GitHub and can be downloaded through

git clone https://github.com/GenFit/GenFit.git

to run the code one has to issue the following command.

Decoding Instructions

Inside the ProfilerCode directory:

check the correct path inside setuplibs.sh/csh

source setuplibs.sh/csh

- To decode the experimental data:

make Profiler

./Profiler -in infile.dat -out outfile.root

N.B: the .dat input file is the output file from the DAQ

- To decode the simulated data:

make Profiler

./Profiler -in infile.root -out outfile.root -isMC

N.B: the .root input file is the output file from the Txt2Root that has been run over the FLUKA .dat file

(type ./Profiler -print for more instructions)

- Analyze the decoded data

Once the outfile.root (exp or sim) is available, the AnaProfi.cpp code can be used to further analyze the decoded data:

make -f makefile_AnaProfi AnaProfi

./AnaProfi -in outfile.root -out Ana_outfile.root

MonitorTemperature (TSting tempfile) [inside AnaProfiLib.C] is used to monitor the Temperature in time filling an Histogram. With the flag "-tempFile" you can choose the file.txt with temperature information.

MonitorTrigger () [inside AnaProfiLib.C] is used to monitor if the trigger is working well. With the flag "-configFile" you can choose the file.txt with trigger information

Position during the BeamTest (Trento)

PositionTrento2017.pdf

Comments


Topic attachments
I Attachment History Action Size Date Who Comment
PDFpdf PositionTrento2017.pdf r1 manage 73.6 K 2017-05-08 - 14:13 MicolDeSimoni  
PDFpdf position.pdf r1 manage 73.0 K 2017-05-08 - 14:04 MicolDeSimoni  
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r13 - 2018-05-29 - GiacomoTraini
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback