Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS"),
label = cms.untracked.string("HFtowers")
),
cms.PSet(record = cms.string('HeavyIonRPRcd'),
tag = cms.string('HeavyIonRPRcd_PbPb2018_offline'),
connect = cms.string('sqlite_file:HeavyIonRPRcd_PbPb2018_offline.db'),
),
])

from HeavyIonsAnalysis.Configuration.CommonFunctions_cff import overrideJEC_PbPb5020
Expand All @@ -66,6 +70,14 @@
process.centralityBin.Centrality = cms.InputTag("hiCentrality")
process.centralityBin.centralityVariable = cms.string("HFtowers")

process.load('RecoHI.HiEvtPlaneAlgos.HiEvtPlane_cfi')
process.hiEvtPlane.trackTag = 'generalTracks'
process.hiEvtPlane.vertexTag = 'offlinePrimaryVertices'
process.hiEvtPlane.loadDB = True
process.hiEvtPlane.caloCentRef = -1
process.hiEvtPlane.caloCentRefWidth = -1
process.hiEvtPlane.useNtrk = cms.untracked.bool(False)

###############################################################################
# Define tree output
###############################################################################
Expand Down Expand Up @@ -180,6 +192,7 @@
process.hltanalysis +
process.hltobject +
process.centralityBin +
process.hiEvtPlane +
process.hiEvtAnalyzer +
process.jetSequence +
process.ggHiNtuplizer +
Expand Down
9 changes: 9 additions & 0 deletions HeavyIonsAnalysis/JetAnalysis/test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ samples=(
[ $keepsample ] && echo -e "\n samples will be kept:\n\E[34m$sampledir\E[0m"
}

# event-plane calibration
calibrations=(
$CMSSW_BASE/src/HeavyIonsAnalysis/EventAnalysis/data/HeavyIonRPRcd_PbPb2018_offline.db
)

for c in ${calibrations[@]}; do
cp $c $area/
done

# setup foresting configs
configs=(
runForestAOD_HI_MB_103X.py
Expand Down