This file contains 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
# Get the Monaco font for linux | |
wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf | |
# If wget is NOT installed, install it by | |
sudo apt-get install wget | |
# Install the font | |
sudo mkdir /usr/share/fonts/truetype | |
sudo cp Monaco_Linux.ttf /usr/share/fonts/truetype/ | |
cd /usr/share/fonts/truetype |
This file contains 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
# crab environment set-up | |
source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh | |
source /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh | |
# create the proxy | |
voms-proxy-init -voms cms -valid 192:00 | |
# check the proxy | |
voms-proxy-info -all |
This file contains 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
# HLT path names for 2011 data taking | |
[1] HLT_Dimuon6p5_LowMass_Displaced_v* | |
[2] HLT_Dimuon7_LowMass_Displaced_v* | |
[3] HLT_DoubleMu4_LowMass_Displaced_v* | |
[4] HLT_DoubleMu4p5_LowMass_Displaced_v* | |
[5] HLT_DoubleMu5_LowMass_Displaced_v* |
This file contains 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 | |
from btokstarmumu_cfi import process | |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(500) ) | |
#process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) | |
process.source = cms.Source("PoolSource", | |
fileNames = cms.untracked.vstring( | |
#'file:/afs/cern.ch/user/x/xshi/work/cms/afb/dat/aod/mc/BuToKstarMuMu_7TeV_PYTHIA6.root', | |
# 'file:/afs/cern.ch/user/x/xshi/work/cms/afb/dat/aod/mc/BuToKstarMuMu_7TeV_PYTHIA6_1_1_96m.root', |
This file contains 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
************* | |
run 2011 | |
************* | |
dataset = '/MuOnia/Run2011A-May10ReReco-v1/AOD' | |
dataset = '/MuOnia/Run2011A-PromptReco-v4/AOD' | |
dataset = '/MuOnia/Run2011A-PromptReco-v5/AOD' | |
dataset = '/MuOnia/Run2011A-PromptReco-v6/AOD' |
This file contains 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
##################################################### | |
# how to commit changes done in the existing files | |
##################################################### | |
git commit -a -m "xxxxxxxx" | |
git status | |
git push | |
=====>> Very Important <<===== | |
############################################################ | |
# how to create a branch and delete it locally and remotely |
This file contains 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
# create a directory in your /src area | |
mkdir -p Configuration/GenProduction/ | |
# clone the package containing 7TeV and 8TeV gen fragments | |
git clone [email protected]:cms-sw/genproductions.git Configuration/GenProduction/ | |
cd Configuration/GenProduction/python/ | |
# inside the python directory, there are sub-directories like SevenTeV and EightTeV where the gen fragments can be found. |
This file contains 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
# add the package to get the .DEC files | |
git cms-addpkg GeneratorInterface/ExternalDecays/data/ |
This file contains 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
################ | |
# Instructions # | |
################ | |
1. copy the gen fragment to Configuration/GenProduction/python/SevenTeV or EightTeV directory | |
2. if dec file is not present in repository, copy it to GeneratorInterface/ExternalDecays/data/ | |
3. do scramv1 b | |
# produce just GEN-MC | |
cmsDriver.py Configuration/GenProduction/python/SevenTeV/PYTHIA6_BuToKstarMuMu_EtaPtFilter_TuneZ2_7TeV_cff.py -s GEN --no_output --conditions START42_V14B::All --datatier GEN-SIM-RAW --eventcontent RAWSIM --customise=Configuration/GenProduction/customise_SilentMessageLogger.py -n 100000 --no_exec |
This file contains 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
mkdir $HOME/.globus | |
openssl pkcs12 -in YourCert.p12 -clcerts -nokeys -out $HOME/.globus/usercert.pem | |
openssl pkcs12 -in YourCert.p12 -nocerts -out $HOME/.globus/userkey.pem | |
chmod 400 $HOME/.globus/userkey.pem | |
chmod 600 $HOME/.globus/usercert.pem | |
chmod go-rx $HOME/.globus | |
fs setacl -dir $HOME/.globus -acl system:anyuser l |
OlderNewer