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  virtual BasicMultiVertexState* clone() const
25  {
26  return new BasicMultiVertexState(*this);
27  }
28 
32  GlobalPoint position() const;
33 
37  double time() const;
38 
43  GlobalError error() const;
44 
49  double timeError() const;
50 
55  GlobalError error4D() const;
56 
61  GlobalWeight weight() const;
62 
67  GlobalWeight weight4D() const;
68 
73 
78 
83  double weightInMixture() const;
84 
88  virtual std::vector<VertexState> components() const {
89  return theComponents;
90  }
91 
95  bool isValid() const {return valid;}
96 
97  bool is4D() const { 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
virtual BasicMultiVertexState * clone() const
GlobalError error() const
GlobalError error4D() const
AlgebraicVector3 weightTimesPosition() const
MultiVertexStateCombiner theCombiner
ROOT::Math::SVector< double, 3 > AlgebraicVector3
std::vector< VertexState > theComponents
virtual std::vector< VertexState > components() const
AlgebraicVector4 weightTimesPosition4D() const
bool is4D() const
Definition: VertexState.h:133
GlobalWeight weight() const
ROOT::Math::SVector< double, 4 > AlgebraicVector4
GlobalPoint position() const
GlobalWeight weight4D() const