test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimDataFormats
PileupSummaryInfo
interface
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>
22
#include "
SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h
"
23
#include "
SimDataFormats/GeneratorProducts/interface/HepMCProduct.h
"
24
#include "
DataFormats/Math/interface/LorentzVector.h
"
25
26
class
PileupVertexContent
{
27
28
public
:
29
30
PileupVertexContent
(){};
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
41
~PileupVertexContent
(){
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
PileupVertexContent::~PileupVertexContent
~PileupVertexContent()
Definition:
PileupVertexContent.h:41
PileupVertexContent::getMix_pT_hats
const std::vector< float > & getMix_pT_hats() const
Definition:
PileupVertexContent.h:46
PileupVertexContent::pT_hats_
std::vector< float > pT_hats_
Definition:
PileupVertexContent.h:54
PileupVertexContent
Definition:
PileupVertexContent.h:26
PileupVertexContent::PileupVertexContent
PileupVertexContent(std::vector< float > &pT_hat, std::vector< float > &z_Vtx)
Definition:
PileupVertexContent.h:32
LorentzVector.h
HepMCProduct.h
PileupVertexContent::z_Vtxs_
std::vector< float > z_Vtxs_
Definition:
PileupVertexContent.h:55
PileupVertexContent::getMix_z_Vtxs
const std::vector< float > & getMix_z_Vtxs() const
Definition:
PileupVertexContent.h:47
GenEventInfoProduct.h
PileupVertexContent::PileupVertexContent
PileupVertexContent()
Definition:
PileupVertexContent.h:30
Generated for CMSSW Reference Manual by
1.8.5