Rivet + Different MC Generators for Jet Studies
- Setup naf:
source setup_naf.sh
#!/bin/sh
module use -a /afs/desy.de/group/cms/modulefiles/
module load cmssw
ls -la /cvmfs/cms.cern.ch/
source /cvmfs/cms.cern.ch/cmsset_default.sh
2 Install Darwin
git clone https://gitlab.cern.ch/DasAnalysisSystem/Darwin.git
cd Darwin
source setup
make clean
make
(don't use make -j ...
. )
- Compile Darwin
cd Darwin/CMSSW_12_4_0/src
cmenv
scram b -j `nproc`
-
make
Ntupliser/src
directory and put RivetNtupliser.cc and BuildFile.xml there and python config file. -
Install Core:
source setup_DAS.sh
and build theRivet
#!/bin/bash
cmsrel CMSSW_10_6_30
cd CMSSW_10_6_30/src
cmsenv
git clone https://gitlab.cern.ch/gparaske/Core.git
git checkout Rivet
scram b -j `nproc`
- Clone this repo and put its DAS workflow on Darwin, recompile
git clone https://github.com/AliAlkadhim/NP-MC-JetTuning.git
cp -r DAS_RivetNtupliser/RivetNtupliser/* Core
Running cd Ntupliser && tree
displays all the different directories and files in each directory
tree
Starting a blank EDAnalyzer (with mkedanlzr DemoAnalyzer
) gives the following template
With the Buildfile in plugins being
DAS kind of follows this, but with internally defined plugins, with Core having these subpackages
For example, the JEC subpackage:
Running on a rivet docker
TODO: File better directory management.
- export
DOCKER
as the path to the docker work dir, andREPO
as the shared directory inside docker, where my repo is mounted - Go to
DOCKER
to install all the stuff, andREPO
where you run stuff
- Run the image interactively
docker run --rm -v /home/ali/Desktop/Pulled_Github_Repositories/NP-MC-JetTuning:/work/shared --privileged -it hepstore/prof2-tutorial
- Get HEPMC3
source install_hepmc3.sh
- Get the pythia example files, compile main42 and test it
mkdir pythia && cd pythia && wget https://pythia.org/download/pythia83/pythia8309.tar
&& tar -xf pythia8309.tar
-
Compile
main42.cc
for your system -
Make rivet analysis and compile (with root flag
-r
)
rivet-build -r RivetRIVET_NTUPLIZER.so RIVET_NTUPLIZER.cc
rivet --pwd -a RIVET_NTUPLIZER ../pythia/pythia8309/examples/42_test.hepmc