Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:52

0001 // -*- C++ -*-
0002 //
0003 // Package:     PileupSummaryInfo
0004 // Class  :     PileupSummaryInfo
0005 //
0006 // Implementation:
0007 //
0008 //
0009 // Original Author:  Mike Hildreth, Notre Dame
0010 //         Created:
0011 //
0012 
0013 #include "SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h"
0014 
0015 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
0016                                      const std::vector<float>& zpositions,
0017                                      const std::vector<float>& times,
0018                                      const std::vector<float>& sumpT_lowpT,
0019                                      const std::vector<float>& sumpT_highpT,
0020                                      const std::vector<int>& ntrks_lowpT,
0021                                      const std::vector<int>& ntrks_highpT)
0022     : num_PU_vertices_(num_PU_vertices),
0023       zpositions_(zpositions),
0024       times_(times),
0025       sumpT_lowpT_(sumpT_lowpT),
0026       sumpT_highpT_(sumpT_highpT),
0027       ntrks_lowpT_(ntrks_lowpT),
0028       ntrks_highpT_(ntrks_highpT) {}
0029 
0030 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
0031                                      const std::vector<float>& zpositions,
0032                                      const std::vector<float>& times,
0033                                      const std::vector<float>& sumpT_lowpT,
0034                                      const std::vector<float>& sumpT_highpT,
0035                                      const std::vector<int>& ntrks_lowpT,
0036                                      const std::vector<int>& ntrks_highpT,
0037                                      int bunchCrossing)
0038     : num_PU_vertices_(num_PU_vertices),
0039       zpositions_(zpositions),
0040       times_(times),
0041       sumpT_lowpT_(sumpT_lowpT),
0042       sumpT_highpT_(sumpT_highpT),
0043       ntrks_lowpT_(ntrks_lowpT),
0044       ntrks_highpT_(ntrks_highpT),
0045       bunchCrossing_(bunchCrossing) {}
0046 
0047 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
0048                                      const std::vector<float>& zpositions,
0049                                      const std::vector<float>& times,
0050                                      const std::vector<float>& sumpT_lowpT,
0051                                      const std::vector<float>& sumpT_highpT,
0052                                      const std::vector<int>& ntrks_lowpT,
0053                                      const std::vector<int>& ntrks_highpT,
0054                                      const std::vector<edm::EventID>& eventInfo,
0055                                      const std::vector<float>& pThats,
0056                                      int bunchCrossing,
0057                                      float TrueNumInteractions,
0058                                      int bunchSpacing)
0059     : num_PU_vertices_(num_PU_vertices),
0060       zpositions_(zpositions),
0061       times_(times),
0062       sumpT_lowpT_(sumpT_lowpT),
0063       sumpT_highpT_(sumpT_highpT),
0064       ntrks_lowpT_(ntrks_lowpT),
0065       ntrks_highpT_(ntrks_highpT),
0066       eventInfo_(eventInfo),
0067       pT_hats_(pThats),
0068       bunchCrossing_(bunchCrossing),
0069       bunchSpacing_(bunchSpacing),
0070       TrueNumInteractions_(TrueNumInteractions) {}
0071 
0072 PileupSummaryInfo::PileupSummaryInfo(const int num_PU_vertices,
0073                                      const std::vector<float>& instLumi,
0074                                      const std::vector<edm::EventID>& eventInfo)
0075     : num_PU_vertices_(num_PU_vertices), eventInfo_(eventInfo), instLumi_(instLumi) {}
0076 
0077 PileupSummaryInfo::~PileupSummaryInfo() {}