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 > &instLumi, const std::vector< edm::EventID > &eventInfo)
 
 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, 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 > &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 ()
 

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() [1/5]

PileupSummaryInfo::PileupSummaryInfo ( )
inline

Definition at line 24 of file PileupSummaryInfo.h.

24 {};

◆ PileupSummaryInfo() [2/5]

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) {}

◆ PileupSummaryInfo() [3/5]

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) {}

◆ PileupSummaryInfo() [4/5]

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),
67  pT_hats_(pThats),
68  bunchCrossing_(bunchCrossing),
70  TrueNumInteractions_(TrueNumInteractions) {}

◆ PileupSummaryInfo() [5/5]

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) {}

◆ ~PileupSummaryInfo()

PileupSummaryInfo::~PileupSummaryInfo ( )

Definition at line 77 of file PileupSummaryInfo.cc.

77 {}

Member Function Documentation

◆ getBunchCrossing()

const int PileupSummaryInfo::getBunchCrossing ( void  ) const
inline

Definition at line 73 of file PileupSummaryInfo.h.

73 { return bunchCrossing_; }

References bunchCrossing_.

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

◆ getBunchSpacing()

const int PileupSummaryInfo::getBunchSpacing ( ) const
inline

Definition at line 74 of file PileupSummaryInfo.h.

74 { return bunchSpacing_; }

References bunchSpacing_.

◆ getPU_EventID()

const std::vector<edm::EventID>& PileupSummaryInfo::getPU_EventID ( ) const
inline

Definition at line 71 of file PileupSummaryInfo.h.

71 { return eventInfo_; }

References eventInfo_.

◆ getPU_instLumi()

const std::vector<float>& PileupSummaryInfo::getPU_instLumi ( ) const
inline

Definition at line 70 of file PileupSummaryInfo.h.

70 { return instLumi_; }

References instLumi_.

◆ getPU_ntrks_highpT()

const std::vector<int>& PileupSummaryInfo::getPU_ntrks_highpT ( ) const
inline

Definition at line 69 of file PileupSummaryInfo.h.

69 { return ntrks_highpT_; }

References ntrks_highpT_.

◆ getPU_ntrks_lowpT()

const std::vector<int>& PileupSummaryInfo::getPU_ntrks_lowpT ( ) const
inline

Definition at line 68 of file PileupSummaryInfo.h.

68 { return ntrks_lowpT_; }

References ntrks_lowpT_.

◆ getPU_NumInteractions()

const int PileupSummaryInfo::getPU_NumInteractions ( ) const
inline

◆ getPU_pT_hats()

const std::vector<float>& PileupSummaryInfo::getPU_pT_hats ( ) const
inline

Definition at line 72 of file PileupSummaryInfo.h.

72 { return pT_hats_; }

References pT_hats_.

Referenced by RemovePileUpDominatedEventsGen::filter().

◆ getPU_sumpT_highpT()

const std::vector<float>& PileupSummaryInfo::getPU_sumpT_highpT ( ) const
inline

Definition at line 67 of file PileupSummaryInfo.h.

67 { return sumpT_highpT_; }

References sumpT_highpT_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

◆ getPU_sumpT_lowpT()

const std::vector<float>& PileupSummaryInfo::getPU_sumpT_lowpT ( ) const
inline

Definition at line 66 of file PileupSummaryInfo.h.

66 { return sumpT_lowpT_; }

References sumpT_lowpT_.

Referenced by FFTJetPileupAnalyzer::analyzePileup().

◆ getPU_times()

const std::vector<float>& PileupSummaryInfo::getPU_times ( ) const
inline

Definition at line 65 of file PileupSummaryInfo.h.

65 { return times_; }

References times_.

◆ getPU_zpositions()

const std::vector<float>& PileupSummaryInfo::getPU_zpositions ( ) const
inline

Definition at line 63 of file PileupSummaryInfo.h.

63 { return zpositions_; }

References zpositions_.

◆ getTrueNumInteractions()

const float PileupSummaryInfo::getTrueNumInteractions ( ) const
inline

Definition at line 75 of file PileupSummaryInfo.h.

75 { return TrueNumInteractions_; }

References TrueNumInteractions_.

◆ has_times()

bool PileupSummaryInfo::has_times ( ) const
inline

Definition at line 64 of file PileupSummaryInfo.h.

64 { return !times_.empty(); }

References times_.

Member Data Documentation

◆ bunchCrossing_

int PileupSummaryInfo::bunchCrossing_
private

Definition at line 89 of file PileupSummaryInfo.h.

Referenced by getBunchCrossing().

◆ bunchSpacing_

int PileupSummaryInfo::bunchSpacing_
private

Definition at line 90 of file PileupSummaryInfo.h.

Referenced by getBunchSpacing().

◆ eventInfo_

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

Definition at line 87 of file PileupSummaryInfo.h.

Referenced by getPU_EventID().

◆ instLumi_

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

Definition at line 95 of file PileupSummaryInfo.h.

Referenced by getPU_instLumi().

◆ ntrks_highpT_

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

Definition at line 86 of file PileupSummaryInfo.h.

Referenced by getPU_ntrks_highpT().

◆ ntrks_lowpT_

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

Definition at line 85 of file PileupSummaryInfo.h.

Referenced by getPU_ntrks_lowpT().

◆ num_PU_vertices_

int PileupSummaryInfo::num_PU_vertices_
private

Definition at line 80 of file PileupSummaryInfo.h.

Referenced by getPU_NumInteractions().

◆ pT_hats_

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

Definition at line 88 of file PileupSummaryInfo.h.

Referenced by getPU_pT_hats().

◆ sumpT_highpT_

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

Definition at line 84 of file PileupSummaryInfo.h.

Referenced by getPU_sumpT_highpT().

◆ sumpT_lowpT_

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

Definition at line 83 of file PileupSummaryInfo.h.

Referenced by getPU_sumpT_lowpT().

◆ times_

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

Definition at line 82 of file PileupSummaryInfo.h.

Referenced by getPU_times(), and has_times().

◆ TrueNumInteractions_

float PileupSummaryInfo::TrueNumInteractions_
private

Definition at line 91 of file PileupSummaryInfo.h.

Referenced by getTrueNumInteractions().

◆ zpositions_

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

Definition at line 81 of file PileupSummaryInfo.h.

Referenced by getPU_zpositions().

PileupSummaryInfo::sumpT_highpT_
std::vector< float > sumpT_highpT_
Definition: PileupSummaryInfo.h:84
PileupSummaryInfo::times_
std::vector< float > times_
Definition: PileupSummaryInfo.h:82
PileupSummaryInfo::eventInfo_
std::vector< edm::EventID > eventInfo_
Definition: PileupSummaryInfo.h:87
PileupSummaryInfo::pT_hats_
std::vector< float > pT_hats_
Definition: PileupSummaryInfo.h:88
HLTEgPhaseIITestSequence_cff.bunchSpacing
bunchSpacing
Definition: HLTEgPhaseIITestSequence_cff.py:1574
PileupSummaryInfo::bunchCrossing_
int bunchCrossing_
Definition: PileupSummaryInfo.h:89
PileupSummaryInfo::bunchSpacing_
int bunchSpacing_
Definition: PileupSummaryInfo.h:90
PileupSummaryInfo::sumpT_lowpT_
std::vector< float > sumpT_lowpT_
Definition: PileupSummaryInfo.h:83
PileupSummaryInfo::zpositions_
std::vector< float > zpositions_
Definition: PileupSummaryInfo.h:81
PileupSummaryInfo::ntrks_highpT_
std::vector< int > ntrks_highpT_
Definition: PileupSummaryInfo.h:86
muonGEMDigis_cfi.instLumi
instLumi
Definition: muonGEMDigis_cfi.py:10
dumpTauVariables_cfi.eventInfo
eventInfo
add run, event number and lumi section
Definition: dumpTauVariables_cfi.py:12
PileupSummaryInfo::num_PU_vertices_
int num_PU_vertices_
Definition: PileupSummaryInfo.h:80
PileupSummaryInfo::instLumi_
std::vector< float > instLumi_
Definition: PileupSummaryInfo.h:95
PileupSummaryInfo::ntrks_lowpT_
std::vector< int > ntrks_lowpT_
Definition: PileupSummaryInfo.h:85
PileupSummaryInfo::TrueNumInteractions_
float TrueNumInteractions_
Definition: PileupSummaryInfo.h:91