File indexing completed on 2023-10-25 09:39:57
0001 #ifndef DataFormats_Run3ScoutingVertex_h
0002 #define DataFormats_Run3ScoutingVertex_h
0003
0004 #include <vector>
0005
0006
0007
0008 class Run3ScoutingVertex {
0009 public:
0010
0011 Run3ScoutingVertex(float x,
0012 float y,
0013 float z,
0014 float zError,
0015 float xError,
0016 float yError,
0017 int tracksSize,
0018 float chi2,
0019 int ndof,
0020 bool isValidVtx)
0021 : x_(x),
0022 y_(y),
0023 z_(z),
0024 zError_(zError),
0025 xError_(xError),
0026 yError_(yError),
0027 tracksSize_(tracksSize),
0028 chi2_(chi2),
0029 ndof_(ndof),
0030 isValidVtx_(isValidVtx) {}
0031
0032 Run3ScoutingVertex()
0033 : x_(0),
0034 y_(0),
0035 z_(0),
0036 zError_(0),
0037 xError_(0),
0038 yError_(0),
0039 tracksSize_(0),
0040 chi2_(0),
0041 ndof_(0),
0042 isValidVtx_(false) {}
0043
0044
0045 float x() const { return x_; }
0046 float y() const { return y_; }
0047 float z() const { return z_; }
0048 float zError() const { return zError_; }
0049 float xError() const { return xError_; }
0050 float yError() const { return yError_; }
0051 int tracksSize() const { return tracksSize_; }
0052 float chi2() const { return chi2_; }
0053 int ndof() const { return ndof_; }
0054 bool isValidVtx() const { return isValidVtx_; }
0055
0056 private:
0057 float x_;
0058 float y_;
0059 float z_;
0060 float zError_;
0061 float xError_;
0062 float yError_;
0063 int tracksSize_;
0064 float chi2_;
0065 int ndof_;
0066 bool isValidVtx_;
0067 };
0068
0069 typedef std::vector<Run3ScoutingVertex> Run3ScoutingVertexCollection;
0070
0071 #endif