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
[user] | |
name = Artur Lobanov | |
email = [email protected] | |
github = artlbv | |
[core] | |
autocrlf = input | |
safecrlf = true | |
editor = emacs | |
[color] |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.d |
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
std::string zshist = "HO_ZS"; | |
zshist += std::to_string(ZSthr); | |
float TSsum = 0; | |
// search within first 3 2TS pairs | |
for (int sample=0; sample < it->size()-1; ++sample) { | |
// for (int sample=0; sample < 6; ++sample) { | |
TSsum = it->sample(sample).nominal_fC(); |
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
def countISR(jets, genParts): | |
nISR = 0 | |
for jet in jets: | |
matched = False | |
for genPart in genParts: #use GenPart | |
if matched: break |
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/bash | |
#!----------------------------------- | |
#! Replace "oldtext" with "newtext" | |
#! inside all pdf files in the 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
# Backgrounds | |
/RelValQCD_Pt-15To7000_Flat_14TeV/CMSSW_9_3_0-93X_upgrade2023_realistic_v2_2023D17noPU-v1/GEN-SIM-RECO | |
## Electrons | |
# SM |
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
[320.7, 321.5, 322.7, 323.4, 324.7, 325.4, 326.6, 327.4, 328.6, 329.4, 330.7, 331.6, 332.9, 333.7, 335.0, 335.9, 337.2, 338.1, 339.4, 340.3, 341.7, 342.8, 344.2, 345.3, 346.8, 347.8, 349.3] | |
1 320.7 | |
2 321.5 | |
3 322.7 | |
4 323.4 | |
5 324.7 | |
6 325.4 | |
7 326.6 | |
8 327.4 |
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
# method to read L1 bits | |
# only unprescaled ones are considered for the total L1 decision | |
def read_L1_bits_alias(fnames, prescale_file_name = None, use_prescale_file=True, L1bitTree = "l1uGTTree/L1uGTTree"): | |
L1bittrees = [] | |
for filepath in fnames: | |
file = uproot.open(filepath) | |
L1bittrees.append( file[L1bitTree] ) | |
# we need to make sure to apply prescales properly! |
OlderNewer