This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cmsweb-dev": { | |
| "delegate-dn": [ | |
| "/DC=ch/DC=cern/OU=computers/CN=jibbers-crabst.cern.ch|/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=matze/CN=695852/CN=Matthias Wolf|/DC=ch/DC=cern/OU=computers/CN=vocms(3[136]|21|045|052|021|03[01]).cern.ch" | |
| ], | |
| "transformation": { | |
| "Analysis": "http://common-analysis-framework.cern.ch/CMSRunAnaly.sh", | |
| "PrivateMC": "http://common-analysis-framework.cern.ch/CMSRunMCProd.sh" | |
| }, | |
| "backend-urls" : { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # with help of the following unix-chainsaw command line: | |
| # crab help|sed -n '/^Valid/,/^To/p'|awk '/^ / {print $1}'|while read cmd; do echo $cmd\); echo "'$(crab $cmd -h|sed -ne '/^ *-/ s/.*\(--\w*\).*/\1/p')'"; done | |
| _UseCrab () | |
| { | |
| local cur | |
| COMPREPLY=() | |
| # echo ${COMP_WORDS[1]} | |
| cur=${COMP_WORDS[COMP_CWORD]} | |
| sub=${COMP_WORDS[1]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dir=$(mktemp -d) | |
| cd $dir | |
| export HTTP_PROXY="http://eddie.crc.nd.edu:3128" | |
| parrot_run bash<<EOF | |
| source /cvmfs/cms.cern.ch/cmsset_default.sh | |
| export SCRAM_ARCH=slc6_amd64_gcc491 | |
| scramv1 project CMSSW CMSSW_7_3_5 | |
| cd CMSSW_7_3_5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # using: | |
| # Revision: 1.19 | |
| # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v | |
| # with command line options: MinBias_8TeV_cfi --conditions auto:startup -s GEN,SIM --datatier GEN-SIM -n 10 | |
| # --relval 9000,300 --eventcontent RAWSIM --io MinBias.io --python MinBias.py --no_exec --fileout minbias.root | |
| import FWCore.ParameterSet.Config as cms | |
| process = cms.Process('SIM') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import FWCore.ParameterSet.Config as cms | |
| process = cms.Process("HFCALIB") | |
| ## Import of standard configurations | |
| process.load('FWCore/MessageService/MessageLogger_cfi') | |
| process.MessageLogger.cerr.FwkReport.reportEvery = 100 | |
| process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff") | |
| process.GlobalTag.globaltag = 'PRE_SHI72_V7' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| mkdir -p mc_gen3 | |
| cd mc_gen3 | |
| source /cvmfs/cms.cern.ch/cmsset_default.sh | |
| curl -k https://cms-pdmv.cern.ch/mcm/public/restapi/requests/get_setup/HIG-RunIIWinter15wmLHE-00196 > setup01_lhe.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import FWCore.ParameterSet.Config as cms | |
| process = cms.Process("HFCALIB") | |
| ## Import of standard configurations | |
| process.load('FWCore/MessageService/MessageLogger_cfi') | |
| process.MessageLogger.cerr.FwkReport.reportEvery = 100 | |
| process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff") | |
| from Configuration.AlCa.autoCond import autoCond |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Recipe from the RECO/DIGI part of HCAL: | |
| # https://twiki.cern.ch/twiki/bin/view/CMS/HcalPhase1SoftwareSimulationRecipe | |
| # has a useful script for MC generation | |
| cmsrel CMSSW_8_1_0_pre8 | |
| cd CMSSW_8_1_0_pre8/src | |
| cmsenv | |
| git cms-init | |
| git cms-merge-topic matz-e:hcal-tp-2017-v3 | |
| scram b -j 12 | |
| # Download SinglePi_Phase1.sh from the twiki above and copy it into local directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/python3 | |
| import re | |
| import requests | |
| import shlex | |
| import subprocess | |
| # login to beeminder and visit https://www.beeminder.com/api/v1/auth_token.json | |
| auth_token = 'token' | |
| username = 'username' | |
| goal = 'thesis' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/python3 | |
| import re | |
| import requests | |
| import shlex | |
| import subprocess | |
| # login to beeminder and visit https://www.beeminder.com/api/v1/auth_token.json | |
| auth_token = 'token' | |
| username = 'username' | |
| goal = 'thesis' |
OlderNewer