Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

semkiv/fcc-generator

Repository files navigation

fcc-generator

DISCONTINUED, but feel free to fork it.

Generator of events for B0d → K*0 τ+ τ- studies. It combines PYTHIA and EvtGen generation facilities with PODIO/fcc-edm storing system.

Requirements

Basic

  • C++11-compatible compiler (we recommend G++)
  • CMake 3.0 or higher
  • Boost (optionally)
  • Git (optionally)

Analysis related

Installation

  • Make sure that environment variables for all packages are set properly
  • Clone this repo:
git clone https://github.com/semkiv/fcc-generator.git

or download a zipped copy of it using web interface and extract it

  • Navigate to newly created fcc-generator directory:
cd fcc-generator
  • Check out init.sh script and make changes to it if necessary
  • Set up the environment:
source init.sh
  • Create a dedicated build directory e.g. build:
mkdir build
  • Navigate to this directory:
cd build
  • Configure the build process:
cmake -DCMAKE_INSTALL_PREFIX=install ..

Here install is the installation directory and .. is the path to source folder. If you don't want to use Boost libraries add -DUSE_BOOST=OFF to this command.

  • Build and install the project:
cmake --build . --target install -- -j 4

Here 4 is the number of parallel threads used for building. Set your value or omit it to use as many threads as your system provides (use with care: may cause GUI freezes)

Usage

If compiled with Boost libraries usage is:

generator options

where possible options are:

  • --help - show usage help and exit
  • -n, --nevents=NUM - generate NUM events. Required argument
  • -k, --keyparticle=PDGID - PDG ID of "key" particle (the one the redefined decay chain starts with). Optional argument, by default 511 (B0d)
  • -P, --pythiacfg=CFGFILE - PYTHIA config file. Optional argument, by default pythia.cmnd
  • -E, --customdec=DECFILE - EvtGen user decay file. Optional argument, by default user.dec
  • --evtgendec=DECFILE - EvtGen decay file. Optional argument, by default $EVTGEN_ROOT_DIR/share/DECAY_2010.DEC
  • --evtgenpdl=PDLFILE - EvtGen PDL file. Optional argument, by default $EVTGEN_ROOT_DIR/share/evt.pdl
  • -o, --outfile=FILENAME - Output file name. Optional argument, by default output.root
  • -v, --verbosity - Verbosity level. Possible values 0, 1, 2. Otional argument, by default 0

If compiled without Boost, usage is:

generator n

where n is the number of events to generate. All other options are hardcoded with the Boost-case default values.

About

Generator of events for B_0^d -> K^*0 tau^+ tau^- studies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published