ATLAS Offline Software
ForVrtClose.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef _TrkVKalVrtCore_ForVrtClose_H
6 #define _TrkVKalVrtCore_ForVrtClose_H
7 
9 
10 namespace Trk {
11 
12 //
13 // Structure needed for "passing near other vertex" constraint
14 // Vertex+cov.matrix+Charge themselves are also here
15 // (previously were in ForCFT structure!!!)
16 //
17 // Constraint usage is controlled by "passNearVertex" and "passWithTrkCov" flags
18 // in VKVertex object itself.
19 //--------------------------------------------------------------------------------
20 
21  struct ForVrtClose{
22  long int Charge{0}; // Charge of summary track for propagation
23  double vrt[3]{}, covvrt[6]{};
24  double dcovf[21]{}; // XYZPxPyPz covariance matrix
25  // for constraint calculation.
26  // Its dependance on vertex position is small,
27  // so it is calculated on previous iteration and
28  // not touched during PostFit
29  double ywgt[3]{}, rv0[2]{};
30  double cvder[12]{}; /* was [2][6] */
31  double dcv[6*(vkalNTrkM*3+3)]; /* was [6][903] */
32 
33  ForVrtClose(){ // cppcheck-suppress uninitMemberVar; large dcv array not initialized
34  dcovf[0]=dcovf[2]=dcovf[5]=dcovf[9]=dcovf[14]=dcovf[20]=10.;
35  };
36  };
37 
38 }
39 
40 #endif
Trk::ForVrtClose::dcovf
double dcovf[21]
Definition: ForVrtClose.h:24
CommonPars.h
Trk::ForVrtClose::Charge
long int Charge
Definition: ForVrtClose.h:22
Trk::ForVrtClose::rv0
double rv0[2]
Definition: ForVrtClose.h:29
Trk::ForVrtClose::vrt
double vrt[3]
Definition: ForVrtClose.h:23
Trk::ForVrtClose::cvder
double cvder[12]
Definition: ForVrtClose.h:30
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
vkalNTrkM
#define vkalNTrkM
Definition: CommonPars.h:22
Trk::ForVrtClose::ywgt
double ywgt[3]
Definition: ForVrtClose.h:29
Trk::ForVrtClose
Definition: ForVrtClose.h:21
Trk::ForVrtClose::dcv
double dcv[6 *(vkalNTrkM *3+3)]
Definition: ForVrtClose.h:31
Trk::ForVrtClose::covvrt
double covvrt[6]
Definition: ForVrtClose.h:23
Trk::ForVrtClose::ForVrtClose
ForVrtClose()
Definition: ForVrtClose.h:33