Coder Social home page Coder Social logo

trento's Introduction

TRENTo

Reduced Thickness Event-by-event Nuclear Topology

Initial condition model for high-energy nuclear collisions.

Read the docs at qcd.phy.duke.edu/trento.

Pb-Pb events


Pb-Pb events generated by the model using different p-means

trento's People

Contributors

jbernhard avatar morelandjs avatar victor-gonzalez avatar

Stargazers

Davdelago avatar Cami Borges avatar mengzhu avatar  avatar  avatar  avatar Masanori Ogino avatar Nikhil Hatwar avatar danishmeer avatar Willian M. Serenone avatar Leonardo Barreto de Oliveira Campos avatar Rabqubit avatar  avatar Caio Prado avatar  avatar Janus Weil avatar  avatar Peng Ru avatar  avatar

Watchers

James Cloos avatar Chun Shen avatar  avatar  avatar  avatar Steffen A. Bass avatar  avatar Weiyao Ke avatar Jussi Auvinen avatar  avatar

trento's Issues

auto grid

trento should automatically choose a reasonable grid size based on the collision system. Right now the default is 10 fm regardless of the system, which is ridiculously large for pp and pA. It's very easy to forget to reduce the grid size when switching systems.

trento classes already have enough information to do this, so it should be easy.

The --grid-max option would of course remain as a user override.

Error while building trento code

Dear Sir,

I have installed " Boost". And I am trying to build trento. The terminal message of cmake .. in the build folder is the following:

-- The CXX compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/local/lib/cmake/Boost-1.77.0/BoostConfig.cmake (found suitable version "1.77.0", minimum required is "1.50") found components: filesystem program_options system 
-- HDF5 not found (missing: HDF5_INCLUDE_DIRS HDF5_CXX_LIB HDF5_C_LIB ZLIB, found:)
-- Build type: Release
-- Install prefix: /home/kakashi/.local
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kakashi/ALL_CODES/trento-master/build

(I did not install the HDF5 dependency as it was optional.)
And then after make install, I get the following:

[ 10%] Building CXX object src/CMakeFiles/libtrento.dir/collider.cxx.o
[ 20%] Building CXX object src/CMakeFiles/libtrento.dir/event.cxx.o
[ 30%] Building CXX object src/CMakeFiles/libtrento.dir/hdf5_utils.cxx.o
/home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx: In function ‘bool trento::hdf5::filename_is_hdf5(const boost::filesystem::path&)’:
/home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx:20:79: error: no matching function for call to ‘find(std::initializer_list<const char*>::const_iterator, std::initializer_list<const char*>::const_iterator, boost::filesystem::path)’
   20 |   auto result = std::find(hdf5_exts.begin(), hdf5_exts.end(), path.extension());
      |                                                                               ^
In file included from /usr/include/c++/9/bits/locale_facets.h:48,
                 from /usr/include/c++/9/bits/basic_ios.h:37,
                 from /usr/include/c++/9/ios:44,
                 from /usr/include/c++/9/ostream:38,
                 from /usr/local/include/boost/system/detail/error_code.hpp:25,
                 from /usr/local/include/boost/system/detail/error_category_impl.hpp:15,
                 from /usr/local/include/boost/system/error_category.hpp:11,
                 from /usr/local/include/boost/filesystem/path_traits.hpp:14,
                 from /usr/local/include/boost/filesystem/path.hpp:21,
                 from /usr/local/include/boost/filesystem.hpp:16,
                 from /home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx:9:
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)’
  373 |     find(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note:   template argument deduction/substitution failed:
/home/kakashi/ALL_CODES/trento-master/src/hdf5_utils.cxx:20:79: note:   mismatched types ‘std::istreambuf_iterator<_CharT>’ and ‘const char* const*’
   20 |   auto result = std::find(hdf5_exts.begin(), hdf5_exts.end(), path.extension());
      |                                                                               ^
make[2]: *** [src/CMakeFiles/libtrento.dir/build.make:104: src/CMakeFiles/libtrento.dir/hdf5_utils.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:165: src/CMakeFiles/libtrento.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I tried search for this error but couldn't solved it.
I tried installing trento in another computer, but I received the same error.
Could you please help me resolve this.

deuteron

trento needs a deuteron projectile type in order to model d+Au collisions at RHIC. This should be fairly straightforward: just sample a radius from the Hulthén wavefunction as described in the PHOBOS Glauber model.

better docs

The README is just a placeholder. This is a reminder to complete the actual sphinx-generated documentation site.

auto cross section

Currently, trento requires the user to explicitly set the cross section. This is annoying, since the cross section changes with beam energy and the experimental values are sometimes hard to find.

The interface should provide a --beam-energy option, and the code should interpolate a set of experimental points and choose an appropriate cross section. The --cross-section option would still be available to allow the user to override the interpolation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.