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
AlgebraicVector3
ROOT::Math::SVector< double, 3 > AlgebraicVector3
Definition: AlgebraicROOTObjects.h:12
funct::false
false
Definition: Factorize.h:34
BasicMultiVertexState::theCombinedState
VertexState theCombinedState
Definition: BasicMultiVertexState.h:100
BasicVertexState::pointer
Proxy::pointer pointer
Definition: BasicVertexState.h:20
BasicMultiVertexState::weight
GlobalWeight weight() const override
Definition: BasicMultiVertexState.cc:34
BasicMultiVertexState::isValid
bool isValid() const override
Definition: BasicMultiVertexState.h:88
BasicMultiVertexState::weightTimesPosition
AlgebraicVector3 weightTimesPosition() const override
Definition: BasicMultiVertexState.cc:44
MultiVertexStateCombiner
Definition: MultiVertexStateCombiner.h:14
BasicMultiVertexState::time
double time() const override
Definition: BasicMultiVertexState.cc:14
BasicMultiVertexState::components
std::vector< VertexState > components() const override
Definition: BasicMultiVertexState.h:83
BasicVertexState.h
BasicMultiVertexState::valid
bool valid
Definition: BasicMultiVertexState.h:98
BasicMultiVertexState::timeError
double timeError() const override
Definition: BasicMultiVertexState.cc:24
BasicMultiVertexState::weightInMixture
double weightInMixture() const override
Definition: BasicMultiVertexState.cc:60
VertexState.h
BasicMultiVertexState::clone
pointer clone() const override
Definition: BasicMultiVertexState.h:22
MultiVertexStateCombiner.h
BasicMultiVertexState::theCombinedStateUp2Date
bool theCombinedStateUp2Date
Definition: BasicMultiVertexState.h:101
BasicVertexState
Definition: BasicVertexState.h:17
Point3DBase< float, GlobalTag >
BasicMultiVertexState::is4D
bool is4D() const override
Definition: BasicMultiVertexState.h:90
BasicMultiVertexState
Definition: BasicMultiVertexState.h:12
BasicMultiVertexState::BasicMultiVertexState
BasicMultiVertexState()
Definition: BasicMultiVertexState.h:16
BasicMultiVertexState::error4D
GlobalError error4D() const override
Definition: BasicMultiVertexState.cc:29
VertexState::is4D
bool is4D() const
Definition: VertexState.h:95
GlobalErrorBase< double, ErrorMatrixTag >
BasicMultiVertexState::checkCombinedState
void checkCombinedState() const
Definition: BasicMultiVertexState.cc:76
AlgebraicVector4
ROOT::Math::SVector< double, 4 > AlgebraicVector4
Definition: AlgebraicROOTObjects.h:13
BasicMultiVertexState::theComponents
std::vector< VertexState > theComponents
Definition: BasicMultiVertexState.h:99
VertexState
Definition: VertexState.h:13
BasicMultiVertexState::theCombiner
MultiVertexStateCombiner theCombiner
Definition: BasicMultiVertexState.h:103
BasicMultiVertexState::position
GlobalPoint position() const override
Definition: BasicMultiVertexState.cc:9
BasicMultiVertexState::weight4D
GlobalWeight weight4D() const override
Definition: BasicMultiVertexState.cc:39
BasicMultiVertexState::weightTimesPosition4D
AlgebraicVector4 weightTimesPosition4D() const override
Definition: BasicMultiVertexState.cc:49
BasicMultiVertexState::error
GlobalError error() const override
Definition: BasicMultiVertexState.cc:19