Coder Social home page Coder Social logo

pfcal's Introduction

PFCal: standalone simulation studies

Twiki with the Instructions HGCAL Documentation

Instructions for generating samples

cmsrel CMSSW_12_4_9
cd CMSSW_12_4_9/src
git clone [email protected]:bmjoshi/PFCal.git
cd PFCal/PFCalEE

Do Not run cmsenv command. Instead, build the code using the following command:

source g4env.sh
mkdir -p userlib/{lib,obj,bin} && cd userlib && make dictionary && make -j 5 && cd - && ./makeG4

The to generate the jobs and submit production use the submitProd.py script.

usage: submitProd.py [-h] [-t GITTAG] [--nRuns NRUNS] [-v VERSION] [-m MODEL]
                     [-a ETAS [ETAS ...]] [-p PHI] [--shape SHAPE] [-b BFIELD]
                     [-d DATATYPE] [-f DATAFILE] [-F DATAFILEEOS] [-n NEVTS]
                     [-o OUT] [-e EOS] [-g] [--enList ENLIST [ENLIST ...]]
                     [-S]

optional arguments:
  -h, --help            show this help message and exit
  -t GITTAG, --git-tag GITTAG
                        git tag version (default: )
  --nRuns NRUNS         number of run, 0-indexed (default: -1)
  -v VERSION, --version VERSION
                        detector version (default: 3)
  -m MODEL, --model MODEL
                        detector model (default: 3)
  -a ETAS [ETAS ...], --etas ETAS [ETAS ...]
                        incidence eta (default: None)
  -p PHI, --phi PHI     incidence phi angle in pi unit (default: 0.5)
  --shape SHAPE         shape (default: 1)
  -b BFIELD, --Bfield BFIELD
                        B field value in Tesla (default: 0)
  -d DATATYPE, --datatype DATATYPE
                        data type or particle to shoot (default: e-)
  -f DATAFILE, --datafile DATAFILE
                        full path to HepMC input file (default: )
  -F DATAFILEEOS, --datafileeos DATAFILEEOS
                        EOS path to HepMC input file (default: )
  -n NEVTS, --nevts NEVTS
                        number of events to generate (default: 1000)
  -o OUT, --out OUT     output directory (default: $PWD)
  -e EOS, --eosOut EOS  eos path to save root file to EOS (default: )
  -g, --gun             use particle gun. (default: False)
  --enList ENLIST [ENLIST ...]
                        E_T list to use with gun (default: [5, 10, 20, 30, 40,
                        60, 80, 100, 150, 200])
  -S, --no-submit       Do not submit batch job. (default: False)

Use piProd.sh script for submit multiple production job submission.

pfcal's People

Contributors

amagnan avatar pfs avatar bfonta avatar pdudero avatar hatakeyamak avatar bryancaraway avatar previsualconsent avatar bmjoshi avatar

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.