Skip to content

LPC-DM/PandaProd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Package for production of PandA from CMSSW

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 63.9%
  • Python 35.6%
  • Shell 0.5%