Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 "L1TElectronMatchProducer.h" | |
| #include <DataFormats/Common/interface/ValueMap.h> | |
| #include <DataFormats/Math/interface/deltaR.h> | |
| #include <FWCore/Framework/interface/MakerMacros.h> | |
| #include <limits> | |
| #include <vector> | |
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/bin/env python | |
| """Compares ROOT files with information on tt reconstruction.""" | |
| import argparse | |
| from collections import defaultdict | |
| from functools import total_ordering | |
| import os | |
| from uuid import uuid4 |
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/bin/env python | |
| """Adds per-bunch crossing luminosity to data tuples. | |
| The luminosity is written per lumi section per bunch crossing. It is | |
| read from a dedicated ROOT file. Output is put in an independent ROOT | |
| file, which can be added as a friend to the original tuple. | |
| In order to limit the memory footprint, luminosity information is read | |
| for one run at a time. This approach relies on the input data being |
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
| # This configuration fragment is based on [1], and Pythia tune settings | |
| # are updated. | |
| # [1] Configuration/Generator/python/Hadronizer_TuneCUETP8M1_13TeV_generic_LHE_pythia8_cff.py | |
| import FWCore.ParameterSet.Config as cms | |
| from Configuration.Generator.Pythia8CommonSettings_cfi import * | |
| generator = cms.EDFilter('Pythia8HadronizerFilter', | |
| maxEventsToPrint = cms.untracked.int32(1), | |
| pythiaPylistVerbosity = cms.untracked.int32(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
| #!/usr/bin/env python | |
| """Plots a data/MC plot to visualize colour coding of simulation. | |
| Most of templates are taken from simulation. | |
| """ | |
| import math | |
| import ROOT |
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/bin/env python | |
| """Prints TriggerResults in the given event. | |
| Example call: | |
| ./printTriggerResults.py root://cmsxrootd.fnal.gov//store/data/Run2015D/SingleMuon/MINIAOD/16Dec2015-v1/10000/00006301-CAA8-E511-AD39-549F35AD8BC9.root 259861:162358311 | |
| """ | |
| import argparse | |
| import re |
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/bin/env python | |
| """ | |
| This script compares two lists of event IDs and prints the differences. | |
| For each input file independently user can provide an optional scheme | |
| that describes how to read an event ID from a line of the file. The | |
| line can contain several integer numbers separated by any non-numeric | |
| symbols. The scheme is composed of indices of run, luminosity section, | |
| and event numbers, in the specified order. Indices start from zero and |
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/bin/env python | |
| """The script creates a RooFit workspace for a real model.""" | |
| import ROOT | |
| import sys | |
| from optparse import OptionParser |
NewerOlder