FairRoot/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:
20 
21 
22  PndCANPletV( const PndCANPletV& s1, const PndCATrackParamVector& param, const float_m isValid ):fParam(param), fIsValid(isValid) {
23  fNHits = s1.N() + 1;
24  }
25 
26  int N() const { return fNHits;}
27 
28  const PndCATrackParamVector& Param() const { return fParam; }
30 
31  float_m IsValid() const { return fIsValid; }
32  void SetValid( float_m v ) { fIsValid=v; }
33  // check wether a is neighbour from the right to this
34 
35  int_v fLastHit;
36  int fNHits;
38  float_m fIsValid;
39 };
40 
41 class PndCANPletsV: public PndCAStationArray<PndCANPletV > {
42  public:
44  PndCANPletsV( int nSta, const PndCAHits* hits ):PndCAStationArray<PndCANPletV>( nSta,hits ){};
45 
46 };
47 
48 #endif
void SetValid(float_m v)
Definition: PndCANPletsV.h:32
float_m fIsValid
Definition: PndCANPletsV.h:38
int N() const
Definition: PndCANPletsV.h:26
PndCANPletV(const PndCANPletV &s1, const PndCATrackParamVector &param, const float_m isValid)
Definition: PndCANPletsV.h:22
__m128 v
Definition: P4_F32vec4.h:4
int_v fLastHit
Definition: PndCANPletsV.h:35
const PndCATrackParamVector & Param() const
Definition: PndCANPletsV.h:28
PndCATrackParamVector fParam
Definition: PndCANPletsV.h:37
PndCANPletsV(int nSta, const PndCAHits *hits)
Definition: PndCANPletsV.h:44
PndCATrackParamVector & ParamRef()
Definition: PndCANPletsV.h:29
float_m IsValid() const
Definition: PndCANPletsV.h:31
CbmHit * hits[nHits]
Definition: RiemannTest.C:19