ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
RecMuonRoIUtils.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGL2MUONSA_RECMUONROIUTILS_H
6
#define TRIGL2MUONSA_RECMUONROIUTILS_H
7
8
#include "
TrigT1Interfaces/RecMuonRoI.h
"
9
#include "
xAODTrigger/MuonRoI.h
"
10
11
namespace
TrigL2MuonSA
{
12
13
class
RecMuonRoIUtils
14
{
15
public
:
16
RecMuonRoIUtils
() {};
17
18
public
:
19
bool
isBarrel
(
const
LVL1::RecMuonRoI
* p_roi)
const
{
20
return
(p_roi->
sysID
()==0) ? true :
false
;
21
};
22
bool
isBarrel
(
const
xAOD::MuonRoI
* p_roi)
const
{
23
return
(p_roi->
getSource
()==0) ? true :
false
;
24
};
25
bool
isLowPt
(
const
LVL1::RecMuonRoI
* p_roi)
const
{
26
return
(p_roi->
getThresholdNumber
() <4) ? true :
false
;
27
};
28
bool
isLowPt
(
const
xAOD::MuonRoI
* p_roi)
const
{
29
return
!(p_roi->
getBW3Coincidence
());
30
};
31
bool
isHighPt
(
const
LVL1::RecMuonRoI
* p_roi)
const
{
32
return
(p_roi->
getThresholdNumber
()>=4) ? true :
false
;
33
};
34
bool
isHighPt
(
const
xAOD::MuonRoI
* p_roi)
const
{
35
return
p_roi->
getBW3Coincidence
();
36
};
37
};
38
39
}
40
41
#endif
// TRIGL2MUONSA_RECMUONROIUTILS_H
MuonRoI.h
RecMuonRoI.h
LVL1::RecMuonRoI
This class defines the reconstructed Muon ROI.
Definition
RecMuonRoI.h:60
LVL1::RecMuonRoI::getThresholdNumber
unsigned int getThresholdNumber() const
returns the Threshold Number (1 to 6) associated with this RecRoI
Definition
RecMuonRoI.h:120
LVL1::RecMuonRoI::sysID
unsigned int sysID() const
returns system ID ROI (Barrel=0, Endcap=1, Forward=2)
Definition
RecMuonRoI.h:105
TrigL2MuonSA::RecMuonRoIUtils::isBarrel
bool isBarrel(const LVL1::RecMuonRoI *p_roi) const
Definition
RecMuonRoIUtils.h:19
TrigL2MuonSA::RecMuonRoIUtils::isHighPt
bool isHighPt(const LVL1::RecMuonRoI *p_roi) const
Definition
RecMuonRoIUtils.h:31
TrigL2MuonSA::RecMuonRoIUtils::isHighPt
bool isHighPt(const xAOD::MuonRoI *p_roi) const
Definition
RecMuonRoIUtils.h:34
TrigL2MuonSA::RecMuonRoIUtils::isLowPt
bool isLowPt(const LVL1::RecMuonRoI *p_roi) const
Definition
RecMuonRoIUtils.h:25
TrigL2MuonSA::RecMuonRoIUtils::RecMuonRoIUtils
RecMuonRoIUtils()
Definition
RecMuonRoIUtils.h:16
TrigL2MuonSA::RecMuonRoIUtils::isLowPt
bool isLowPt(const xAOD::MuonRoI *p_roi) const
Definition
RecMuonRoIUtils.h:28
TrigL2MuonSA::RecMuonRoIUtils::isBarrel
bool isBarrel(const xAOD::MuonRoI *p_roi) const
Definition
RecMuonRoIUtils.h:22
xAOD::MuonRoI_v1::getBW3Coincidence
bool getBW3Coincidence() const
Returns whether or not there was a 3-station coincidence in the TGC.
Definition
MuonRoI_v1.cxx:289
xAOD::MuonRoI_v1::getSource
RoISource getSource() const
Returns the system that detected the muon candidate.
Definition
MuonRoI_v1.cxx:202
TrigL2MuonSA
Definition
AlignmentBarrelLUT.h:13
xAOD::MuonRoI
MuonRoI_v1 MuonRoI
Definition
MuonRoI.h:15
Generated on
for ATLAS Offline Software by
1.17.0