PandaRoot
PndCANPletsV.h
Go to the documentation of this file.
1 //-*- Mode: C++ -*-
2 // *****************************************************************************
3 // *
4 // @Autors: I.Kulakov; M.Zyzak; I.Kisel *
5 // @e-mail: I.Kulakov@gsi.de; M.Zyzak@gsi.de; I.Kisel@compeng.uni-frankfurt.de *
6 // *
7 // *****************************************************************************
8 
9 #ifndef PNDCANPletsV_H
10 #define PNDCANPletsV_H
11 
12 #include <vector>
13 using std::vector;
14 #include "PndCAStationArray.h"
15 #include "PndCATrackParamVector.h"
16 
17 class PndCANPletV {
18  public:
19  PndCANPletV() : fParam(), fIsValid(false) {}
20 
21  PndCANPletV(const PndCANPletV &s1, const PndCATrackParamVector &param, const float_m isValid) : fParam(param), fIsValid(isValid) { fNHits = s1.N() + 1; }
22 
23  int N() const { return fNHits; }
24 
25  const PndCATrackParamVector &Param() const { return fParam; }
27 
28  float_m IsValid() const { return fIsValid; }
29  void SetValid(float_m v) { fIsValid = v; }
30  // check wether a is neighbour from the right to this
31 
32  int_v fLastHit;
33  int fNHits;
35  float_m fIsValid;
36 };
37 
38 class PndCANPletsV : public PndCAStationArray<PndCANPletV> {
39  public:
41  PndCANPletsV(int nSta, const PndCAHits *hits) : PndCAStationArray<PndCANPletV>(nSta, hits){};
42 };
43 
44 #endif
void SetValid(float_m v)
Definition: PndCANPletsV.h:29
const PndCATrackParamVector & Param() const
Definition: PndCANPletsV.h:25
float_m IsValid() const
Definition: PndCANPletsV.h:28
float_m fIsValid
Definition: PndCANPletsV.h:35
int N() const
Definition: PndCANPletsV.h:23
PndCANPletV(const PndCANPletV &s1, const PndCATrackParamVector &param, const float_m isValid)
Definition: PndCANPletsV.h:21
__m128 v
Definition: P4_F32vec4.h:3
int_v fLastHit
Definition: PndCANPletsV.h:32
PndCATrackParamVector fParam
Definition: PndCANPletsV.h:34
PndCANPletsV(int nSta, const PndCAHits *hits)
Definition: PndCANPletsV.h:41
PndCATrackParamVector & ParamRef()
Definition: PndCANPletsV.h:26