File indexing completed on 2023-10-25 10:03:50
0001 #ifndef PileupVertexContent_h
0002 #define PileupVertexContent_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <vector>
0020 #include <string>
0021 #include <iostream>
0022 #include "DataFormats/Math/interface/LorentzVector.h"
0023
0024 class PileupVertexContent {
0025 public:
0026 PileupVertexContent(){};
0027
0028 PileupVertexContent(const std::vector<float>& pT_hat,
0029 const std::vector<float>& z_Vtx,
0030 const std::vector<float>& t_Vtx)
0031 : pT_hats_(pT_hat), z_Vtxs_(z_Vtx), t_Vtxs_(t_Vtx){};
0032
0033 ~PileupVertexContent() {
0034 pT_hats_.clear();
0035 z_Vtxs_.clear();
0036 t_Vtxs_.clear();
0037 };
0038
0039 const std::vector<float>& getMix_pT_hats() const { return pT_hats_; }
0040 const std::vector<float>& getMix_z_Vtxs() const { return z_Vtxs_; }
0041 const std::vector<float>& getMix_t_Vtxs() const { return t_Vtxs_; }
0042
0043 private:
0044
0045
0046 std::vector<float> pT_hats_;
0047 std::vector<float> z_Vtxs_;
0048 std::vector<float> t_Vtxs_;
0049 };
0050
0051 #endif