ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1NSWSimTools
src
MMT_Road.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MMT_ROAD_H
6
#define MMT_ROAD_H
7
8
#include "
MMT_Hit.h
"
9
#include <cmath>
10
#include <numeric>
11
12
class
MMT_Road
{
13
public
:
14
MMT_Road
(
const
char
sector,
const
int
roadSize,
const
int
UpX,
const
int
DownX,
const
int
UpUV,
const
int
DownUV,
const
int
xthr,
const
int
uvthr,
15
const
int
iroadx,
const
int
iroadu = -1,
const
int
iroadv = -1);
16
~MMT_Road
()=
default
;
17
18
void
addHits
(
const
std::vector<std::shared_ptr<MMT_Hit> > &hits);
19
double
avgSofXUV
(
const
char
type
)
const
;
20
bool
checkCoincidences
(
const
int
bcwind)
const
{
21
return
horizontalCheck
() &&
stereoCheck
() &&
matureCheck
(bcwind);
22
}
23
unsigned
int
countHits
()
const
{
return
m_road_hits
.size(); }
24
unsigned
int
countUHits
()
const
;
25
unsigned
int
countXHits
()
const
;
26
bool
evaluateLowRes
()
const
;
27
bool
horizontalCheck
()
const
;
28
void
incrementAge
(
const
int
bcwind);
29
const
std::vector<MMT_Hit>&
getHitVector
()
const
{
return
m_road_hits
; }
30
char
getSector
()
const
{
return
m_sector
; }
31
int
getXthreshold
()
const
{
return
m_xthr
; }
32
int
getUVthreshold
()
const
{
return
m_uvthr
; }
33
int
iRoadx
()
const
{
return
m_iroadx
; }
34
int
iRoadu
()
const
{
return
m_iroadu
; }
35
int
iRoadv
()
const
{
return
m_iroadv
; }
36
bool
matureCheck
(
const
int
bcwind)
const
;
37
double
mxl
()
const
;
38
bool
stereoCheck
()
const
;
39
40
private
:
41
std::vector<MMT_Hit>
m_road_hits
;
42
double
m_slopeXlow
,
m_slopeXhigh
,
m_slopeUlow
,
m_slopeUhigh
,
m_slopeVlow
,
m_slopeVhigh
;
43
int
m_iroadx
,
m_iroadu
,
m_iroadv
;
44
int
m_xthr
,
m_uvthr
;
45
char
m_sector
;
46
};
47
#endif
MMT_Hit.h
MMT_Road::getUVthreshold
int getUVthreshold() const
Definition
MMT_Road.h:32
MMT_Road::iRoadv
int iRoadv() const
Definition
MMT_Road.h:35
MMT_Road::avgSofXUV
double avgSofXUV(const char type) const
Definition
MMT_Road.cxx:57
MMT_Road::getXthreshold
int getXthreshold() const
Definition
MMT_Road.h:31
MMT_Road::m_slopeUlow
double m_slopeUlow
Definition
MMT_Road.h:42
MMT_Road::mxl
double mxl() const
Definition
MMT_Road.cxx:124
MMT_Road::countHits
unsigned int countHits() const
Definition
MMT_Road.h:23
MMT_Road::m_slopeXhigh
double m_slopeXhigh
Definition
MMT_Road.h:42
MMT_Road::getHitVector
const std::vector< MMT_Hit > & getHitVector() const
Definition
MMT_Road.h:29
MMT_Road::m_xthr
int m_xthr
Definition
MMT_Road.h:44
MMT_Road::incrementAge
void incrementAge(const int bcwind)
Definition
MMT_Road.cxx:108
MMT_Road::m_slopeXlow
double m_slopeXlow
Definition
MMT_Road.h:42
MMT_Road::iRoadu
int iRoadu() const
Definition
MMT_Road.h:34
MMT_Road::m_road_hits
std::vector< MMT_Hit > m_road_hits
Definition
MMT_Road.h:41
MMT_Road::stereoCheck
bool stereoCheck() const
Definition
MMT_Road.cxx:140
MMT_Road::iRoadx
int iRoadx() const
Definition
MMT_Road.h:33
MMT_Road::checkCoincidences
bool checkCoincidences(const int bcwind) const
Definition
MMT_Road.h:20
MMT_Road::~MMT_Road
~MMT_Road()=default
MMT_Road::getSector
char getSector() const
Definition
MMT_Road.h:30
MMT_Road::m_iroadu
int m_iroadu
Definition
MMT_Road.h:43
MMT_Road::m_iroadv
int m_iroadv
Definition
MMT_Road.h:43
MMT_Road::m_slopeVlow
double m_slopeVlow
Definition
MMT_Road.h:42
MMT_Road::m_slopeUhigh
double m_slopeUhigh
Definition
MMT_Road.h:42
MMT_Road::addHits
void addHits(const std::vector< std::shared_ptr< MMT_Hit > > &hits)
Definition
MMT_Road.cxx:29
MMT_Road::m_slopeVhigh
double m_slopeVhigh
Definition
MMT_Road.h:42
MMT_Road::m_sector
char m_sector
Definition
MMT_Road.h:45
MMT_Road::evaluateLowRes
bool evaluateLowRes() const
Definition
MMT_Road.cxx:88
MMT_Road::m_uvthr
int m_uvthr
Definition
MMT_Road.h:44
MMT_Road::matureCheck
bool matureCheck(const int bcwind) const
Definition
MMT_Road.cxx:117
MMT_Road::horizontalCheck
bool horizontalCheck() const
Definition
MMT_Road.cxx:97
MMT_Road::m_iroadx
int m_iroadx
Definition
MMT_Road.h:43
MMT_Road::countXHits
unsigned int countXHits() const
Definition
MMT_Road.cxx:83
MMT_Road::countUHits
unsigned int countUHits() const
Definition
MMT_Road.cxx:78
MMT_Road::MMT_Road
MMT_Road(const char sector, const int roadSize, const int UpX, const int DownX, const int UpUV, const int DownUV, const int xthr, const int uvthr, const int iroadx, const int iroadu=-1, const int iroadv=-1)
Definition
MMT_Road.cxx:7
type
Generated on
for ATLAS Offline Software by
1.17.0