CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
Deltas.h File Reference
#include "L1Trigger/L1TMuonEndCap/interface/EmulatorClasses.h"

Go to the source code of this file.

Functions

std::vector< std::vector
< DeltaOutput > > 
CalcDeltas (MatchingOutput Mout)
 
DeltaOutArr3 CalcDeltas_Hold (const std::vector< MatchingOutput > &Mout)
 
DeltaOutput Deltas (MatchingOutput Mout, int zone, int winner)
 

Function Documentation

std::vector<std::vector<DeltaOutput> > CalcDeltas ( MatchingOutput  Mout)

Definition at line 209 of file Deltas.h.

DeltaOutArr3 CalcDeltas_Hold ( const std::vector< MatchingOutput > &  Mout)

Definition at line 225 of file Deltas.h.

DeltaOutput Deltas ( MatchingOutput  Mout,
int  zone,
int  winner 
)

Set Null dphi and dtheta arrays///

dphi index order runs like (dphi12,dphi13,dphi14,dphi23,dphi24,dphi34) hence the calc delta phis /// indexing procedure dphi[s2-1] for the first 3 and dphi[s1+s2] for the rest

There is a further index on dTh because there are 4 dth combinations calc delta theta /// possible if there are two theta segments for both stations.

the mask[6] is a way to indicate which stations are present and valid

it is clearer to see in binary below

stations 1 and 2 present and valid –> 0x3 –> 0011 stations 1 and 3 present and valid –> 0x5 –> 0101 stations 1 and 4 present and valid –> 0x9 –> 1001 stations 2 and 3 present and valid –> 0x6 –> 0110 stations 2 and 4 present and valid –> 0xa –> 1010 stations 3 and 4 present and valid –> 0xc –> 1100

here we separate stations 3 and 4////

Definition at line 14 of file Deltas.h.