Giter VIP home page Giter VIP logo

cattools's Introduction

CATTools

for cms analysis

Links

# See https://www.cms-kr.org/twiki/bin/view/Computing/CATTools/DataSets/WebHome for installation
cd $CMSSW_BASE/src/CATTools/CatProducer/prod

cmsRun PAT2CAT_cfg.py

# or

cmsRun PAT2CAT_cfg.py useMiniAOD=True inputFiles=/store/mc/Phys14DR/DYJetsToLL_M-50_13TeV-madgraph-pythia8/MINIAODSIM/PU20bx25_PHYS14_25_V1-v1/00000/0432E62A-7A6C-E411-87BB-002590DB92A8.root

# or

cmsRun PAT2CAT_cfg.py useMiniAOD=False inputFiles=/store/mc/Phys14DR/DYJetsToLL_M-50_13TeV-madgraph-pythia8/AODSIM/PU20bx25_PHYS14_25_V1-v1/00000/00CC714A-F86B-E411-B99A-0025904B5FB8.root globalTag='PHYS14_25_V2::All'

Submit CRAB jobs using CATTools

1. This is based on crab3

  • no need to change configurations since jobs are stored all in remote servers
  • make sure crab3 is setup first
source /cvmfs/cms.cern.ch/crab3/crab.sh

2. Using submitCrab3.py

  • This script can be used to pass CRAB configuration parameters from the command line depending on the Dataset lists are located on MC/ or RD/ directories for data type.

2-1. Usage

submitCrab3.py -n <requestName> -i <inputFile> -s

To submit jobs add in '-s', without -s, just the job submission command is displayed

2-2. Example

  • If we want to submit cattuple ttbar and diboson datasets.
cd $SRT_CMSSW_BASE_SCRAMRTDEL/src/CATTools/CatProducer/prod/crab
submitCrab3.py -i MC/ttbar_dilepton.txt -n catTooltest -s

2-3.Submitting jobs

  • because the jobs only saved in local storage (where the job was done) we need to get the output manually.
  • this has the benefit of crab jobs not failing due to transfer errors
  • to get the output use "crab out -t " or the script below
python getcrabOut.py

cattools's People

Contributors

jhgoh avatar jshlee avatar geonmo avatar youngkwonjo avatar tt8888tt avatar monttj avatar brochero avatar jalmond avatar pseudotop avatar sangmlee avatar hcwhwang avatar jedori0228 avatar dsong92 avatar hyunyong avatar quark2 avatar kuyoun avatar suyong-choi avatar helee avatar gbyu avatar seulgi324 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.