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
[cscdev@cmslab1 ~]$ sudo yum remove openslp.x86_64 | |
Loaded plugins: fastestmirror, langpacks | |
No Match for argument: openslp.x86_64 | |
No Packages marked for removal | |
sudo yum groupinstall extern_coretools coretools extern_powerpack powerpack general_worksuite hardware_worksuite database_worksuite | |
Loaded plugins: fastestmirror, langpacks |
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
////////////////////////////////////////////////////////////////////// | |
// // | |
// Analyzer for making mini-ntuple for L1 track performance plots // | |
// // | |
////////////////////////////////////////////////////////////////////// | |
//////////////////// | |
// FRAMEWORK HEADERS | |
#include "FWCore/PluginManager/interface/ModuleDef.h" | |
#include "FWCore/Framework/interface/MakerMacros.h" |
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 | |
## configuration to build fast L1 ME0 trigger stubs | |
## pseudo pads are created from pseudo digis with 192 strips instead of 384 | |
## the rechits are a necessary intermediate step before the pseudo pads are used | |
## as input to build pseudo stubs | |
from SimMuon.GEMDigitizer.muonME0PseudoReDigis_cfi import * | |
from RecoLocalMuon.GEMRecHit.me0RecHits_cfi import * | |
from RecoLocalMuon.GEMSegment.me0Segments_cfi import * |
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
## this file contains functions that check if a L1Mu is isolated | |
from Helpers import * | |
from hybridAlgorithmPtAssignment import * | |
import random | |
##_________________________________________________ | |
def deltaPhi(phi1, phi2): | |
M_PI = 3.14159265358979323846264338328 | |
dphi = phi1-phi2 |
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
# Auto generated configuration file | |
# using: | |
# Revision: 1.19 | |
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v | |
# with command line options: step2 --conditions auto:phase2_realistic -n 10 --era Phase2C2_timing --eventcontent FEVTDEBUGHLT -s DIGI:pdigi_valid,L1 --datatier GEN-SIM-DIGI --pileup AVE_200_BX_25ns --geometry Extended2023D4 --python DigiFullPU_2023tiltedPU200.py --no_exec --filein file:step1.root --fileout file:step2.root | |
import FWCore.ParameterSet.Config as cms | |
from Configuration.StandardSequences.Eras import eras | |
process = cms.Process('L1',eras.Phase2C2_timing) |
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
# Auto generated configuration file | |
# using: | |
# Revision: 1.19 | |
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v | |
# with command line options: step3 --runUnscheduled --conditions auto:phase2_realistic --era Phase2 -s RAW2DIGI,RECO --datatier GEN-SIM-DIGI-RAW-RECO -n 10 --eventcontent FEVTDEBUGHLT --beamspot HLLHC14TeV --geometry Extended2023D17 --filein file:step2.root --fileout file:step3.root | |
import FWCore.ParameterSet.Config as cms | |
from Configuration.StandardSequences.Eras import eras | |
process = cms.Process('RECO',eras.Phase2) |
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 | |
# Default parameters for CSCTriggerPrimitives analyzer | |
# ===================================================== | |
lctreader = cms.EDAnalyzer("CSCTriggerPrimitivesReader", | |
# Parameters common for all boards | |
commonParam = cms.PSet( | |
isTMB07 = cms.bool(True), | |
isMTCC = cms.bool(False), | |
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
# Configuration file to unpack CSC digis, run Trigger Primitives emulator, | |
# and compare LCTs in the data with LCTs found by the emulator. | |
# Slava Valuev; October, 2006. | |
import FWCore.ParameterSet.Config as cms | |
from Configuration.StandardSequences.Eras import eras | |
process = cms.Process("CSCTPEmulator", eras.Run2_2018) | |
process.maxEvents = cms.untracked.PSet( |
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 random | |
import os | |
import sys | |
import numpy as np | |
import array | |
import math | |
ROOT.gROOT.SetBatch(0) | |
ROOT.gStyle.SetStatW(0.07) |