PandaRoot
PndCANPletsV.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
//-*- Mode: C++ -*-
14
// *****************************************************************************
15
// *
16
// @Autors: I.Kulakov; M.Zyzak; I.Kisel *
17
// @e-mail: I.Kulakov@gsi.de; M.Zyzak@gsi.de; I.Kisel@compeng.uni-frankfurt.de *
18
// *
19
// *****************************************************************************
20
21
#ifndef PNDCANPletsV_H
22
#define PNDCANPletsV_H
23
24
#include <vector>
25
using
std::vector;
26
#include "
PndCAStationArray.h
"
27
#include "
PndCATrackParamVector.h
"
28
29
class
PndCANPletV
{
30
public
:
31
PndCANPletV
() :
fParam
(),
fIsValid
(false) {}
32
33
PndCANPletV
(
const
PndCANPletV
&s1,
const
PndCATrackParamVector
¶m,
const
float_m isValid) :
fParam
(param),
fIsValid
(isValid) {
fNHits
= s1.
N
() + 1; }
34
35
int
N
()
const
{
return
fNHits
; }
36
37
const
PndCATrackParamVector
&
Param
()
const
{
return
fParam
; }
38
PndCATrackParamVector
&
ParamRef
() {
return
fParam
; }
39
40
float_m
IsValid
()
const
{
return
fIsValid
; }
41
void
SetValid
(float_m
v
) {
fIsValid
=
v
; }
42
// check wether a is neighbour from the right to this
43
44
int_v
fLastHit
;
45
int
fNHits
;
46
PndCATrackParamVector
fParam
;
47
float_m
fIsValid
;
48
};
49
50
class
PndCANPletsV
:
public
PndCAStationArray
<PndCANPletV> {
51
public
:
52
PndCANPletsV
(){};
53
PndCANPletsV
(
int
nSta,
const
PndCAHits
*hits) :
PndCAStationArray
<
PndCANPletV
>(nSta, hits){};
54
};
55
56
#endif
PndCANPletV::SetValid
void SetValid(float_m v)
Definition:
PndCANPletsV.h:41
PndCANPletV::Param
const PndCATrackParamVector & Param() const
Definition:
PndCANPletsV.h:37
PndCANPletV::IsValid
float_m IsValid() const
Definition:
PndCANPletsV.h:40
PndCANPletV
Definition:
PndCANPletsV.h:29
PndCANPletV::fIsValid
float_m fIsValid
Definition:
PndCANPletsV.h:47
PndCAStationArray.h
PndCANPletV::N
int N() const
Definition:
PndCANPletsV.h:35
PndCANPletV::PndCANPletV
PndCANPletV(const PndCANPletV &s1, const PndCATrackParamVector ¶m, const float_m isValid)
Definition:
PndCANPletsV.h:33
v
__m128 v
Definition:
P4_F32vec4.h:15
PndCATrackParamVector.h
PndCANPletV::fLastHit
int_v fLastHit
Definition:
PndCANPletsV.h:44
PndCANPletV::fParam
PndCATrackParamVector fParam
Definition:
PndCANPletsV.h:46
PndCANPletV::fNHits
int fNHits
Definition:
PndCANPletsV.h:45
PndCANPletsV::PndCANPletsV
PndCANPletsV(int nSta, const PndCAHits *hits)
Definition:
PndCANPletsV.h:53
PndCAStationArray
Definition:
PndCAStationArray.h:79
PndCANPletV::ParamRef
PndCATrackParamVector & ParamRef()
Definition:
PndCANPletsV.h:38
PndCATrackParamVector
Definition:
PndCATrackParamVector.h:48
PndCANPletsV
Definition:
PndCANPletsV.h:50
PndCANPletV::PndCANPletV
PndCANPletV()
Definition:
PndCANPletsV.h:31
PndCANPletsV::PndCANPletsV
PndCANPletsV()
Definition:
PndCANPletsV.h:52
PndCAHits
Definition:
PndCAHits.h:117
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
tracking
catracking
code
PndCANPletsV.h
Generated on Fri Nov 29 2024 06:04:40 for PandaRoot by
1.8.13