Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrigBase.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrigBase.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2021 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
// TODO: update to C++17 style
12
#include "
Acts/Seeding/GNN_TrackingFilter.hpp
"
13
14
#include <cmath>
15
16
#define MAX_SILICON_LAYER_NUM 19
17
#define OffsetEndcapPixels 7
18
#define OffsetBarrelSCT 3
19
#define OffsetEndcapSCT 10
20
21
template
<
typename
space_po
int
_t>
22
class
TrigInDetTriplet
{
23
public
:
24
TrigInDetTriplet
() =
delete
;
// to prevent creation w/o initialization
25
26
TrigInDetTriplet
(
Acts::FTF_SP<space_point_t>
s1
,
27
Acts::FTF_SP<space_point_t>
s2
,
28
Acts::FTF_SP<space_point_t>
s3
,
float
Q
)
29
:
m_s1
(std::
move
(s1)),
m_s2
(std::
move
(s2)),
m_s3
(std::
move
(s3)),
m_Q
(Q) {}
30
31
TrigInDetTriplet
(
TrigInDetTriplet
*
t
)
32
:
m_s1
(t->
m_s1
),
m_s2
(t->
m_s2
),
m_s3
(t->
m_s3
),
m_Q
(t->
m_Q
) {}
33
34
const
Acts::FTF_SP<space_point_t>
&
s1
()
const
{
return
m_s1
; }
35
const
Acts::FTF_SP<space_point_t>
&
s2
()
const
{
return
m_s2
; }
36
const
Acts::FTF_SP<space_point_t>
&
s3
()
const
{
return
m_s3
; }
37
float
Q
()
const
{
return
m_Q
; }
38
void
Q
(
double
newQ) {
m_Q
= newQ; }
39
40
protected
:
41
Acts::FTF_SP<space_point_t>
m_s1
;
42
Acts::FTF_SP<space_point_t>
m_s2
;
43
Acts::FTF_SP<space_point_t>
m_s3
;
44
float
m_Q
;
// Quality
45
};
acts
blob
sPHENIX
Core
include
Acts
Seeding
TrigBase.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:34
using
1.8.2 with
sPHENIX GitHub integration