Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CommonClassifier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marino Missiroli
CommonClassifier
Commits
8432802c
Commit
8432802c
authored
5 years ago
by
Marino Missiroli
Browse files
Options
Downloads
Patches
Plain Diff
updated crab/cc_looper.py and MEM TF inputs
parent
185fbfdc
No related branches found
No related tags found
No related merge requests found
Pipeline
#1226634
failed
5 years ago
Stage: compile
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
crab/cc_looper.py
+39
-31
39 additions, 31 deletions
crab/cc_looper.py
src/MEMClassifier.cc
+2
-2
2 additions, 2 deletions
src/MEMClassifier.cc
with
41 additions
and
33 deletions
crab/cc_looper.py
+
39
−
31
View file @
8432802c
...
@@ -59,35 +59,44 @@ def vec_from_list(vec_type, src):
...
@@ -59,35 +59,44 @@ def vec_from_list(vec_type, src):
return
v
return
v
jet_corrections
=
[
jet_corrections
=
[
"
AbsoluteStat
"
,
# 'AbsoluteStat',
"
AbsoluteScale
"
,
# 'AbsoluteScale',
# "AbsoluteFlavMap",
## 'AbsoluteFlavMap',
"
AbsoluteMPFBias
"
,
# 'AbsoluteMPFBias',
"
Fragmentation
"
,
# 'Fragmentation',
"
SinglePionECAL
"
,
# 'SinglePionECAL',
"
SinglePionHCAL
"
,
# 'SinglePionHCAL',
"
FlavorQCD
"
,
'
FlavorQCD
'
,
"
TimePtEta
"
,
# 'TimePtEta',
"
RelativeJEREC1
"
,
# 'RelativeJEREC1',
# "RelativeJEREC2",
## 'RelativeJEREC2',
# "RelativeJERHF",
## 'RelativeJERHF',
"
RelativePtBB
"
,
# 'RelativePtBB',
"
RelativePtEC1
"
,
# 'RelativePtEC1',
# "RelativePtEC2",
## 'RelativePtEC2',
# "RelativePtHF",
## 'RelativePtHF',
"
RelativeBal
"
,
'
RelativeBal
'
,
"
RelativeSample
"
,
'
RelativeSample
'
,
"
RelativeFSR
"
,
# 'RelativeFSR',
"
RelativeStatFSR
"
,
# 'RelativeStatFSR',
"
RelativeStatEC
"
,
# 'RelativeStatEC',
# "RelativeStatHF",
## 'RelativeStatHF',
"
PileUpDataMC
"
,
# 'PileUpDataMC',
"
PileUpPtRef
"
,
# 'PileUpPtRef',
"
PileUpPtBB
"
,
# 'PileUpPtBB',
"
PileUpPtEC1
"
,
# 'PileUpPtEC1',
# "PileUpPtEC2",
## 'PileUpPtEC2',
# "PileUpPtHF",
## 'PileUpPtHF',
"
JER
"
'
Absolute
'
,
'
AbsoluteYear
'
,
'
BBEC1
'
,
'
BBEC1Year
'
,
# 'EC2Year',
# 'HF',
'
HEM1516
'
,
'
JER
'
,
]
]
#Jet selection criteria
#Jet selection criteria
...
@@ -102,12 +111,11 @@ class Jets:
...
@@ -102,12 +111,11 @@ class Jets:
"
eta_sl
"
:
2.4
,
"
eta_sl
"
:
2.4
,
# pt, |eta| thresholds for **trailing jets** specific to dl channel
# pt, |eta| thresholds for **trailing jets** specific to dl channel
"
pt_dl
"
:
2
0
,
"
pt_dl
"
:
3
0
,
"
eta_dl
"
:
2.4
,
"
eta_dl
"
:
2.4
,
}
}
def
main
(
infile_name
,
firstEvent
,
lastEvent
,
outfile_name
,
conf
,
era
=
"
2018
"
):
def
main
(
infile_name
,
firstEvent
,
lastEvent
,
outfile_name
,
conf
,
era
=
"
2018
"
):
"""
"""
Processes an input file with the CommonClassifier, saving the output in a file.
Processes an input file with the CommonClassifier, saving the output in a file.
...
...
This diff is collapsed.
Click to expand it.
src/MEMClassifier.cc
+
2
−
2
View file @
8432802c
...
@@ -548,8 +548,8 @@ MEMClassifier::MEMClassifier(int verbosity, const char* _btag_prefix, const char
...
@@ -548,8 +548,8 @@ MEMClassifier::MEMClassifier(int verbosity, const char* _btag_prefix, const char
const
string
cmssw_path
(
std
::
getenv
(
"CMSSW_BASE"
));
const
string
cmssw_path
(
std
::
getenv
(
"CMSSW_BASE"
));
//!!
const string transfers_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/transfer_"+era+"_deepFlavour.root").c_str();
const
string
transfers_path
=
(
"file://"
+
cmssw_path
+
"/src/TTH/CommonClassifier/data/transfer_"
+
era
+
"_deepFlavour.root"
).
c_str
();
const
string
transfers_path
=
(
"file://"
+
cmssw_path
+
"/src/TTH/CommonClassifier/data/transfer_JECV32.root"
).
c_str
();
//!!
const string transfers_path = ("file://"+cmssw_path+"/src/TTH/CommonClassifier/data/transfer_JECV32.root").c_str();
cout
<<
"MEMClassifier: Loaded "
<<
transfers_path
<<
endl
;
cout
<<
"MEMClassifier: Loaded "
<<
transfers_path
<<
endl
;
const
string
btagfile_path
=
(
"file://"
+
cmssw_path
+
"/src/TTH/CommonClassifier/data/btag_pdfs_"
+
era
+
"_deepFlavour.root"
).
c_str
();
const
string
btagfile_path
=
(
"file://"
+
cmssw_path
+
"/src/TTH/CommonClassifier/data/btag_pdfs_"
+
era
+
"_deepFlavour.root"
).
c_str
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment