input from command line example

26 October 2022





#if __has_include("iostream")
#include <iostream>
#define CXX
#else
#include <stdio.h>
#include <stdlib.h>
#endif

int main(const int argc, const char* argv[])
{
#ifndef CXX // c
printf(" C version \n");
#else // c++
std::cout<<" C++ version" <<std::endl;
#endif
for(int i=0; i<argc; ++i)

Read more

suggestions about gap01

19 December 2019


You can login on gap01.roma1.infn.it the first time via ssh
I will send you the temporary password via email

You will have to change the password at the first login
and then you can login again

You will find in your home directory a readme.sh file
you can source it or add it definitively to
Read more

ROOT on arm

19 December 2019


To compile ROOT on an ARM device, like the Raspberry Pi, add to CMake:

-DCMAKE_SHARED_LINKER_FLAGS=’-latomic’

ENSAR2 workshop: GEANT4 in nuclear physics

23 December 2018


https://indico.cern.ch/event/746466/

24 April 2019 - 26 April 2019 - CIEMAT Madrid, Spain

Monte Carlo simulations play a key role in the planning, realization and analysis of nuclear physics experiments and applications. For this reason, the ENSAR2 European Project is organising a workshop between the GEANT4 developers and nuclear physicist with important experience in GEANT4. The goals of the
Read more