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 Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("ReL1ANA", Run3) | |
## Standard sequence | |
process.load('Configuration.StandardSequences.Services_cff') | |
process.load('FWCore.MessageService.MessageLogger_cfi') | |
process.load('Configuration.EventContent.EventContent_cff') | |
process.load('Configuration.StandardSequences.GeometryRecoDB_cff') |
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
from __future__ import print_function | |
import FWCore.ParameterSet.Config as cms | |
from FWCore.ParameterSet.VarParsing import VarParsing | |
from Configuration.Eras.Era_Run3_cff import Run3 | |
options = VarParsing('analysis') | |
options.register ("pack", True, VarParsing.multiplicity.singleton, VarParsing.varType.bool) | |
options.register ("unpack", True, VarParsing.multiplicity.singleton, VarParsing.varType.bool) | |
options.register ("reconstruct", False, VarParsing.multiplicity.singleton, VarParsing.varType.bool) |
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
from WMCore.Configuration import Configuration | |
config = Configuration() | |
config.section_("General") | |
config.General.requestName = 'GEMCSCanalyzer0616v1' | |
config.General.workArea = 'crab_projects' | |
config.General.transferLogs=False | |
config.section_("JobType") | |
config.JobType.pluginName = 'Analysis' | |
config.JobType.psetName = 'runGEMCSCAnalyzer_cfg.py' |
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 Configuration.Eras.Era_Run3_cff import Run3 | |
process = cms.Process("ReL1ANA", Run3) | |
## Standard sequence | |
process.load('Configuration.StandardSequences.Services_cff') | |
process.load('FWCore.MessageService.MessageLogger_cfi') | |
process.load('Configuration.EventContent.EventContent_cff') | |
process.load('Configuration.StandardSequences.GeometryRecoDB_cff') |
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 sys | |
import os | |
import numpy as np | |
#from file_323524 import * | |
## helper for files on dCache/EOS (LPC) | |
def useInputDir(inputDir, onEOS = True): | |
theInputFiles = [] |
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 ROOT | |
#from helper import * | |
import numpy as np | |
#from localSamplelist import * | |
import os | |
treename = "Events" | |
Plotfolder = "HMEcomparison_MuMu_20210519/" |
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 ROOT | |
import os | |
from localSamplelist import * | |
from bbWWPlotterSystematics import * | |
import numpy as np | |
from math import sqrt | |
import sys | |
sys.argv.append( '-b' ) | |
sys.argv.append( '-q' ) |
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
#!/bin/zsh | |
function interfaceNames(){ | |
# Implicit (default) interface naming scheme | |
export __ETH0__=em1 | |
export __ETH1__=em2 | |
export __ETH2__=p1p1 | |
export __ETH3__=p1p2 | |
export __ETH4__=p2p1 | |
export __ETH5__=p2p2 |
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 ROOT | |
import argparse | |
import os | |
import numpy as np | |
from array import array | |
parser = argparse.ArgumentParser(description='Compute event category fraction on a given sample') | |
parser.add_argument('-i', '--inputfile',dest= "inputfile", type=str, metavar='STR', help='input file') | |
options = parser.parse_args() |
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
cmslab1:~/EMULIB_V14_Master/emu/drivers$ cat builddriver.log | |
make in igb_emu/eth_hook_2_daq... | |
make[1]: Entering directory `/home/cscdev/EMULIB_V14_Master/emu/drivers/igb_emu/eth_hook_2_daq' | |
cd ddu && make | |
make[2]: Entering directory `/home/cscdev/EMULIB_V14_Master/emu/drivers/igb_emu/eth_hook_2_daq/ddu' | |
rm -f *.h *.c | |
ln -s ../../include/interfaceNames.h | |
ln -s ../SLC_version.h | |
ln -s ../schar.h | |
ln -s ../eth_hook_2_daq.h |
NewerOlder