Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianhi/montecarlo
https://github.com/ianhi/montecarlo
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ianhi/montecarlo
- Owner: ianhi
- Created: 2015-06-02T18:29:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-15T05:03:30.000Z (over 9 years ago)
- Last Synced: 2024-11-05T08:03:05.461Z (about 2 months ago)
- Language: FORTRAN
- Size: 26.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
===================================README======================================
#Monte Carlo Generators and Plotting MacrosHow to set up:
cd CMSSW_5_3_20/src/
git clone [email protected]:ianhi/MonteCarlo.git //FOR HTTPS use: https://github.com/ianhi/MonteCarlo.git
cd MonteCarlo/
scram b -j(# of cores) // compileHow to use:
1. Call cmsenv in src/
2. Navigate to one of:
GeneratorInterface/JewelInterface/test/
GeneratorInterface/YajemInterface/test/
GeneratorInterface/QPythiaInterface/test/
3. Call cmsrRun test.py on the file corresponding to the model you wish use.4. Use the Macros in MonteCarlo/Macros/ to analyze the root file output from step 3.
How to Modify Model Parameters
There are two places in which parameters are set: The .py file you are using and DijetNtupleProducer.cc
1. Modify parameters in .py
open the .py file and change the parameters as you wish. This is where you can change the number of events
2. Modify parameters in DijetNtupleProducer.cc
File contained in MonteCarlo/JetNtupleProducer/src/
Change parameters and save
Call scram b to recompileDescription of different parameters:
How this was built:
1. Created MonteCarlo/ directory under CMSSW_5_3_20/src/
2. Created a GeneratorInterface directory under MonteCarlo
3. Moved the YajemInterface, JewelInterface, QPythiaInterface directories in the cmssw folder from https://github.com/yenjie/HIGenerator.git to the GeneratorInterface/.
4. Moved the JetNtupleProducer/ from cmssw folder to MonteCarlo/.
5. cmsenv;scram b -j20The above steps create the necessary GeneratorInterface folder and ensure that BuildFile.xml is two levels inside src/ so that it can be compiled.
==================================================================================