ATLAS Offline Software
Enumerations | Functions
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  };

◆ 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.

31  {GEV900ID=0, MUONID=1, HALOID=2, COSMICID=3,
32  LOOSE_HM=10, MEDIUM_HM=11, TIGHT_HM=12, LOOSE_LM=13,
33  MEDIUM_LM=14, TIGHT_LM=15,
34  NULLID=99999};

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  }
xAOD::L2MuonParameters::COSMICID
@ COSMICID
Definition: TrigMuonDefs.h:31
xAOD::L2MuonParameters::MEDIUM_LM
@ MEDIUM_LM
Definition: TrigMuonDefs.h:33
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
xAOD::L2MuonParameters::LOOSE_LM
@ LOOSE_LM
Definition: TrigMuonDefs.h:32
xAOD::L2MuonParameters::NULLID
@ NULLID
Definition: TrigMuonDefs.h:34
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
xAOD::L2MuonParameters::BEE
@ BEE
BEE measurement point.
Definition: TrigMuonDefs.h:24
xAOD::L2MuonParameters::EndcapExtra
@ EndcapExtra
Extra station in the endcap spectrometer.
Definition: TrigMuonDefs.h:22
xAOD::L2MuonParameters::BME
@ BME
BME measurement point.
Definition: TrigMuonDefs.h:25
M_PI
#define M_PI
Definition: ActiveFraction.h:11
xAOD::L2MuonParameters::BarrelInner
@ BarrelInner
Inner station in the barrel spectrometer.
Definition: TrigMuonDefs.h:16
xAOD::L2MuonParameters::LOOSE_HM
@ LOOSE_HM
Definition: TrigMuonDefs.h:32
xAOD::L2MuonParameters::MUONID
@ MUONID
Definition: TrigMuonDefs.h:31
xAOD::L2MuonParameters::MaxChamber
@ MaxChamber
Number of measurement point definitions.
Definition: TrigMuonDefs.h:27
WeakBFieldA
@ WeakBFieldA
Definition: MuFastSteering.h:42
xAOD::L2MuonParameters::GEV900ID
@ GEV900ID
Definition: TrigMuonDefs.h:31
xAOD::L2MuonParameters::EndcapMiddle
@ EndcapMiddle
Middle station in the endcap spectrometer.
Definition: TrigMuonDefs.h:20
xAOD::L2MuonParameters::HALOID
@ HALOID
Definition: TrigMuonDefs.h:31
xAOD::L2MuonParameters::EndcapInner
@ EndcapInner
Inner station in the endcap spectrometer.
Definition: TrigMuonDefs.h:19
xAOD::L2MuonParameters::BarrelOuter
@ BarrelOuter
Outer station in the barrel spectrometer.
Definition: TrigMuonDefs.h:18
TauGNNUtils::Variables::absEta
bool absEta(const xAOD::TauJet &tau, double &out)
Definition: TauGNNUtils.cxx:234
Bulk
@ Bulk
Definition: MuFastSteering.h:42
WeakBFieldB
@ WeakBFieldB
Definition: MuFastSteering.h:42
CSC
@ CSC
Definition: RegSelEnums.h:34
xAOD::L2MuonParameters::MEDIUM_HM
@ MEDIUM_HM
Definition: TrigMuonDefs.h:32
xAOD::L2MuonParameters::TIGHT_HM
@ TIGHT_HM
Definition: TrigMuonDefs.h:32
xAOD::L2MuonParameters::Backup
@ Backup
Backup.
Definition: TrigMuonDefs.h:26
xAOD::L2MuonParameters::BarrelMiddle
@ BarrelMiddle
Middle station in the barrel spectrometer.
Definition: TrigMuonDefs.h:17
xAOD::L2MuonParameters::TIGHT_LM
@ TIGHT_LM
Definition: TrigMuonDefs.h:33
xAOD::L2MuonParameters::EndcapOuter
@ EndcapOuter
Outer station in the endcap spectrometer.
Definition: TrigMuonDefs.h:21