Difference: NadirDaciDijetTrigger2018 (1 vs. 7)

Revision 72018-02-22 - NadirDaci

Line: 1 to 1
 
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

Line: 29 to 29
  # HLT Ntuples (modified to include branches with the kinematics of the 2 leading jets) git cms-addpkg HLTrigger/HLTanalyzers
Changed:
<
<
git clone https://github.com/cms-steam/HLTrigger temp -b b_objects_tests mv temp/* HLTrigger mv temp/.git HLTrigger rm -rf temp
>
>
#git clone https://github.com/cms-steam/HLTrigger temp -b b_objects_tests #mv temp/* HLTrigger #mv temp/.git HLTrigger #rm -rf temp
  scram b -j 4
Line: 105 to 105
  </>
<!--/twistyPlugin-->
Changed:
<
<
Then apply L1 PS customization from: https://twiki.cern.ch/twiki/bin/view/CMS/HLTNtupleProduction2017?rev=54#L1_prescales
>
>
Then add the following lines at the end of the config file:
 
Changed:
<
<
Also add
>
>
<!--/twistyPlugin twikiMakeVisibleInline-->
# Remove DQM output
if 'DQMOutput' in process.__dict__:
    process.DQMOutput.remove(process.dqmOutput)

# L1 Prescales set from hackConditions module
process.load('L1Trigger.L1TGlobal.hackConditions_cff')
process.L1TGlobalPrescalesVetos.PrescaleXMLFile = cms.string('prescale-slim.xml') 
process.L1TGlobalPrescalesVetos.FinOrMaskXMLFile = cms.string('mask-slim.xml')
process.simGtStage2Digis.AlgorithmTriggersUnmasked = cms.bool(False)
process.simGtStage2Digis.AlgorithmTriggersUnprescaled = cms.bool(False)
process.simGtStage2Digis.PrescaleSet = cms.uint32(1)

# Ntuples
process.load("HLTrigger.HLTanalyzers.HLTBitAnalyser_cfi")
process.hltbitanalysis.HLTProcessName = cms.string(process.name_() )
process.hltbitanalysis.hltresults = cms.InputTag( 'TriggerResults','',process.name_())
process.hltbitanalysis.l1results = cms.InputTag('hltGtStage2Digis', '', process.name_())
process.hltbitanalysis.RunParameters.HistogramFile = cms.untracked.string('hlt.root')
process.hltbitanalysis.RunParameters.isData = cms.untracked.bool(True) ### uncomment this one only to process Data !!!
process.HLTBitAnalysisEndpath = cms.EndPath( process.hltbitanalysis )

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32( 1000 )
)
<!--/twistyPlugin-->
  -- NadirDaci - 2018-02-14 \ No newline at end of file

Revision 62018-02-21 - NadirDaci

Line: 1 to 1
 
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

Line: 19 to 19
 cmsenv ssha
Added:
>
>
# L1+HLT Setup
 git cms-addpkg HLTrigger/Configuration git cms-addpkg L1Trigger/L1TGlobal mkdir -p $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup
Line: 26 to 27
 cp /afs/cern.ch/user/n/ndaci/public/STEAM/Prescales/mask-run306091.xml $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup/mask-slim.xml cp /afs/cern.ch/user/n/ndaci/public/STEAM/Prescales/prescale-run306091.xml $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup/prescale-slim.xml
Added:
>
>
# HLT Ntuples (modified to include branches with the kinematics of the 2 leading jets) git cms-addpkg HLTrigger/HLTanalyzers git clone https://github.com/cms-steam/HLTrigger temp -b b_objects_tests mv temp/* HLTrigger mv temp/.git HLTrigger rm -rf temp
 scram b -j 4 </>
<!--/twistyPlugin-->
Line: 99 to 107
  Then apply L1 PS customization from: https://twiki.cern.ch/twiki/bin/view/CMS/HLTNtupleProduction2017?rev=54#L1_prescales
Added:
>
>
Also add
 -- NadirDaci - 2018-02-14

Revision 52018-02-21 - NadirDaci

Line: 1 to 1
 
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

Line: 86 to 86
  hideimgleft="/twiki/pub/TWiki/TWikiDocGraphics/toggleclose-small.gif" }%
Changed:
<
<
hltGetConfiguration /users/ndaci/DijetScouting2018/HLT/V1
>
>
hltGetConfiguration /users/ndaci/DijetScouting2018/HLT/V2
  --setup /dev/CMSSW_10_0_0/HLT --globaltag 100X_dataRun2_relval_ForTSG_v1
Changed:
<
<
--input file:
>
>
--input root://cms-xrd-global.cern.ch//store/data/Run2017F/EphemeralHLTPhysics1/RAW/v1/000/305/636/00000/00225D9E-1BBA-E711-B067-02163E0142E6.root
  --data --process MYHLT --full --offline --customise HLTrigger/Configuration/customizeHLTforCMSSW.customiseFor2017DtUnpacking
Changed:
<
<
--prescale none --max-events 10 --output none > hlt_TestL1Skim.py
>
>
--l1-emulator uGT --l1Xml L1Menu_Collisions2017_v4slim_m6.xml --prescale none --max-events 10 --output none > hlt_DijetScouting2018.py
  </>
<!--/twistyPlugin-->
Added:
>
>
Then apply L1 PS customization from: https://twiki.cern.ch/twiki/bin/view/CMS/HLTNtupleProduction2017?rev=54#L1_prescales
 -- NadirDaci - 2018-02-14 \ No newline at end of file

Revision 42018-02-19 - NadirDaci

Line: 1 to 1
 
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

Line: 54 to 54
  Then follow customization instructions from (twiki revision 4): https://twiki.cern.ch/twiki/bin/view/CMS/SteamL1Skim2017?rev=4#Step2_customize_CMSSW_configurat
Changed:
<
<

Test L1 Skim by running an HLT pass-through path

>
>

Test L1 Skim by running an HLT pass-through path

  %TWISTY{ mode="div"
Line: 74 to 74
  </>
<!--/twistyPlugin-->
Added:
>
>

Run L1+HLT+HLTNtuples directly

Generate L1+HLT config file:

<!--/twistyPlugin twikiMakeVisibleInline-->
hltGetConfiguration /users/ndaci/DijetScouting2018/HLT/V1 \
  --setup /dev/CMSSW_10_0_0/HLT \
  --globaltag 100X_dataRun2_relval_ForTSG_v1 \
  --input file: \
  --data --process MYHLT --full --offline \
  --customise HLTrigger/Configuration/customizeHLTforCMSSW.customiseFor2017DtUnpacking \
  --prescale none --max-events 10 --output none > hlt_TestL1Skim.py
<!--/twistyPlugin-->
  -- NadirDaci - 2018-02-14 \ No newline at end of file

Revision 32018-02-15 - NadirDaci

Line: 1 to 1
 
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

Line: 70 to 70
  --input file:L1Skim.root --data --process MYHLT --full --offline --customise HLTrigger/Configuration/customizeHLTforCMSSW.customiseFor2017DtUnpacking
Changed:
<
<
--prescale none --max-events 10 --output none > hlt.py
>
>
--prescale none --max-events 10 --output none > hlt_TestL1Skim.py
  </>
<!--/twistyPlugin-->

Revision 22018-02-15 - NadirDaci

Line: 1 to 1
 
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

Line: 6 to 6
 

Setup

Added:
>
>
<!--/twistyPlugin twikiMakeVisibleInline-->
 
scram p -n CMSSW_10_0_1_DijetL1HLT CMSSW_10_0_1
cd CMSSW_10_0_1_DijetL1HLT/src
Line: 21 to 28
  scram b -j 4
Added:
>
>
<!--/twistyPlugin-->
 

Skim data with L1 seeds of interest unprescaled

Added:
>
>
<!--/twistyPlugin twikiMakeVisibleInline-->
 
mkdir -p MyTests/skim
cd MyTests/skim
Line: 34 to 50
  --customise=L1Trigger/Configuration/customiseUtils.L1TAddInfoOutput --filein=root://cms-xrd-global.cern.ch//store/data/Run2017F/EphemeralZeroBias1/RAW/v1/000/305/636/00000/B0AA7A98-8AB9-E711-9725-02163E014232.root
Added:
>
>
<!--/twistyPlugin-->

Then follow customization instructions from (twiki revision 4): https://twiki.cern.ch/twiki/bin/view/CMS/SteamL1Skim2017?rev=4#Step2_customize_CMSSW_configurat

Test L1 Skim by running an HLT pass-through path

<!--/twistyPlugin twikiMakeVisibleInline-->
hltGetConfiguration /users/ndaci/TestL1Skim2018/HLT \
  --setup /dev/CMSSW_10_0_0/HLT \
  --globaltag 100X_dataRun2_relval_ForTSG_v1 \
  --input file:L1Skim.root \
  --data --process MYHLT --full --offline \
  --customise HLTrigger/Configuration/customizeHLTforCMSSW.customiseFor2017DtUnpacking \
  --prescale none --max-events 10 --output none > hlt.py
<!--/twistyPlugin-->
 
Deleted:
<
<
Then follow customization instructions from: https://twiki.cern.ch/twiki/bin/view/CMS/SteamL1Skim2017?rev=4#Step2_customize_CMSSW_configurat
  -- NadirDaci - 2018-02-14

Revision 12018-02-14 - NadirDaci

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="NadirDaci"

Dijet Trigger Studies 2018

L1 seeding strategy

Setup

scram p -n CMSSW_10_0_1_DijetL1HLT CMSSW_10_0_1
cd CMSSW_10_0_1_DijetL1HLT/src
cmsenv
ssha

git cms-addpkg HLTrigger/Configuration
git cms-addpkg L1Trigger/L1TGlobal
mkdir -p $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup
cp /afs/cern.ch/user/n/ndaci/public/STEAM/L1Menus/2017/L1Menu_Collisions2017_v4slim_m6.xml $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup/
cp /afs/cern.ch/user/n/ndaci/public/STEAM/Prescales/mask-run306091.xml $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup/mask-slim.xml
cp /afs/cern.ch/user/n/ndaci/public/STEAM/Prescales/prescale-run306091.xml $CMSSW_BASE/src/L1Trigger/L1TGlobal/data/Luminosity/startup/prescale-slim.xml

scram b -j 4

Skim data with L1 seeds of interest unprescaled

mkdir -p MyTests/skim
cd MyTests/skim

cmsDriver.py L1Skim -s L1REPACK:uGT \
  --no_exec --data -n 10 --era=Run2_2017 --conditions=100X_dataRun2_relval_ForTSG_v1 \
  --customise=L1Trigger/Configuration/customiseUtils.L1TGlobalDigisSummary \
  --customise=L1Trigger/Configuration/customiseUtils.L1TAddInfoOutput \
  --filein=root://cms-xrd-global.cern.ch//store/data/Run2017F/EphemeralZeroBias1/RAW/v1/000/305/636/00000/B0AA7A98-8AB9-E711-9725-02163E014232.root

Then follow customization instructions from: https://twiki.cern.ch/twiki/bin/view/CMS/SteamL1Skim2017?rev=4#Step2_customize_CMSSW_configurat

-- NadirDaci - 2018-02-14

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback