Skip to content

Instantly share code, notes, and snippets.

View mattleblanc's full-sized avatar
🎉
"if you ain't boostin', you ain't livin'"

Matt LeBlanc mattleblanc

🎉
"if you ain't boostin', you ain't livin'"
View GitHub Profile
@mattleblanc
mattleblanc / disabledTile.info
Last active August 2, 2018 08:46
Contents of AODs with disabled tile modules
http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDocDirectory/CaloClusterCellLink_p1/html/
CaloClusterCellLinkContainer_p1
| CaloClusterCellLinkContainer_p1* egammaClusters_links
| CaloClusterCellLinkContainer_p1* InDetTrackParticlesAssociatedClusters_links
| CaloClusterCellLinkContainer_p1* MuonClusterCollection_links
--------------------
http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDocDirectory/CaloCompactCell/html/
CaloCompactCellContainer
| CaloCompactCellContainer* AODCellContainer
http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDocDirectory/PileUpEventInfo_p5/html/
PileUpEventInfo_p5
| PileUpEventInfo_p5* McEventInfo
--------------------
http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDocDirectory/xAODBTagging/html/
xAOD::BTaggingContainer
| xAOD::BTaggingContainer* BTagging_AntiKt4EMTopo
| | &->getAttribute<vector<ElementLink<DataVector<xAOD::TrackParticle> > >>("BTagTrackToJetAssociator")
| | &->getAttribute<vector<ElementLink<DataVector<xAOD::TrackParticle> > >>("BTagTrackToJetAssociatorBB")
#!/usr/bin/python
'''
Romain Madar's significance formula
see s7 here for more details:
https://indico.cern.ch/event/696609/contributions/2943410/attachments/1625903/2589232/Btagging.pdf
'''
import math
from optparse import OptionParser
@mattleblanc
mattleblanc / info.dump
Last active July 30, 2018 09:41
R21 E/p DAOD contents
http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDocDirectory/PileUpEventInfo_p5/html/
PileUpEventInfo_p5
| PileUpEventInfo_p5* McEventInfo
--------------------
http://atlas-computing.web.cern.ch/atlas-computing/links/nightlyDocDirectory/xAODEventInfo/html/
xAOD::EventInfo
| xAOD::EventInfo* EventInfo
| | Float_t &->actualInteractionsPerCrossing()
| | Float_t &->averageInteractionsPerCrossing()
usage: xAH_run.py --files ... file [file ...]
--config path/to/file.json
[options]
driver [driver options]
Spin up an analysis instantly!
optional:
-h [subsection], --help [subsection]
show this help message and exit. You can also
# Configuration file for fat jets
# Author: Steven Schramm, Nov 29, 2017
#
# Calibration factors derived on MC16 dijets by Johannes Balz and P-A Delsart
# This is the JMS for the calorimeter jet mass
#####################
# ----------------
# 0. Switch off detector eta setting for R21
SetDetectorEta: false
from xAH_config import xAH_config
c = xAH_config()
PRW_files = ["mc15c_v2_defaults.NotRecommended.prw.root"]
LumiCalc_files = ["SUSY_data16_13TeV_20161101_physics_25ns_20.7.lumicalc.OflLumi-13TeV-005.root","SUSY_data15_13TeV_20160720_physics_25ns_20.7.lumicalc.OflLumi-13TeV-005.root"]
path_ext = "$ROOTCOREBIN/../rcRes/data/"
for idx,file in enumerate(PRW_files):
PRW_files[idx] = ''.join((path_ext,file))
for idx,file in enumerate(LumiCalc_files):
AntiKt10Truth
AntiKt10LCTopo
AntiKt10OrigLCTopo
AntiKt10EMPFlow
AntiKt10CSTopo
AntiKt10SKTopo
AntiKt10CSSKTopo
AntiKt10VorTopo
AntiKt10VorSuppTopo
AntiKt10VorSuppSKTopo
mc15_13TeV:mc15_13TeV.361029.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ9W.merge.DAOD_JETM6.e3569_s2576_s2132_r7772_r7676_p2949
mc15_13TeV:mc15_13TeV.361024.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ4W.merge.DAOD_JETM6.e3668_s2576_s2132_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.426046.HerwigppEvtGen_UEEE5_CTEQ6L1_jetjet_JZ6W.merge.DAOD_JETM6.e4410_s2608_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.361026.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ6W.merge.DAOD_JETM6.e3569_s2608_s2183_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.426041.HerwigppEvtGen_UEEE5_CTEQ6L1_jetjet_JZ1W.merge.DAOD_JETM6.e4410_s2608_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.361023.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ3W.merge.DAOD_JETM6.e3668_s2576_s2132_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.426047.HerwigppEvtGen_UEEE5_CTEQ6L1_jetjet_JZ7W.merge.DAOD_JETM6.e4410_s2608_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.361020.Pythia8EvtGen_A14NNPDF23LO_jetjet_JZ0W.merge.DAOD_JETM6.e3569_s2576_s2132_r7725_r7676_p2949
mc15_13TeV:mc15_13TeV.426042.HerwigppEvtGen_UEEE5_CTEQ6L1_jetjet_JZ2
========================================
412696:15:39.411-Start Program
========================================
Using 1 cores
Could not find the weights for did=373448
Could not find the weights for did=373445
Could not find the weights for did=373444
Could not find the weights for did=373447
Could not find the weights for did=373446