# Cheat Sheet

Cheat sheet for the L1-Trigger Menu Grammar Specification version 7.0

- Logical operators
- Object requirements
- Signals
- Combinations
- Muon charge correlations
- Topological correlations (Δη, Δφ)
- ΔR correlation
- Invariant mass
- Transverse mass
- Overlap removal

**Tip:**for more information see L1-Trigger Menu Grammar Specification (PDF)

*(this document is outdated)*.

## Logical operators

Supported logical operators are `NOT`

, `AND`

, `OR`

, `XOR`

## Object requirements

Supported object types are:

- muon:
`MU`

- calorimeter:
`EG`

,`JET`

,`TAU`

- energy sums:
`ETM`

,`HTM`

,`ETT`

,`HTT`

,`ETTEM`

,`ETMHF`

,`ASYMET`

,`ASYMHT`

,`ASYMETHF`

,`ASYMHTHF`

- minimum bias counts:
`MBT0HFP`

,`MBT1HFP`

,`MBT0HFM`

,`MBT1HFM`

- tower counts:
`TOWERCOUNT`

### Examples:

`MU10`

*single-muon pt >= 10.0 GeV*

Various topological and/or special cuts can be applied to object requirements.

`MU0[MU-ETA_2p1, MU-PHI_TOP, MU-QLTY_HIGH]`

*single-muon with applied topological and special cuts (η, φ and quality)*

Applying BX offsets (triggering in a different BX), allowed range is -2, -1 +0 +1 and +2 BX.

`JET0+2`

*jet with offset of 2 BX*

## Signals

Supported signal types are:

- signals:
`CENT0`

...`CENT7`

(centralities)

**Note:** currently there is no wizard dialog for centrality signals, just type them in the expression.

### Examples:

`CENT0 AND NOT CENT1`

## Combinations

Combining multiple object requirements using function **comb** (short or combination).

### Examples:

`comb{ MU20, MU10 }`

*di-muon*

`comb{ EG10, EG10, EG10 }`

*tri-e/γ*

`comb{ JET40, JET30, JET20, JET10 }`

*quad-jet*

All objects requirements must be of same type an same BX offset.

`comb{ MU0+2, MU0+2 }`

*di-muon with offset of 2 BX*

## Muon charge correlations

Valid for any di- tri- and quad-muon combinations. Possible values are `ss`

(all charges of same signs) and `os`

(charges of opposite signs).

### Examples:

`comb{ MU0, MU0, MU0, MU0 }[CHGCOR_OS]`

*muon charge correlation for four muons*

`dist{ MU0, MU0 }[DETA_2p1, CHGCOR_OS]`

*muon charge correlation applied to a eta correaltion of a di-muon*

## Topological correlations (Δη, Δφ)

Testing for topological correlations of two objects using function **dist** (short for distance).

### Examples:

`dist{ ETM75, JET60 }[DPHI_MIN_0p4]`

*topological correlation*

`dist{ MU0, MU0 }[DETA_MAX_1p8, CHGCOR_OS]`

*topological correlation combined with muon charge correlation*

## ΔR correlation

ΔR correlations of two objects are applied using function **dist**.

`dist{ MU10, JET10 }[DR_4p5]`

*ΔR for muon/jet combination with min. ΔR of 4.5*

## Invariant mass

Invariant mass of two objects is applied using function **mass_inv**.

### Examples:

`mass_inv{ JET30, JET30 }[MASS_MIN_400]`

*invariant mass for two jets with min. threshold of 400 GeV*

## Transverse mass

Transverse mass of two objects is applied using function **mass_trv**.

### Examples:

`mass_trv{ JET30, ETM100 }[MASS_MIN_250]`

*transverse mass for jet and MET with min. threshold of 250 GeV*

## Overlap removal

For calorimeter object requirements it is possible to surpress possible duplicated objects of another type using a technique named *overlap removal*. This is provided by functions `comb_orm`

, `dist_orm`

and `mass_inv_orm`

.

Objects that are within the range of cuts `ORMDETA`

, `ORMDPHI`

and/or `ORMDR`

are removed from the decision.

**Note:**the reference object requirement for overlap removal is implicitly added to the final decision using

**AND**.

### Examples 1+1:

`comb_orm{ JET30, TAU30 }[ORMDR_2p4]`

*a single jet that is not a tau -- and at least a single tau*

`dist_orm{ TAU10, JET10 }[ORMDETA_1p2, DR_2p4]`

*delta-R between single tau and jet, the tau is not a jet -- and at least a single jet*

### Examples 2+1:

`comb_orm{ JET30, JET30, TAU30 }[ORMETA_2p1]`

*a di-jet that contains no taus -- and at least a single tau*

`mass_inv{ JET30, JET30, TAU30 }[ORMDR_2p4, MASS_MIN_250]`

*invariant mass of a di-jet that contains no taus -- and at least a single tau*