CMS 3D CMS Logo

BasicMultiVertexState.h
Go to the documentation of this file.
1 #ifndef BasicMultiVertexState_H
2 #define BasicMultiVertexState_H
3 
7 
13 
14 public:
15 
19 
20  BasicMultiVertexState(const std::vector<VertexState>& vsComp);
21 
24  pointer clone() const override
25  {
26  return build<BasicMultiVertexState>(*this);
27  }
28 
32  GlobalPoint position() const override;
33 
37  double time() const override;
38 
43  GlobalError error() const override;
44 
49  double timeError() const override;
50 
55  GlobalError error4D() const override;
56 
61  GlobalWeight weight() const override;
62 
67  GlobalWeight weight4D() const override;
68 
72  AlgebraicVector3 weightTimesPosition() const override;
73 
77  AlgebraicVector4 weightTimesPosition4D() const override;
78 
83  double weightInMixture() const override;
84 
88  std::vector<VertexState> components() const override {
89  return theComponents;
90  }
91 
95  bool isValid() const override {return valid;}
96 
97  bool is4D() const override { checkCombinedState(); return theCombinedState.is4D(); }
98 
99 private:
100 
101  void checkCombinedState() const;
102 
103  bool valid;
104  mutable std::vector<VertexState> theComponents;
107 
109 
110 };
111 
112 #endif
GlobalWeight weight4D() const override
GlobalError error4D() const override
AlgebraicVector4 weightTimesPosition4D() const override
GlobalPoint position() const override
std::vector< VertexState > components() const override
GlobalWeight weight() const override
MultiVertexStateCombiner theCombiner
Proxy::pointer pointer
bool is4D() const override
bool isValid() const override
ROOT::Math::SVector< double, 3 > AlgebraicVector3
double time() const override
GlobalError error() const override
double timeError() const override
std::vector< VertexState > theComponents
bool is4D() const
Definition: VertexState.h:133
double weightInMixture() const override
pointer clone() const override
ROOT::Math::SVector< double, 4 > AlgebraicVector4
AlgebraicVector3 weightTimesPosition() const override