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
#include <iostream> | |
#include <vector> | |
#include <unistd.h> | |
#include "highfive/H5File.hpp" | |
static | |
std::shared_ptr<std::vector<std::string>> | |
read() | |
{ |
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
spack: | |
view: false | |
concretization: separately | |
packages: | |
all: | |
compiler: [[email protected]] | |
target: [] | |
version: [] | |
buildable: true | |
providers: {} |
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
from __future__ import print_function | |
from ofxparse import OfxParser | |
import os | |
import re | |
import sys | |
if len(sys.argv) != 1: | |
print ('This utility does not take command-line arguments') | |
exit() |
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
Process: kitty [75725] | |
Path: /Applications/kitty.app/Contents/MacOS/kitty | |
Identifier: net.kovidgoyal.kitty | |
Version: 0.10.0 (0.10.0) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: kitty [75725] | |
User ID: 501 | |
Date/Time: 2018-05-31 07:19:58.849 +0200 |
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' |
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
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
#!/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") | |
process.GlobalTag.globaltag = 'PRE_SHI72_V7' |
NewerOlder