Tags:
tag this topic
create new tag
view all tags
---+ Dose Profiler page <br />%TOC% *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 * Trento 2017: [[DPTrentoTB][related page]] * CNAO 2017 July: [[DPCNAOTB][related page]] * CNAO 2017 November: [[DPCNAOTBNov17][related page]] * CNAO 2018 May: [[TestBeam2018][related page]] ---+ DAQ software Here's a link to the [[DaqProfiler][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)<br />The command <verbatim style="padding-left: 30px;">make</verbatim> produces a _prof_geo_ program. The command <verbatim style="padding-left: 30px;">./prof_geo</verbatim> updates the file <i>prof.inp </i>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 <verbatim style="padding-left: 30px;">source link_PROFILER.sh</verbatim> * run FLUKA linking the created executable <verbatim style="padding-left: 30px;">$FLUPRO/flutil/rfluka -e fluka_PROFILER.exe -N0 -M1 prof</verbatim> NB. The views of fibers and of scintillators are numbered 0 (orientated along y) and 1 (orientated along x).<br /> Fiber layers from 0 to 5, fiber adresses range from 0 to 383. <br /> 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, <a href="http://genfit.sourceforge.net/Main.html" title="GENfit sourceforge page">follow the instructions in here</a>. The code is available from <a href="https://github.com/GenFit/GenFit" target="_blank">GitHub<img alt="" border="0" height="12" src="%PUBURL%/TWiki/TWikiDocGraphics/external-link.gif" width="13" /></a> and can be downloaded through <pre>git clone https://github.com/GenFit/GenFit.git</pre> 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) [[%ATTACHURL%/PositionTrento2017.pdf][PositionTrento2017.pdf]] [[%ATTACHURL%/position.pdf][<br />]] Comments <br />%COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
pdf
PositionTrento2017.pdf
r1
manage
73.6 K
2017-05-08 - 14:13
MicolDeSimoni
pdf
position.pdf
r1
manage
73.0 K
2017-05-08 - 14:04
MicolDeSimoni
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r13
<
r12
<
r11
<
r10
<
r9
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r13 - 2018-05-29
-
GiacomoTraini
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 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