Giter Club home page Giter Club logo

rdst's Introduction

RDst

instructions to produce the "inclusive" D* mu MC

cmsrel CMSSW_10_6_24
cd CMSSW_10_6_24/src
cmsenv
git-cms-addpkg GeneratorInterface/GenFilters
git remote add riccardo [email protected]:rmanzoni/cmssw.git
git fetch riccardo
git cherry-pick fca90cefe98
scram b

# download the fragments
curl -s --insecure https://raw.githubusercontent.com/rmanzoni/RDst/main/RDst-InclusiveHbToDstMu-fragment.py --create-dirs -o Configuration/GenProduction/python/RDst-InclusiveHbToDstMu-fragment.py
curl -s --insecure https://raw.githubusercontent.com/rmanzoni/RDst/main/RDst-InclusiveHbToDstMu-no-acceptance-fragment.py --create-dirs -o Configuration/GenProduction/python/RDst-InclusiveHbToDstMu-no-acceptance-fragment.py

# mutatis mutandis for the other fragment
cmsDriver.py Configuration/GenProduction/python/RDst-InclusiveHbToDstMu-no-acceptance-fragment.py \
--fileout file:RDst-InclusiveHbToDstMu-no-acceptance.root                                         \
--mc                                                                                              \
--eventcontent RAWSIM                                                                             \
--datatier GEN                                                                                    \
--conditions 106X_upgrade2018_realistic_v11_L1v1                                                  \
--beamspot Realistic25ns13TeVEarly2018Collision                                                   \
--step GEN                                                                                        \
--geometry DB:Extended                                                                            \
--era Run2_2018                                                                                   \
--python_filename RDst-InclusiveHbToDstMu-no-acceptance_cfg.py                                    \
--no_exec                                                                                         \
--customise Configuration/DataProcessing/Utils.addMonitoring -n -1

# produce the sample
cmsRun RDst-InclusiveHbToDstMu-no-acceptance_cfg.py

inspect the sample and save the list of decay that produce a D* and a muon from the same b-hadron

It also merges together charge-conjugate processes, processes that differ only by FSR and processes that differ by B oscillations

ipython -i inspector.py

plot the results

ipython -i plot_decays.py

extra, untested, multithreading at GEN

https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookGenMultithread

rdst's People

Contributors

rmanzoni 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.