#include <SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h>
Public Member Functions | |
const int | getBunchCrossing () const |
const std::vector< edm::EventID > & | getPU_EventID () const |
const std::vector< float > & | getPU_instLumi () const |
const std::vector< int > & | getPU_ntrks_highpT () const |
const std::vector< int > & | getPU_ntrks_lowpT () const |
const int | getPU_NumInteractions () const |
const std::vector< float > & | getPU_sumpT_highpT () const |
const std::vector< float > & | getPU_sumpT_lowpT () const |
const std::vector< float > & | getPU_zpositions () const |
const float | getTrueNumInteractions () const |
PileupSummaryInfo (const int num_PU_vertices, std::vector< float > &zpositions, std::vector< float > &sumpT_lowpT, std::vector< float > &sumpT_highpT, std::vector< int > &ntrks_lowpT, std::vector< int > &ntrks_highpT, int bunchCrossing, float TrueNumInteractions) | |
PileupSummaryInfo (const int num_PU_vertices, std::vector< float > &zpositions, std::vector< float > &sumpT_lowpT, std::vector< float > &sumpT_highpT, std::vector< int > &ntrks_lowpT, std::vector< int > &ntrks_highpT, int bunchCrossing) | |
PileupSummaryInfo (const int num_PU_vertices, std::vector< float > &instLumi, std::vector< edm::EventID > &eventInfo) | |
PileupSummaryInfo (const int num_PU_vertices, std::vector< float > &zpositions, std::vector< float > &sumpT_lowpT, std::vector< float > &sumpT_highpT, std::vector< int > &ntrks_lowpT, std::vector< int > &ntrks_highpT) | |
PileupSummaryInfo () | |
~PileupSummaryInfo () | |
Private Attributes | |
int | bunchCrossing_ |
std::vector< edm::EventID > | eventInfo_ |
std::vector< float > | instLumi_ |
std::vector< int > | ntrks_highpT_ |
std::vector< int > | ntrks_lowpT_ |
int | num_PU_vertices_ |
std::vector< float > | sumpT_highpT_ |
std::vector< float > | sumpT_lowpT_ |
float | TrueNumInteractions_ |
std::vector< float > | zpositions_ |
Description: contains information related to the details of the pileup simulation for a given event Usage: purely descriptive
Definition at line 25 of file PileupSummaryInfo.h.
PileupSummaryInfo::PileupSummaryInfo | ( | ) | [inline] |
Definition at line 29 of file PileupSummaryInfo.h.
{};
PileupSummaryInfo::PileupSummaryInfo | ( | const int | num_PU_vertices, |
std::vector< float > & | zpositions, | ||
std::vector< float > & | sumpT_lowpT, | ||
std::vector< float > & | sumpT_highpT, | ||
std::vector< int > & | ntrks_lowpT, | ||
std::vector< int > & | ntrks_highpT | ||
) |
Definition at line 17 of file PileupSummaryInfo.cc.
References eventInfo_, instLumi_, ntrks_highpT_, ntrks_lowpT_, num_PU_vertices_, sumpT_highpT_, sumpT_lowpT_, and zpositions_.
{ num_PU_vertices_ = num_PU_vertices; zpositions_.clear(); sumpT_lowpT_.clear(); sumpT_highpT_.clear(); ntrks_lowpT_.clear(); ntrks_highpT_.clear(); instLumi_.clear(); eventInfo_.clear(); int NLoop = zpositions.size(); for( int ivtx = 0; ivtx<NLoop ; ++ivtx) { zpositions_.push_back(zpositions[ivtx]); sumpT_lowpT_.push_back(sumpT_lowpT[ivtx]); sumpT_highpT_.push_back(sumpT_highpT[ivtx]); ntrks_lowpT_.push_back(ntrks_lowpT[ivtx]); ntrks_highpT_.push_back(ntrks_highpT[ivtx]); } }
PileupSummaryInfo::PileupSummaryInfo | ( | const int | num_PU_vertices, |
std::vector< float > & | zpositions, | ||
std::vector< float > & | sumpT_lowpT, | ||
std::vector< float > & | sumpT_highpT, | ||
std::vector< int > & | ntrks_lowpT, | ||
std::vector< int > & | ntrks_highpT, | ||
int | bunchCrossing | ||
) |
Definition at line 46 of file PileupSummaryInfo.cc.
References bunchCrossing_, eventInfo_, instLumi_, ntrks_highpT_, ntrks_lowpT_, num_PU_vertices_, sumpT_highpT_, sumpT_lowpT_, and zpositions_.
{ num_PU_vertices_ = num_PU_vertices; zpositions_.clear(); sumpT_lowpT_.clear(); sumpT_highpT_.clear(); ntrks_lowpT_.clear(); ntrks_highpT_.clear(); instLumi_.clear(); eventInfo_.clear(); bunchCrossing_ = bunchCrossing; int NLoop = zpositions.size(); for( int ivtx = 0; ivtx<NLoop ; ++ivtx) { zpositions_.push_back(zpositions[ivtx]); sumpT_lowpT_.push_back(sumpT_lowpT[ivtx]); sumpT_highpT_.push_back(sumpT_highpT[ivtx]); ntrks_lowpT_.push_back(ntrks_lowpT[ivtx]); ntrks_highpT_.push_back(ntrks_highpT[ivtx]); } }
PileupSummaryInfo::PileupSummaryInfo | ( | const int | num_PU_vertices, |
std::vector< float > & | zpositions, | ||
std::vector< float > & | sumpT_lowpT, | ||
std::vector< float > & | sumpT_highpT, | ||
std::vector< int > & | ntrks_lowpT, | ||
std::vector< int > & | ntrks_highpT, | ||
int | bunchCrossing, | ||
float | TrueNumInteractions | ||
) |
Definition at line 78 of file PileupSummaryInfo.cc.
References bunchCrossing_, eventInfo_, instLumi_, ntrks_highpT_, ntrks_lowpT_, num_PU_vertices_, sumpT_highpT_, sumpT_lowpT_, TrueNumInteractions_, and zpositions_.
{ num_PU_vertices_ = num_PU_vertices; zpositions_.clear(); sumpT_lowpT_.clear(); sumpT_highpT_.clear(); ntrks_lowpT_.clear(); ntrks_highpT_.clear(); instLumi_.clear(); eventInfo_.clear(); bunchCrossing_ = bunchCrossing; TrueNumInteractions_ = TrueNumInteractions; int NLoop = zpositions.size(); for( int ivtx = 0; ivtx<NLoop ; ++ivtx) { zpositions_.push_back(zpositions[ivtx]); sumpT_lowpT_.push_back(sumpT_lowpT[ivtx]); sumpT_highpT_.push_back(sumpT_highpT[ivtx]); ntrks_lowpT_.push_back(ntrks_lowpT[ivtx]); ntrks_highpT_.push_back(ntrks_highpT[ivtx]); } }
PileupSummaryInfo::PileupSummaryInfo | ( | const int | num_PU_vertices, |
std::vector< float > & | instLumi, | ||
std::vector< edm::EventID > & | eventInfo | ||
) |
Definition at line 113 of file PileupSummaryInfo.cc.
References eventInfo_, instLumi_, ntrks_highpT_, ntrks_lowpT_, num_PU_vertices_, sumpT_highpT_, sumpT_lowpT_, and zpositions_.
{ num_PU_vertices_ = num_PU_vertices; zpositions_.clear(); sumpT_lowpT_.clear(); sumpT_highpT_.clear(); ntrks_lowpT_.clear(); ntrks_highpT_.clear(); instLumi_.clear(); eventInfo_.clear(); for( int ivtx = 0; ivtx<num_PU_vertices ; ++ivtx) { instLumi_.push_back(instLumi[ivtx]); eventInfo_.push_back(eventInfo[ivtx]); } }
PileupSummaryInfo::~PileupSummaryInfo | ( | ) |
Definition at line 133 of file PileupSummaryInfo.cc.
{ }
const int PileupSummaryInfo::getBunchCrossing | ( | void | ) | const [inline] |
Definition at line 71 of file PileupSummaryInfo.h.
References bunchCrossing_.
Referenced by FFTJetPileupAnalyzer::analyzePileup().
{ return bunchCrossing_;}
const std::vector<edm::EventID>& PileupSummaryInfo::getPU_EventID | ( | ) | const [inline] |
const std::vector<float>& PileupSummaryInfo::getPU_instLumi | ( | ) | const [inline] |
const std::vector<int>& PileupSummaryInfo::getPU_ntrks_highpT | ( | ) | const [inline] |
Definition at line 68 of file PileupSummaryInfo.h.
References ntrks_highpT_.
{ return ntrks_highpT_; }
const std::vector<int>& PileupSummaryInfo::getPU_ntrks_lowpT | ( | ) | const [inline] |
Definition at line 67 of file PileupSummaryInfo.h.
References ntrks_lowpT_.
{ return ntrks_lowpT_; }
const int PileupSummaryInfo::getPU_NumInteractions | ( | ) | const [inline] |
Definition at line 63 of file PileupSummaryInfo.h.
References num_PU_vertices_.
Referenced by FFTJetPileupAnalyzer::analyzePileup().
{ return num_PU_vertices_; }
const std::vector<float>& PileupSummaryInfo::getPU_sumpT_highpT | ( | ) | const [inline] |
Definition at line 66 of file PileupSummaryInfo.h.
References sumpT_highpT_.
Referenced by FFTJetPileupAnalyzer::analyzePileup().
{ return sumpT_highpT_; }
const std::vector<float>& PileupSummaryInfo::getPU_sumpT_lowpT | ( | ) | const [inline] |
Definition at line 65 of file PileupSummaryInfo.h.
References sumpT_lowpT_.
Referenced by FFTJetPileupAnalyzer::analyzePileup().
{ return sumpT_lowpT_; }
const std::vector<float>& PileupSummaryInfo::getPU_zpositions | ( | ) | const [inline] |
const float PileupSummaryInfo::getTrueNumInteractions | ( | ) | const [inline] |
Definition at line 72 of file PileupSummaryInfo.h.
References TrueNumInteractions_.
{ return TrueNumInteractions_;}
int PileupSummaryInfo::bunchCrossing_ [private] |
Definition at line 84 of file PileupSummaryInfo.h.
Referenced by getBunchCrossing(), and PileupSummaryInfo().
std::vector<edm::EventID> PileupSummaryInfo::eventInfo_ [private] |
Definition at line 91 of file PileupSummaryInfo.h.
Referenced by getPU_EventID(), and PileupSummaryInfo().
std::vector<float> PileupSummaryInfo::instLumi_ [private] |
Definition at line 90 of file PileupSummaryInfo.h.
Referenced by getPU_instLumi(), and PileupSummaryInfo().
std::vector<int> PileupSummaryInfo::ntrks_highpT_ [private] |
Definition at line 83 of file PileupSummaryInfo.h.
Referenced by getPU_ntrks_highpT(), and PileupSummaryInfo().
std::vector<int> PileupSummaryInfo::ntrks_lowpT_ [private] |
Definition at line 82 of file PileupSummaryInfo.h.
Referenced by getPU_ntrks_lowpT(), and PileupSummaryInfo().
int PileupSummaryInfo::num_PU_vertices_ [private] |
Definition at line 78 of file PileupSummaryInfo.h.
Referenced by getPU_NumInteractions(), and PileupSummaryInfo().
std::vector<float> PileupSummaryInfo::sumpT_highpT_ [private] |
Definition at line 81 of file PileupSummaryInfo.h.
Referenced by getPU_sumpT_highpT(), and PileupSummaryInfo().
std::vector<float> PileupSummaryInfo::sumpT_lowpT_ [private] |
Definition at line 80 of file PileupSummaryInfo.h.
Referenced by getPU_sumpT_lowpT(), and PileupSummaryInfo().
float PileupSummaryInfo::TrueNumInteractions_ [private] |
Definition at line 85 of file PileupSummaryInfo.h.
Referenced by getTrueNumInteractions(), and PileupSummaryInfo().
std::vector<float> PileupSummaryInfo::zpositions_ [private] |
Definition at line 79 of file PileupSummaryInfo.h.
Referenced by getPU_zpositions(), and PileupSummaryInfo().