CMS 3D CMS Logo

PileupSummaryInfo.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: PileupSummaryInfo
4 // Class : PileupSummaryInfo
5 //
6 // Implementation:
7 //
8 //
9 // Original Author: Mike Hildreth, Notre Dame
10 // Created:
11 //
12 
14 
15 PileupSummaryInfo::PileupSummaryInfo( const int num_PU_vertices,
16  const std::vector<float>& zpositions,
17  const std::vector<float>& times,
18  const std::vector<float>& sumpT_lowpT,
19  const std::vector<float>& sumpT_highpT,
20  const std::vector<int>& ntrks_lowpT,
21  const std::vector<int>& ntrks_highpT ) :
22  num_PU_vertices_(num_PU_vertices),
23  zpositions_(zpositions),
24  times_(times),
25  sumpT_lowpT_(sumpT_lowpT),
26  sumpT_highpT_(sumpT_highpT),
27  ntrks_lowpT_(ntrks_lowpT),
28  ntrks_highpT_(ntrks_highpT)
29 {
30 }
31 
32 PileupSummaryInfo::PileupSummaryInfo( const int num_PU_vertices,
33  const std::vector<float>& zpositions,
34  const std::vector<float>& times,
35  const std::vector<float>& sumpT_lowpT,
36  const std::vector<float>& sumpT_highpT,
37  const std::vector<int>& ntrks_lowpT,
38  const std::vector<int>& ntrks_highpT,
39  int bunchCrossing) :
40  num_PU_vertices_(num_PU_vertices),
41  zpositions_(zpositions),
42  times_(times),
43  sumpT_lowpT_(sumpT_lowpT),
44  sumpT_highpT_(sumpT_highpT),
45  ntrks_lowpT_(ntrks_lowpT),
46  ntrks_highpT_(ntrks_highpT),
47  bunchCrossing_(bunchCrossing)
48 {
49 }
50 
51 
52 PileupSummaryInfo::PileupSummaryInfo( const int num_PU_vertices,
53  const std::vector<float>& zpositions,
54  const std::vector<float>& times,
55  const std::vector<float>& sumpT_lowpT,
56  const std::vector<float>& sumpT_highpT,
57  const std::vector<int>& ntrks_lowpT,
58  const std::vector<int>& ntrks_highpT,
59  const std::vector<edm::EventID>& eventInfo,
60  const std::vector<float>& pThats,
61  int bunchCrossing,
62  float TrueNumInteractions,
63  int bunchSpacing):
64  num_PU_vertices_(num_PU_vertices),
65  zpositions_(zpositions),
66  times_(times),
67  sumpT_lowpT_(sumpT_lowpT),
68  sumpT_highpT_(sumpT_highpT),
69  ntrks_lowpT_(ntrks_lowpT),
70  ntrks_highpT_(ntrks_highpT),
71  eventInfo_(eventInfo),
72  pT_hats_(pThats),
73  bunchCrossing_(bunchCrossing),
74  bunchSpacing_(bunchSpacing),
75  TrueNumInteractions_(TrueNumInteractions)
76 {
77 }
78 
79 
80 
81 PileupSummaryInfo::PileupSummaryInfo( const int num_PU_vertices,
82  const std::vector<float>& instLumi,
83  const std::vector<edm::EventID>& eventInfo) :
84  num_PU_vertices_(num_PU_vertices),
85  eventInfo_(eventInfo),
86  instLumi_(instLumi)
87 {
88 }
89 
91 }
std::vector< int > ntrks_lowpT_
std::vector< edm::EventID > eventInfo_
std::vector< float > pT_hats_
std::vector< float > sumpT_highpT_
std::vector< float > sumpT_lowpT_
std::vector< float > zpositions_
std::vector< int > ntrks_highpT_
std::vector< float > instLumi_
eventInfo
add run, event number and lumi section
std::vector< float > times_