CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PileupVertexContent.h
Go to the documentation of this file.
1 #ifndef PileupVertexContent_h
2 #define PileupVertexContent_h
3 // -*- C++ -*-
4 //
5 // Package: PileupVertexContent
6 // Class : PileupVertexContent
7 //
13 //
14 // Original Author: Mike Hildreth, Notre Dame
15 // Created: April 18, 2011
16 //
17 //
18 
19 #include <vector>
20 #include <string>
21 #include <iostream>
25 
27 
28  public:
29 
31 
32  PileupVertexContent( std::vector<float>& pT_hat,
33  std::vector<float>& z_Vtx ):
34  pT_hats_(pT_hat),
35  z_Vtxs_(z_Vtx)
36  { };
37 
38 
39 
40 
42  pT_hats_.clear();
43  z_Vtxs_.clear();
44  };
45 
46  const std::vector<float>& getMix_pT_hats() const { return pT_hats_; }
47  const std::vector<float>& getMix_z_Vtxs() const { return z_Vtxs_; }
48 
49  private:
50 
51  // for "standard" pileup: we have MC Truth information for these
52 
53 
54  std::vector<float> pT_hats_;
55  std::vector<float> z_Vtxs_;
56 
57 };
58 
59 #endif
const std::vector< float > & getMix_pT_hats() const
std::vector< float > pT_hats_
PileupVertexContent(std::vector< float > &pT_hat, std::vector< float > &z_Vtx)
std::vector< float > z_Vtxs_
const std::vector< float > & getMix_z_Vtxs() const