ATLAS Offline Software
Trigger
TrigEvent
TrigInDetPattRecoEvent
TrigInDetPattRecoEvent
TrigInDetTriplet.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef __TRIG_IN_DET_TRIPLET_H__
6
#define __TRIG_IN_DET_TRIPLET_H__
7
8
#include "
TrigInDetEvent/TrigSiSpacePointBase.h
"
9
10
11
12
13
class
TrigInDetTriplet
{
14
15
public
:
16
TrigInDetTriplet
() =
delete
;
//to prevent creation w/o initialization
17
18
static_assert(
std::is_nothrow_move_constructible<TrigSiSpacePointBase>::value
);
19
TrigInDetTriplet
(
TrigSiSpacePointBase
s1
,
TrigSiSpacePointBase
s2
,
TrigSiSpacePointBase
s3
,
float
Q
) :
20
m_s1
(std::move(
s1
)),
m_s2
(std::move(
s2
)),
m_s3
(std::move(
s3
)),
m_Q
(
Q
) {};
21
22
TrigInDetTriplet
(
TrigInDetTriplet
*
t
) :
23
m_s1
(
t
->
m_s1
),
m_s2
(
t
->
m_s2
),
m_s3
(
t
->
m_s3
),
m_Q
(
t
->
m_Q
) {};
24
25
const
TrigSiSpacePointBase
&
s1
()
const
{
return
m_s1
;}
26
const
TrigSiSpacePointBase
&
s2
()
const
{
return
m_s2
;}
27
const
TrigSiSpacePointBase
&
s3
()
const
{
return
m_s3
;}
28
float
Q
()
const
{
return
m_Q
;}
29
void
Q
(
double
newQ) {
m_Q
= newQ;}
30
31
protected
:
32
33
TrigSiSpacePointBase
m_s1
;
34
TrigSiSpacePointBase
m_s2
;
35
TrigSiSpacePointBase
m_s3
;
36
float
m_Q
;
//Quality
37
};
38
39
#endif // __TRIG_IN_DET_TRIPLET__
TrigInDetTriplet
Definition:
TrigInDetTriplet.h:13
TrigInDetTriplet::m_s2
TrigSiSpacePointBase m_s2
Definition:
TrigInDetTriplet.h:34
TrigInDetTriplet::s2
const TrigSiSpacePointBase & s2() const
Definition:
TrigInDetTriplet.h:26
TrigInDetTriplet::m_s1
TrigSiSpacePointBase m_s1
Definition:
TrigInDetTriplet.h:33
athena.value
value
Definition:
athena.py:124
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
TrigInDetTriplet::s1
const TrigSiSpacePointBase & s1() const
Definition:
TrigInDetTriplet.h:25
TrigInDetTriplet::m_s3
TrigSiSpacePointBase m_s3
Definition:
TrigInDetTriplet.h:35
TrigInDetTriplet::s3
const TrigSiSpacePointBase & s3() const
Definition:
TrigInDetTriplet.h:27
TrigSiSpacePointBase.h
TrigInDetTriplet::Q
float Q() const
Definition:
TrigInDetTriplet.h:28
TrigInDetTriplet::TrigInDetTriplet
TrigInDetTriplet(TrigSiSpacePointBase s1, TrigSiSpacePointBase s2, TrigSiSpacePointBase s3, float Q)
Definition:
TrigInDetTriplet.h:19
TrigInDetTriplet::Q
void Q(double newQ)
Definition:
TrigInDetTriplet.h:29
TrigInDetTriplet::TrigInDetTriplet
TrigInDetTriplet()=delete
TrigInDetTriplet::m_Q
float m_Q
Definition:
TrigInDetTriplet.h:36
TrigSiSpacePointBase
Definition:
TrigSiSpacePointBase.h:23
TrigInDetTriplet::TrigInDetTriplet
TrigInDetTriplet(TrigInDetTriplet *t)
Definition:
TrigInDetTriplet.h:22
Generated on Sun Dec 22 2024 21:21:05 for ATLAS Offline Software by
1.8.18