CMS/LPC Trigger Tutorial 2: makeTriggerNTuple Version 3

Login to your linux account on lxplus.cern.ch, login.hep.wisc.edu or cmsuaf.fnal.gov

Below I assume you have tcsh - if you are using bash use appropriate commands for it
You need some data set to run on. You need POOL catalog and dataset name.
The example orcarc file provided refers to datasets at Wisconsin.

Create a new SCRAM project

(if you already have ORCA area you can skip this - you may want to chose a newer version of ORCA)

scram project ORCA ORCA_8_7_3

Make place for new code

(if you already have Examples directory skip "mkdir" below)

cd ORCA_8_7_3/src
mkdir Examples
cd Examples
cvs -d /afs/hep.wisc.edu/cms/CVSRepository co TriggerValidation

Build "TriggerValidation" code:

cd TriggerValidation
eval `scram runtime -csh` or eval `scram runtim -sh`
scram b

Run my "Trigger Validation" code:

eval `scram runtime -csh` or eval `scram runtime -sh`
makeTriggerNTuple -c orcarc >& log&
tail -f log
control-C to get out of tail when done or stuck
If all is well you should have an ntuple file at this stage with trigger data in it

The default orcarc uses test data from Wisconsin. Edit orcarc to select a different dataset. If you are running on FNAL or elsewhere point to appropriate POOL catalog and desired dataset.

Trigger NTuple Content:

Global trigger decision word (128 bits in 4 Ints)
Global Muon Trigger output (4 muon candidates)
All of L1CaloTrigger ntuple described last week (isolated and non-isolated electrons, tau, central and forward jets, HT, total ET, and missing ET)

Creighton's description of the variables is:

gemet[4], gemphi[4], gemeta[4]:  The information for the four highest Et generated electromagnetic objects.
iemet[4],iemphi[4],iemeta[4]:  The information for the four highest Et isolated electromagnetic objects.
nemet[4],nemphi[4],nemeta[4]:  The information for the four highest Et nonisolated electromagnetic objects.
uemet[4],uemphi[4],uemeta[4]:  The information for the four highest Et unidentified electromagnetic objects.
gjetet[8],gjetphi[8],gjeteta[8]:  The information for the eight highest Et generator level jets with abs(eta) < 3.
gfjetet[4],gfjetphi[4],gfjeteta[4]:  The information for the eight highest Et generator level jets with abs(eta) > 3, < 5.
rjetet[4],rjetphi[4],rjeteta[4]:  The information for the four highest Et L1 jets with abs(eta) < 3.
fjetet[4],fjetphi[4],fjeteta[4]:  The information for the four highest Et L1 jets with abs(eta) > 3, < 5.
gtauet[4],gtauphi[4],gtaueta[4]:  The information for the four highest Et tau leptons (currently disabled)
rtauet[4],rtauphi[4],rtaueta[4]:  The information for the four highest Et tau tagged jets.
gpupt,npu:  This is pileup information.  It is currently disabled.
gpt:  This is the pythia level pt of the event, not including any pileup.
gtotet:  The total Et of all generator level particles in the event excluding neutrinos.
gmiset:  The generator level missing Et.
rtotet:  The L1 total Et.
rmiset:  The L1 missing Et.
rht:  The L1 Ht.
 

Sample output files: qcd.root, h300eemm_l1.root

Large collection of output files: L1 Trigger NTuple RootFiles