Giter Site home page Giter Site logo

pandaprod's Introduction

PandaProd

Package for production of PandA from CMSSW

Installation

    export CMSSW_RELEASE=CMSSW_9_3_0
    export TREE_BRANCH=master
    export PROD_BRANCH=master

    source /cvmfs/cms.cern.ch/cmsset_default.sh
    scram p CMSSW $CMSSW_RELEASE
    cd $CMSSW_RELEASE/src
    eval `scram runtime -sh`
    
    git clone -b $TREE_BRANCH https://github.com/LPCPandaPhysics/PandaTree.git
    git clone -b $PROD_BRANCH https://github.com/LPCPandaPhysics/PandaProd.git

    # populate POG's and physics's packages
    # Don't do the following if you want to use 93x, but it is necessary for 80x:
    #./PandaProd/Producer/cfg/setuprel.sh

    scram b -j12

Run

    cmsRun PandaProd/Producer/cfg/prod.py [options]

...Example, running on 10 events:

cmsRun PandaProd/Producer/cfg/prod.py config=Summer16 inputFiles=root://cmsxrootd.fnal.gov///store/mc/RunIISummer16MiniAODv2/TTbarDMJets_pseudoscalar_Mchi-1_Mphi-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/MINIAODSIM/PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/80000/74F12CB6-44B7-E611-A5FD-0CC47A13CFC0.root maxEvents=10

Crab Job Submission

...please change the line in submitCrab.py to point to your personal EOS area (Soon LPCPhysics EOS will exist for common storage)

     #setup
     cd PandaProd/Producer/cfg/
     source setupCrab.sh
     python submitCrab.py

Hints: User experience column

...For running on privately produced files in eos space (cmslpc), ensure the directory structure strictly adhere to the follow:

  root://cmseos.fnal.gov//store/<user or group>/<username or groupname>/<folder1>/<folder2>/<rootfiles>

... = First level folder is allowed as long as you don't get cheesy with the naming. ... = strictly imitate the name of the dataset ... = root files

...If not, you will end up debugging whole day with meaningless error message.

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.