Skip to content
Snippets Groups Projects
README.md 993 B
Newer Older
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed

lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
CEPC offline software prototype based on [Key4hep](https://github.com/key4hep).
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
## Quick start

lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
Before run following commands, please make sure you setup the CVMFS:

lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
```
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
$ source /cvmfs/cepcsw.ihep.ac.cn/prototype/releases/externals/97.0.2/setup.sh
$ git clone git@github.com:cepc/CEPCSW.git
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
$ cd CEPCSW
$ git checkout master # branch name
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
$ mkdir build && cd build
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
$ cmake .. -DHOST_BINARY_TAG=${BINARY_TAG}
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
$ make
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
$ ./run gaudirun.py '$EXAMPLESROOT/options/helloalg.py'
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
* Examples: For new comers and users

* Detector: Geometry
* Generator: Physics Generator
* Simulation: Detector Simulation
* Reconstruction: Reconstruction

lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
* Service: Common Service

## Full Chain

Detector simulation: 
```
$ ./run gaudirun.py '$EXAMPLESROOT/options/tut_detsim.py'
```

## Conventions for collections
Keep the collection names compatible between the prototype and the existing CEPC software.

* MCParticle
* VXDCollection
* SITCollection
* TPCCollection
* SETCollection