CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
PileupSummaryInfo Class Reference

#include <SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h>

Public Member Functions

const int getBunchCrossing () const
 
const int getBunchSpacing () 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_pT_hats () const
 
const std::vector< float > & getPU_sumpT_highpT () const
 
const std::vector< float > & getPU_sumpT_lowpT () const
 
const std::vector< float > & getPU_times () const
 
const std::vector< float > & getPU_zpositions () const
 
const float getTrueNumInteractions () const
 
bool has_times () const
 
 PileupSummaryInfo ()
 
 PileupSummaryInfo (const int num_PU_vertices, const std::vector< float > &zpositions, const std::vector< float > &times, const std::vector< float > &sumpT_lowpT, const std::vector< float > &sumpT_highpT, const std::vector< int > &ntrks_lowpT, const std::vector< int > &ntrks_highpT)
 
 PileupSummaryInfo (const int num_PU_vertices, const std::vector< float > &zpositions, const std::vector< float > &times, const std::vector< float > &sumpT_lowpT, const std::vector< float > &sumpT_highpT, const std::vector< int > &ntrks_lowpT, const std::vector< int > &ntrks_highpT, int bunchCrossing)
 
 PileupSummaryInfo (const int num_PU_vertices, const std::vector< float > &zpositions, const std::vector< float > &times, const std::vector< float > &sumpT_lowpT, const std::vector< float > &sumpT_highpT, const std::vector< int > &ntrks_lowpT, const std::vector< int > &ntrks_highpT, const std::vector< edm::EventID > &eventInfo, const std::vector< float > &pT_hats, int bunchCrossing, float TrueNumInteractions, int bunchSpacing)
 
 PileupSummaryInfo (const int num_PU_vertices, const std::vector< float > &instLumi, const std::vector< edm::EventID > &eventInfo)
 
 ~PileupSummaryInfo ()
 

Private Attributes

int bunchCrossing_
 
int bunchSpacing_
 
std::vector< edm::EventIDeventInfo_
 
std::vector< float > instLumi_
 
std::vector< int > ntrks_highpT_
 
std::vector< int > ntrks_lowpT_
 
int num_PU_vertices_
 
std::vector< float > pT_hats_
 
std::vector< float > sumpT_highpT_
 
std::vector< float > sumpT_lowpT_
 
std::vector< float > times_
 
float TrueNumInteractions_
 
std::vector< float > zpositions_
 

Detailed Description

Description: contains information related to the details of the pileup simulation for a given event Usage: purely descriptive

Definition at line 22 of file PileupSummaryInfo.h.

Constructor & Destructor Documentation

PileupSummaryInfo::PileupSummaryInfo ( )
inline

Definition at line 24 of file PileupSummaryInfo.h.

24 {};
PileupSummaryInfo::PileupSummaryInfo ( const int  num_PU_vertices,
const std::vector< float > &  zpositions,
const std::vector< float > &  times,
const std::vector< float > &  sumpT_lowpT,
const std::vector< float > &  sumpT_highpT,
const std::vector< int > &  ntrks_lowpT,
const std::vector< int > &  ntrks_highpT 
)

Definition at line 15 of file PileupSummaryInfo.cc.

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) {}
std::vector< int > ntrks_lowpT_
std::vector< float > sumpT_highpT_
std::vector< float > sumpT_lowpT_
std::vector< float > zpositions_
std::vector< int > ntrks_highpT_
std::vector< float > times_
PileupSummaryInfo::PileupSummaryInfo ( const int  num_PU_vertices,
const std::vector< float > &  zpositions,
const std::vector< float > &  times,
const std::vector< float > &  sumpT_lowpT,
const std::vector< float > &  sumpT_highpT,
const std::vector< int > &  ntrks_lowpT,
const std::vector< int > &  ntrks_highpT,
int  bunchCrossing 
)

Definition at line 30 of file PileupSummaryInfo.cc.

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) {}
std::vector< int > ntrks_lowpT_
std::vector< float > sumpT_highpT_
std::vector< float > sumpT_lowpT_
std::vector< float > zpositions_
std::vector< int > ntrks_highpT_
std::vector< float > times_
PileupSummaryInfo::PileupSummaryInfo ( const int  num_PU_vertices,
const std::vector< float > &  zpositions,
const std::vector< float > &  times,
const std::vector< float > &  sumpT_lowpT,
const std::vector< float > &  sumpT_highpT,
const std::vector< int > &  ntrks_lowpT,
const std::vector< int > &  ntrks_highpT,
const std::vector< edm::EventID > &  eventInfo,
const std::vector< float > &  pT_hats,
int  bunchCrossing,
float  TrueNumInteractions,
int  bunchSpacing 
)

Definition at line 47 of file PileupSummaryInfo.cc.

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) {}
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 > times_
PileupSummaryInfo::PileupSummaryInfo ( const int  num_PU_vertices,
const std::vector< float > &  instLumi,
const std::vector< edm::EventID > &  eventInfo 
)

Definition at line 72 of file PileupSummaryInfo.cc.

75  : num_PU_vertices_(num_PU_vertices), eventInfo_(eventInfo), instLumi_(instLumi) {}
std::vector< edm::EventID > eventInfo_
std::vector< float > instLumi_
PileupSummaryInfo::~PileupSummaryInfo ( )

Definition at line 77 of file PileupSummaryInfo.cc.

77 {}

Member Function Documentation

const int PileupSummaryInfo::getBunchCrossing ( void  ) const
inline

Definition at line 73 of file PileupSummaryInfo.h.

References bunchCrossing_.

Referenced by FFTJetPileupAnalyzer::analyzePileup(), and PreMixingSiStripWorker::put().

73 { return bunchCrossing_; }
const int PileupSummaryInfo::getBunchSpacing ( ) const
inline

Definition at line 74 of file PileupSummaryInfo.h.

References bunchSpacing_.

74 { return bunchSpacing_; }
const std::vector<edm::EventID>& PileupSummaryInfo::getPU_EventID ( ) const
inline

Definition at line 71 of file PileupSummaryInfo.h.

References eventInfo_.

71 { return eventInfo_; }
std::vector< edm::EventID > eventInfo_
const std::vector<float>& PileupSummaryInfo::getPU_instLumi ( ) const
inline

Definition at line 70 of file PileupSummaryInfo.h.

References instLumi_.

70 { return instLumi_; }
std::vector< float > instLumi_
const std::vector<int>& PileupSummaryInfo::getPU_ntrks_highpT ( ) const
inline

Definition at line 69 of file PileupSummaryInfo.h.

References ntrks_highpT_.

69 { return ntrks_highpT_; }
std::vector< int > ntrks_highpT_
const std::vector<int>& PileupSummaryInfo::getPU_ntrks_lowpT ( ) const
inline

Definition at line 68 of file PileupSummaryInfo.h.

References ntrks_lowpT_.

68 { return ntrks_lowpT_; }
std::vector< int > ntrks_lowpT_
const int PileupSummaryInfo::getPU_NumInteractions ( ) const
inline

Definition at line 62 of file PileupSummaryInfo.h.

References num_PU_vertices_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

62 { return num_PU_vertices_; }
const std::vector<float>& PileupSummaryInfo::getPU_pT_hats ( ) const
inline

Definition at line 72 of file PileupSummaryInfo.h.

References pT_hats_.

72 { return pT_hats_; }
std::vector< float > pT_hats_
const std::vector<float>& PileupSummaryInfo::getPU_sumpT_highpT ( ) const
inline

Definition at line 67 of file PileupSummaryInfo.h.

References sumpT_highpT_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

67 { return sumpT_highpT_; }
std::vector< float > sumpT_highpT_
const std::vector<float>& PileupSummaryInfo::getPU_sumpT_lowpT ( ) const
inline

Definition at line 66 of file PileupSummaryInfo.h.

References sumpT_lowpT_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

66 { return sumpT_lowpT_; }
std::vector< float > sumpT_lowpT_
const std::vector<float>& PileupSummaryInfo::getPU_times ( ) const
inline

Definition at line 65 of file PileupSummaryInfo.h.

References times_.

65 { return times_; }
std::vector< float > times_
const std::vector<float>& PileupSummaryInfo::getPU_zpositions ( ) const
inline

Definition at line 63 of file PileupSummaryInfo.h.

References zpositions_.

63 { return zpositions_; }
std::vector< float > zpositions_
const float PileupSummaryInfo::getTrueNumInteractions ( ) const
inline

Definition at line 75 of file PileupSummaryInfo.h.

References TrueNumInteractions_.

75 { return TrueNumInteractions_; }
bool PileupSummaryInfo::has_times ( ) const
inline

Definition at line 64 of file PileupSummaryInfo.h.

References times_.

64 { return !times_.empty(); }
std::vector< float > times_

Member Data Documentation

int PileupSummaryInfo::bunchCrossing_
private

Definition at line 89 of file PileupSummaryInfo.h.

Referenced by getBunchCrossing().

int PileupSummaryInfo::bunchSpacing_
private

Definition at line 90 of file PileupSummaryInfo.h.

Referenced by getBunchSpacing().

std::vector<edm::EventID> PileupSummaryInfo::eventInfo_
private

Definition at line 87 of file PileupSummaryInfo.h.

Referenced by getPU_EventID().

std::vector<float> PileupSummaryInfo::instLumi_
private

Definition at line 95 of file PileupSummaryInfo.h.

Referenced by getPU_instLumi().

std::vector<int> PileupSummaryInfo::ntrks_highpT_
private

Definition at line 86 of file PileupSummaryInfo.h.

Referenced by getPU_ntrks_highpT().

std::vector<int> PileupSummaryInfo::ntrks_lowpT_
private

Definition at line 85 of file PileupSummaryInfo.h.

Referenced by getPU_ntrks_lowpT().

int PileupSummaryInfo::num_PU_vertices_
private

Definition at line 80 of file PileupSummaryInfo.h.

Referenced by getPU_NumInteractions().

std::vector<float> PileupSummaryInfo::pT_hats_
private

Definition at line 88 of file PileupSummaryInfo.h.

Referenced by getPU_pT_hats().

std::vector<float> PileupSummaryInfo::sumpT_highpT_
private

Definition at line 84 of file PileupSummaryInfo.h.

Referenced by getPU_sumpT_highpT().

std::vector<float> PileupSummaryInfo::sumpT_lowpT_
private

Definition at line 83 of file PileupSummaryInfo.h.

Referenced by getPU_sumpT_lowpT().

std::vector<float> PileupSummaryInfo::times_
private

Definition at line 82 of file PileupSummaryInfo.h.

Referenced by getPU_times(), and has_times().

float PileupSummaryInfo::TrueNumInteractions_
private

Definition at line 91 of file PileupSummaryInfo.h.

Referenced by getTrueNumInteractions().

std::vector<float> PileupSummaryInfo::zpositions_
private

Definition at line 81 of file PileupSummaryInfo.h.

Referenced by getPU_zpositions().