CMS 3D CMS Logo

BasicVertexState.h
Go to the documentation of this file.
1 #ifndef BasicVertexState_H
2 #define BasicVertexState_H
3 
5 
9 
10 #include <vector>
11 
12 class VertexState;
13 
18 public:
21 
22 public:
23  virtual ~BasicVertexState() {}
24 
25  template <typename T, typename... Args>
26  static std::shared_ptr<BasicVertexState> build(Args&&... args) {
27  return std::make_shared<T>(std::forward<Args>(args)...);
28  }
29 
30  virtual pointer clone() const = 0;
31 
34  virtual GlobalPoint position() const = 0;
35  virtual GlobalError error() const = 0;
36  virtual GlobalError error4D() const = 0;
37  virtual double time() const = 0;
38  virtual double timeError() const = 0;
39  virtual GlobalWeight weight() const = 0;
40  virtual GlobalWeight weight4D() const = 0;
41  virtual AlgebraicVector3 weightTimesPosition() const = 0;
42  virtual AlgebraicVector4 weightTimesPosition4D() const = 0;
43  virtual double weightInMixture() const = 0;
44  virtual std::vector<VertexState> components() const;
45  virtual bool isValid() const = 0;
46  virtual bool is4D() const = 0;
47 };
48 
49 #endif
writedatasetfile.args
args
Definition: writedatasetfile.py:18
BasicVertexState::error4D
virtual GlobalError error4D() const =0
AlgebraicVector3
ROOT::Math::SVector< double, 3 > AlgebraicVector3
Definition: AlgebraicROOTObjects.h:12
BasicVertexState::weightTimesPosition4D
virtual AlgebraicVector4 weightTimesPosition4D() const =0
BasicVertexState::pointer
Proxy::pointer pointer
Definition: BasicVertexState.h:20
BasicVertexState::components
virtual std::vector< VertexState > components() const
Definition: BasicVertexState.cc:4
BasicVertexState::weightInMixture
virtual double weightInMixture() const =0
ProxyBase11.h
ProxyBase11::pointer
std::shared_ptr< T > pointer
Definition: ProxyBase11.h:25
BasicVertexState
Definition: BasicVertexState.h:17
Point3DBase< float, GlobalTag >
BasicVertexState::clone
virtual pointer clone() const =0
BasicVertexState::timeError
virtual double timeError() const =0
BasicVertexState::time
virtual double time() const =0
GlobalWeight.h
BasicVertexState::build
static std::shared_ptr< BasicVertexState > build(Args &&... args)
Definition: BasicVertexState.h:26
BasicVertexState::weight4D
virtual GlobalWeight weight4D() const =0
BasicVertexState::error
virtual GlobalError error() const =0
GlobalError.h
GlobalErrorBase< double, ErrorMatrixTag >
BasicVertexState::position
virtual GlobalPoint position() const =0
AlgebraicVector4
ROOT::Math::SVector< double, 4 > AlgebraicVector4
Definition: AlgebraicROOTObjects.h:13
BasicVertexState::~BasicVertexState
virtual ~BasicVertexState()
Definition: BasicVertexState.h:23
ProxyBase11
Definition: ProxyBase11.h:23
T
long double T
Definition: Basic3DVectorLD.h:48
VertexState
Definition: VertexState.h:13
BasicVertexState::weight
virtual GlobalWeight weight() const =0
GlobalPoint.h
BasicVertexState::isValid
virtual bool isValid() const =0
BasicVertexState::weightTimesPosition
virtual AlgebraicVector3 weightTimesPosition() const =0
BasicVertexState::is4D
virtual bool is4D() const =0