PandaRoot
PndCAStationSTT.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
#ifndef PNDCASTATIONSTT_H
14
#define PNDCASTATIONSTT_H
15
16
#include "
PndCADef.h
"
17
18
#include <vector>
19
using
std::vector;
20
21
class
PndCAHitSTT
{
22
public
:
23
char
fISta
,
fISec
;
24
int
fOrigID
;
25
float
fU
,
fDR
;
26
27
friend
bool
operator<
(
const
PndCAHitSTT
&a,
const
PndCAHitSTT
&b) {
return
(a.
fISec
< b.
fISec
) || ((a.
fISec
== b.
fISec
) && (a.
fU
< b.
fU
)); }
28
};
29
30
class
PndCAStationSTTSector
{
31
public
:
32
void
Init
()
33
{
34
fNHits = 0;
35
fFirstHit = 0;
36
}
37
int
fNHits
;
38
int
fFirstHit
;
39
};
40
41
class
PndCAStationSTT
{
42
public
:
43
void
Init
()
44
{
45
fResolution = float_v(35697.3e-8);
46
fHits1D.clear();
47
fHits1D.reserve(100);
48
for
(
int
i
= 0;
i
< fgNSectors;
i
++)
49
fSectors[
i
].Init();
50
}
51
static
const
int
fgNSectors = 6;
52
float_v
fResolution
;
53
float_v
fSin
, fCos;
54
PndCAStationSTTSector
fSectors[fgNSectors];
55
vector<PndCAHitSTT>
fHits1D
;
56
};
57
58
#endif
PndCAStationSTTSector::Init
void Init()
Definition:
PndCAStationSTT.h:32
PndCAStationSTTSector::fFirstHit
int fFirstHit
Definition:
PndCAStationSTT.h:38
PndCAStationSTT::Init
void Init()
Definition:
PndCAStationSTT.h:43
i
unsigned int i
Definition:
P4_F32vec4.h:33
PndCAHitSTT::fISec
char fISec
Definition:
PndCAStationSTT.h:23
PndCAHitSTT::fISta
char fISta
Definition:
PndCAStationSTT.h:23
PndCAStationSTT::fSin
float_v fSin
Definition:
PndCAStationSTT.h:53
PndCAHitSTT::fDR
float fDR
Definition:
PndCAStationSTT.h:25
PndCAHitSTT::operator<
friend bool operator<(const PndCAHitSTT &a, const PndCAHitSTT &b)
Definition:
PndCAStationSTT.h:27
PndCADef.h
PndCAHitSTT::fOrigID
int fOrigID
Definition:
PndCAStationSTT.h:24
PndCAStationSTT
Definition:
PndCAStationSTT.h:41
PndCAStationSTTSector
Definition:
PndCAStationSTT.h:30
PndCAStationSTT::fResolution
float_v fResolution
Definition:
PndCAStationSTT.h:52
PndCAStationSTT::fHits1D
vector< PndCAHitSTT > fHits1D
Definition:
PndCAStationSTT.h:55
PndCAHitSTT::fU
float fU
Definition:
PndCAStationSTT.h:25
PndCAStationSTTSector::fNHits
int fNHits
Definition:
PndCAStationSTT.h:37
PndCAHitSTT
Definition:
PndCAStationSTT.h:21
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
tracking
catracking
code
PndCAStationSTT.h
Generated on Fri Nov 29 2024 06:04:40 for PandaRoot by
1.8.13