Skip to content

wcarvalho/dirc-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Modeling a DIRC for high-multiplicity collisions

This is a C++11 library made for a project modeling a Detection of Internally Reflected Cherenkov light (DIRC) particle detector at Stony Brook University. I collaborated with professor Axel Drees and research professor Alan Dion. This library has 5 components: 4 sub-libraries (1) Dirc-Objects, (2) Particle-Generator, (3) Photon-Generator, (4) Particle-Reconstructor, and a set of (5) scripts to streamline common tasks.


To skip to the installation instructions CLICK HERE


Brief Description of Components

#####Contains a collection of ROOT classes to store data. Examples of data stored include:

  • DIRC parameters
  • particle data
  • photon data
  • particle reconstruction data

#####Contains an executable and functions to generate particles and intersect them with the modeled DIRC.

#####Contains an executable and functions to simulate the trajectory of particles within the modeled DIRC and produce the Cherenkov light data that would be read from the DIRC photon detector.

#####Contains an executable and functions to disentangle the Cherenkov light data and reconstruct the identity of the particles that produced this light.

#####Contains scripts for common tasks in this project such as embedding particle data into an existing data set or smearing the angles of a set of photons.


##Installation Instructions Before continuing, make sure that libtool, pkg-config, autoconf, and automake are installed.

###pre-requisite libraries:

  1. ROOT (version 5.34)

Note: For libseamstress and fitnewton, please make sure that the configure.ac files are using C++11

####Easy installation Dirc-Detector facilitate the install process by including shell scripts in the build_scripts directory that can be used to install all (or any) of its libraries and scripts. In order to do so, you will need to run the shell scripts with the appropriate environment variables.

Environment variables to export

  1. MYLIBS : used as location to install libraries
  • MYAPPS : used as location to install executables
  • scripts : used as location to install executable scripts

Note: Please make sure MYAPPS and scripts are in your $PATH

######Installing libraries The easiest thing to do is to create a link to all shell scripts in build_scripts in your main directory, i.e.

ln build_scripts/*.sh .

Although, you can link only the shell script files described below, i.e.

ln build_scripts/*dircobjects*.sh .
ln build_scripts/*simulator*.sh .
ln build_scripts/*generator*.sh .
ln build_scripts/*reconstructor*.sh .

For each library do:

  1. bash autoreconf_library.sh
  • bash configure_library.sh
  • bash install_library.sh

For example:

bash autoreconf_dircobjects.sh
bash configure_dircobjects.sh
bash install_dircobjects.sh

Recommended order: (1) dircobjects, (2) simulator, (3) generator, (4) reconstructor

####Harder installation If the installation instructions above didn't work out for some reason, you can follow the installation instruction in each component's README.

  1. Dirc-Objects
  2. Particle-Generator
  3. Photon-Generator
  4. Particle-Reconstructor
  5. Scripts

You may contact me with any concerns about this library at wcarvalho92@gmail.com

Note: Installation for this library has only been tested on Mac OSX 10.0+ and Linux Ubuntu 14.0+. It has NOT been tested for Windows. While this installation may work on other UNIX-based systems (and windows builds), this is not guaranteed and you continue with installation at your own risk.

About

Modeling a Detection of Internally Reflected light (DIRC) particle-detector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published