CMS 3D CMS Logo

BasicMultiVertexState.h
Go to the documentation of this file.
1 #ifndef BasicMultiVertexState_H
2 #define BasicMultiVertexState_H
3 
7 
13 public:
17 
18  BasicMultiVertexState(const std::vector<VertexState>& vsComp);
19 
22  pointer clone() const override { return build<BasicMultiVertexState>(*this); }
23 
27  GlobalPoint position() const override;
28 
32  double time() const override;
33 
38  GlobalError error() const override;
39 
44  double timeError() const override;
45 
50  GlobalError error4D() const override;
51 
56  GlobalWeight weight() const override;
57 
62  GlobalWeight weight4D() const override;
63 
67  AlgebraicVector3 weightTimesPosition() const override;
68 
72  AlgebraicVector4 weightTimesPosition4D() const override;
73 
78  double weightInMixture() const override;
79 
83  std::vector<VertexState> components() const override { return theComponents; }
84 
88  bool isValid() const override { return valid; }
89 
90  bool is4D() const override {
92  return theCombinedState.is4D();
93  }
94 
95 private:
96  void checkCombinedState() const;
97 
98  bool valid;
99  mutable std::vector<VertexState> theComponents;
102 
104 };
105 
106 #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, 4 > AlgebraicVector4
double time() const override
GlobalError error() const override
double timeError() const override
std::vector< VertexState > theComponents
bool is4D() const
Definition: VertexState.h:95
ROOT::Math::SVector< double, 3 > AlgebraicVector3
double weightInMixture() const override
pointer clone() const override
AlgebraicVector3 weightTimesPosition() const override