ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::L2MuonParameters Namespace Reference

Enumerations

enum  Chamber {
  BarrelInner = 0 , BarrelMiddle = 1 , BarrelOuter = 2 , EndcapInner = 3 ,
  EndcapMiddle = 4 , EndcapOuter = 5 , EndcapExtra = 6 , CSC = 7 ,
  BEE = 8 , BME = 9 , Backup = 10 , MaxChamber = 11
}
 Define chamber types and locations. More...
enum  L2MuonAlgoId {
  GEV900ID =0 , MUONID =1 , HALOID =2 , COSMICID =3 ,
  LOOSE_HM =10 , MEDIUM_HM =11 , TIGHT_HM =12 , LOOSE_LM =13 ,
  MEDIUM_LM =14 , TIGHT_LM =15 , NULLID =99999
}
 Define algoriths ID. More...
enum  ECRegions { Bulk , WeakBFieldA , WeakBFieldB }

Functions

ECRegions whichECRegion (const float eta, const float phi)

Enumeration Type Documentation

◆ Chamber

Define chamber types and locations.

Enumerator
BarrelInner 

Inner station in the barrel spectrometer.

BarrelMiddle 

Middle station in the barrel spectrometer.

BarrelOuter 

Outer station in the barrel spectrometer.

EndcapInner 

Inner station in the endcap spectrometer.

EndcapMiddle 

Middle station in the endcap spectrometer.

EndcapOuter 

Outer station in the endcap spectrometer.

EndcapExtra 

Extra station in the endcap spectrometer.

CSC 

CSC measurement point.

BEE 

BEE measurement point.

BME 

BME measurement point.

Backup 

Backup.

MaxChamber 

Number of measurement point definitions.

Definition at line 15 of file TrigMuonDefs.h.

15 {
16 BarrelInner = 0,
17 BarrelMiddle = 1,
18 BarrelOuter = 2,
19 EndcapInner = 3,
20 EndcapMiddle = 4,
21 EndcapOuter = 5,
22 EndcapExtra = 6,
23 CSC = 7,
24 BEE = 8,
25 BME = 9,
26 Backup = 10,
27 MaxChamber = 11
28 };
@ BarrelInner
Inner station in the barrel spectrometer.
@ EndcapOuter
Outer station in the endcap spectrometer.
@ CSC
CSC measurement point.
@ BarrelMiddle
Middle station in the barrel spectrometer.
@ EndcapMiddle
Middle station in the endcap spectrometer.
@ BEE
BEE measurement point.
@ EndcapExtra
Extra station in the endcap spectrometer.
@ MaxChamber
Number of measurement point definitions.
@ BarrelOuter
Outer station in the barrel spectrometer.
@ BME
BME measurement point.
@ EndcapInner
Inner station in the endcap spectrometer.

◆ ECRegions

Enumerator
Bulk 
WeakBFieldA 
WeakBFieldB 

Definition at line 36 of file TrigMuonDefs.h.

◆ L2MuonAlgoId

Define algoriths ID.

Enumerator
GEV900ID 
MUONID 
HALOID 
COSMICID 
LOOSE_HM 
MEDIUM_HM 
TIGHT_HM 
LOOSE_LM 
MEDIUM_LM 
TIGHT_LM 
NULLID 

Definition at line 31 of file TrigMuonDefs.h.

Function Documentation

◆ whichECRegion()

ECRegions xAOD::L2MuonParameters::whichECRegion ( const float eta,
const float phi )

Definition at line 16 of file TrigMuonDefs.cxx.

16 {
17 float absEta = std::fabs(eta);
18 if( ( 1.3 <= absEta && absEta < 1.45) &&
19 ( (0 <= std::fabs(phi) && std::fabs(phi) < M_PI/48. ) ||
20 (M_PI*11./48. <= std::fabs(phi) && std::fabs(phi) < M_PI*13./48. ) ||
21 (M_PI*23./48. <= std::fabs(phi) && std::fabs(phi) < M_PI*25./48. ) ||
22 (M_PI*35./48. <= std::fabs(phi) && std::fabs(phi) < M_PI*37./48. ) ||
23 (M_PI*47./48. <= std::fabs(phi) && std::fabs(phi) < M_PI )
24 )
25 ) return WeakBFieldA;
26
27 else if( ( 1.5 <= absEta && absEta < 1.65 ) &&
28 ( (M_PI*3./32. <= std::fabs(phi) && std::fabs(phi) < M_PI*5./32. ) ||
29 (M_PI*11./32. <= std::fabs(phi) && std::fabs(phi) < M_PI*13./32.) ||
30 (M_PI*19./32. <= std::fabs(phi) && std::fabs(phi) < M_PI*21./32.) ||
31 (M_PI*27./32. <= std::fabs(phi) && std::fabs(phi) < M_PI*29./32.)
32 )
33 ) return WeakBFieldB;
34
35 else return Bulk;
36 }
#define M_PI
Scalar eta() const
pseudorapidity method