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 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
31  const std::vector<float>& zpositions,
32  const std::vector<float>& times,
33  const std::vector<float>& sumpT_lowpT,
34  const std::vector<float>& sumpT_highpT,
35  const std::vector<int>& ntrks_lowpT,
36  const std::vector<int>& ntrks_highpT,
37  int bunchCrossing)
38  : num_PU_vertices_(num_PU_vertices),
39  zpositions_(zpositions),
40  times_(times),
41  sumpT_lowpT_(sumpT_lowpT),
42  sumpT_highpT_(sumpT_highpT),
43  ntrks_lowpT_(ntrks_lowpT),
44  ntrks_highpT_(ntrks_highpT),
45  bunchCrossing_(bunchCrossing) {}
46 
47 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
48  const std::vector<float>& zpositions,
49  const std::vector<float>& times,
50  const std::vector<float>& sumpT_lowpT,
51  const std::vector<float>& sumpT_highpT,
52  const std::vector<int>& ntrks_lowpT,
53  const std::vector<int>& ntrks_highpT,
54  const std::vector<edm::EventID>& eventInfo,
55  const std::vector<float>& pThats,
56  int bunchCrossing,
57  float TrueNumInteractions,
58  int bunchSpacing)
59  : num_PU_vertices_(num_PU_vertices),
60  zpositions_(zpositions),
61  times_(times),
62  sumpT_lowpT_(sumpT_lowpT),
63  sumpT_highpT_(sumpT_highpT),
64  ntrks_lowpT_(ntrks_lowpT),
65  ntrks_highpT_(ntrks_highpT),
66  eventInfo_(eventInfo),
67  pT_hats_(pThats),
68  bunchCrossing_(bunchCrossing),
69  bunchSpacing_(bunchSpacing),
70  TrueNumInteractions_(TrueNumInteractions) {}
71 
72 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
73  const std::vector<float>& instLumi,
74  const std::vector<edm::EventID>& eventInfo)
75  : num_PU_vertices_(num_PU_vertices), eventInfo_(eventInfo), instLumi_(instLumi) {}
76 
eventInfo
add run, event number and lumi section