test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
38  GlobalError error() const;
39 
44  GlobalWeight weight() const;
45 
50 
55  double weightInMixture() const;
56 
60  virtual std::vector<VertexState> components() const {
61  return theComponents;
62  }
63 
67  bool isValid() const {return valid;}
68 
69 private:
70 
71  void checkCombinedState() const;
72 
73  bool valid;
74  mutable std::vector<VertexState> theComponents;
77 
79 
80 };
81 
82 #endif
virtual BasicMultiVertexState * clone() const
GlobalError error() const
AlgebraicVector3 weightTimesPosition() const
MultiVertexStateCombiner theCombiner
ROOT::Math::SVector< double, 3 > AlgebraicVector3
std::vector< VertexState > theComponents
virtual std::vector< VertexState > components() const
GlobalWeight weight() const
volatile std::atomic< bool > shutdown_flag false
GlobalPoint position() const