#include <SimDataFormats/PileupMixingContent/interface/PileupMixingContent.h>
Public Member Functions | |
const std::vector< int > & | getMix_bunchCrossing () const |
const std::vector< int > & | getMix_Ninteractions () const |
PileupMixingContent (std::vector< int > &bunchCrossing, std::vector< int > &n_interactions) | |
PileupMixingContent () | |
~PileupMixingContent () | |
Private Attributes | |
std::vector< int > | bunchCrossing_ |
std::vector< int > | n_interactions_ |
Description: contains information related to the details of the pileup simulation for a given event, filled by MixingModule Usage: purely descriptive
Definition at line 23 of file PileupMixingContent.h.
PileupMixingContent::PileupMixingContent | ( | ) | [inline] |
Definition at line 27 of file PileupMixingContent.h.
{};
PileupMixingContent::PileupMixingContent | ( | std::vector< int > & | bunchCrossing, |
std::vector< int > & | n_interactions | ||
) | [inline] |
Definition at line 29 of file PileupMixingContent.h.
References bunchCrossing_, and n_interactions_.
{ bunchCrossing_.reserve(bunchCrossing.size()); n_interactions_.reserve(bunchCrossing.size()); for(int inter=0; inter<(int)bunchCrossing.size(); ++inter) { bunchCrossing_.push_back(bunchCrossing[inter]); n_interactions_.push_back(n_interactions[inter]); } };
PileupMixingContent::~PileupMixingContent | ( | ) | [inline] |
Definition at line 44 of file PileupMixingContent.h.
References bunchCrossing_, and n_interactions_.
{ bunchCrossing_.clear(); n_interactions_.clear(); };
const std::vector<int>& PileupMixingContent::getMix_bunchCrossing | ( | ) | const [inline] |
Definition at line 50 of file PileupMixingContent.h.
References bunchCrossing_.
Referenced by PileupInformation::produce().
{ return bunchCrossing_; }
const std::vector<int>& PileupMixingContent::getMix_Ninteractions | ( | ) | const [inline] |
Definition at line 49 of file PileupMixingContent.h.
References n_interactions_.
Referenced by PileupInformation::produce().
{ return n_interactions_; }
std::vector<int> PileupMixingContent::bunchCrossing_ [private] |
Definition at line 57 of file PileupMixingContent.h.
Referenced by getMix_bunchCrossing(), PileupMixingContent(), and ~PileupMixingContent().
std::vector<int> PileupMixingContent::n_interactions_ [private] |
Definition at line 58 of file PileupMixingContent.h.
Referenced by getMix_Ninteractions(), PileupMixingContent(), and ~PileupMixingContent().