CMS 3D CMS Logo

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 24 of file PileupSummaryInfo.h.

Constructor & Destructor Documentation

PileupSummaryInfo::PileupSummaryInfo ( )
inline
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.

21  :
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 }
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 32 of file PileupSummaryInfo.cc.

39  :
40  num_PU_vertices_(num_PU_vertices),
41  zpositions_(zpositions),
42  times_(times),
43  sumpT_lowpT_(sumpT_lowpT),
44  sumpT_highpT_(sumpT_highpT),
45  ntrks_lowpT_(ntrks_lowpT),
46  ntrks_highpT_(ntrks_highpT),
47  bunchCrossing_(bunchCrossing)
48 {
49 }
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 52 of file PileupSummaryInfo.cc.

63  :
64  num_PU_vertices_(num_PU_vertices),
65  zpositions_(zpositions),
66  times_(times),
67  sumpT_lowpT_(sumpT_lowpT),
68  sumpT_highpT_(sumpT_highpT),
69  ntrks_lowpT_(ntrks_lowpT),
70  ntrks_highpT_(ntrks_highpT),
72  pT_hats_(pThats),
73  bunchCrossing_(bunchCrossing),
74  bunchSpacing_(bunchSpacing),
75  TrueNumInteractions_(TrueNumInteractions)
76 {
77 }
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_
eventInfo
add run, event number and lumi section
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 81 of file PileupSummaryInfo.cc.

83  :
84  num_PU_vertices_(num_PU_vertices),
87 {
88 }
std::vector< edm::EventID > eventInfo_
std::vector< float > instLumi_
eventInfo
add run, event number and lumi section
PileupSummaryInfo::~PileupSummaryInfo ( )

Definition at line 90 of file PileupSummaryInfo.cc.

Referenced by PileupSummaryInfo().

90  {
91 }

Member Function Documentation

const int PileupSummaryInfo::getBunchCrossing ( void  ) const
inline

Definition at line 78 of file PileupSummaryInfo.h.

References bunchCrossing_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

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

Definition at line 79 of file PileupSummaryInfo.h.

References bunchSpacing_.

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

Definition at line 76 of file PileupSummaryInfo.h.

References eventInfo_.

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

Definition at line 75 of file PileupSummaryInfo.h.

References instLumi_.

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

Definition at line 74 of file PileupSummaryInfo.h.

References ntrks_highpT_.

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

Definition at line 73 of file PileupSummaryInfo.h.

References ntrks_lowpT_.

73 { return ntrks_lowpT_; }
std::vector< int > ntrks_lowpT_
const int PileupSummaryInfo::getPU_NumInteractions ( ) const
inline
const std::vector<float>& PileupSummaryInfo::getPU_pT_hats ( ) const
inline

Definition at line 77 of file PileupSummaryInfo.h.

References pT_hats_.

Referenced by RemovePileUpDominatedEventsGen::filter().

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

Definition at line 72 of file PileupSummaryInfo.h.

References sumpT_highpT_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

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

Definition at line 71 of file PileupSummaryInfo.h.

References sumpT_lowpT_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

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

Definition at line 70 of file PileupSummaryInfo.h.

References times_.

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

Definition at line 68 of file PileupSummaryInfo.h.

References zpositions_.

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

Definition at line 80 of file PileupSummaryInfo.h.

References TrueNumInteractions_.

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

Definition at line 69 of file PileupSummaryInfo.h.

References times_.

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

Member Data Documentation

int PileupSummaryInfo::bunchCrossing_
private

Definition at line 95 of file PileupSummaryInfo.h.

Referenced by getBunchCrossing().

int PileupSummaryInfo::bunchSpacing_
private

Definition at line 96 of file PileupSummaryInfo.h.

Referenced by getBunchSpacing().

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

Definition at line 93 of file PileupSummaryInfo.h.

Referenced by getPU_EventID().

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

Definition at line 102 of file PileupSummaryInfo.h.

Referenced by getPU_instLumi().

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

Definition at line 92 of file PileupSummaryInfo.h.

Referenced by getPU_ntrks_highpT().

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

Definition at line 91 of file PileupSummaryInfo.h.

Referenced by getPU_ntrks_lowpT().

int PileupSummaryInfo::num_PU_vertices_
private

Definition at line 86 of file PileupSummaryInfo.h.

Referenced by getPU_NumInteractions().

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

Definition at line 94 of file PileupSummaryInfo.h.

Referenced by getPU_pT_hats().

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

Definition at line 90 of file PileupSummaryInfo.h.

Referenced by getPU_sumpT_highpT().

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

Definition at line 89 of file PileupSummaryInfo.h.

Referenced by getPU_sumpT_lowpT().

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

Definition at line 88 of file PileupSummaryInfo.h.

Referenced by getPU_times(), and has_times().

float PileupSummaryInfo::TrueNumInteractions_
private

Definition at line 97 of file PileupSummaryInfo.h.

Referenced by getTrueNumInteractions().

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

Definition at line 87 of file PileupSummaryInfo.h.

Referenced by getPU_zpositions().