PandaRoot
PndCAStationSTT.h
Go to the documentation of this file.
1
#ifndef PNDCASTATIONSTT_H
2
#define PNDCASTATIONSTT_H
3
4
#include "
PndCADef.h
"
5
6
#include <vector>
7
using
std::vector;
8
9
class
PndCAHitSTT
{
10
public
:
11
char
fISta
,
fISec
;
12
int
fOrigID
;
13
float
fU
,
fDR
;
14
15
friend
bool
operator<
(
const
PndCAHitSTT
&a,
const
PndCAHitSTT
&b) {
return
(a.
fISec
< b.
fISec
) || ((a.
fISec
== b.
fISec
) && (a.
fU
< b.
fU
)); }
16
};
17
18
class
PndCAStationSTTSector
{
19
public
:
20
void
Init
()
21
{
22
fNHits = 0;
23
fFirstHit = 0;
24
}
25
int
fNHits
;
26
int
fFirstHit
;
27
};
28
29
class
PndCAStationSTT
{
30
public
:
31
void
Init
()
32
{
33
fResolution = float_v(35697.3e-8);
34
fHits1D.clear();
35
fHits1D.reserve(100);
36
for
(
int
i
= 0;
i
< fgNSectors;
i
++)
37
fSectors[
i
].Init();
38
}
39
static
const
int
fgNSectors = 6;
40
float_v
fResolution
;
41
float_v
fSin
, fCos;
42
PndCAStationSTTSector
fSectors[fgNSectors];
43
vector<PndCAHitSTT>
fHits1D
;
44
};
45
46
#endif
PndCAStationSTTSector::Init
void Init()
Definition:
PndCAStationSTT.h:20
PndCAStationSTTSector::fFirstHit
int fFirstHit
Definition:
PndCAStationSTT.h:26
PndCAStationSTT::Init
void Init()
Definition:
PndCAStationSTT.h:31
i
unsigned int i
Definition:
P4_F32vec4.h:21
PndCAHitSTT::fISec
char fISec
Definition:
PndCAStationSTT.h:11
PndCAHitSTT::fISta
char fISta
Definition:
PndCAStationSTT.h:11
PndCAStationSTT::fSin
float_v fSin
Definition:
PndCAStationSTT.h:41
PndCAHitSTT::fDR
float fDR
Definition:
PndCAStationSTT.h:13
PndCAHitSTT::operator<
friend bool operator<(const PndCAHitSTT &a, const PndCAHitSTT &b)
Definition:
PndCAStationSTT.h:15
PndCADef.h
PndCAHitSTT::fOrigID
int fOrigID
Definition:
PndCAStationSTT.h:12
PndCAStationSTT
Definition:
PndCAStationSTT.h:29
PndCAStationSTTSector
Definition:
PndCAStationSTT.h:18
PndCAStationSTT::fResolution
float_v fResolution
Definition:
PndCAStationSTT.h:40
PndCAStationSTT::fHits1D
vector< PndCAHitSTT > fHits1D
Definition:
PndCAStationSTT.h:43
PndCAHitSTT::fU
float fU
Definition:
PndCAStationSTT.h:13
PndCAStationSTTSector::fNHits
int fNHits
Definition:
PndCAStationSTT.h:25
PndCAHitSTT
Definition:
PndCAStationSTT.h:9
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
tracking
catracking
code
PndCAStationSTT.h
Generated on Fri Oct 21 2022 07:03:57 for PandaRoot by
1.8.13