CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GenLumiInfoProduct::ProcessInfo Struct Reference

#include <GenLumiInfoProduct.h>

Public Member Functions

FinalStat accepted () const
 
FinalStat acceptedBr () const
 
void addOthers (const ProcessInfo &other)
 
FinalStat killed () const
 
XSec lheXSec () const
 
unsigned int nPassNeg () const
 
unsigned int nPassPos () const
 
unsigned int nTotalNeg () const
 
unsigned int nTotalPos () const
 
int process () const
 
 ProcessInfo ()
 
 ProcessInfo (int id)
 
FinalStat selected () const
 
void setAccepted (unsigned int n, double sum, double sum2)
 
void setAcceptedBr (unsigned int n, double sum, double sum2)
 
void setKilled (unsigned int n, double sum, double sum2)
 
void setLheXSec (double value, double err)
 
void setNPassNeg (unsigned int n)
 
void setNPassPos (unsigned int n)
 
void setNTotalNeg (unsigned int n)
 
void setNTotalPos (unsigned int n)
 
void setProcess (int id)
 
void setSelected (unsigned int n, double sum, double sum2)
 
void setTried (unsigned int n, double sum, double sum2)
 
FinalStat tried () const
 

Private Attributes

FinalStat accepted_
 
FinalStat acceptedBr_
 
FinalStat killed_
 
XSec lheXSec_
 
unsigned int nPassNeg_
 
unsigned int nPassPos_
 
unsigned int nTotalNeg_
 
unsigned int nTotalPos_
 
int process_
 
FinalStat selected_
 
FinalStat tried_
 

Detailed Description

Definition at line 82 of file GenLumiInfoProduct.h.

Constructor & Destructor Documentation

GenLumiInfoProduct::ProcessInfo::ProcessInfo ( )
inline
GenLumiInfoProduct::ProcessInfo::ProcessInfo ( int  id)
inline

Member Function Documentation

FinalStat GenLumiInfoProduct::ProcessInfo::accepted ( ) const
inline

Definition at line 99 of file GenLumiInfoProduct.h.

Referenced by addOthers(), and operator==().

FinalStat GenLumiInfoProduct::ProcessInfo::acceptedBr ( ) const
inline

Definition at line 100 of file GenLumiInfoProduct.h.

Referenced by addOthers(), and operator==().

void GenLumiInfoProduct::ProcessInfo::addOthers ( const ProcessInfo other)
inline

Definition at line 103 of file GenLumiInfoProduct.h.

References accepted(), acceptedBr(), killed(), nPassNeg(), nPassPos(), nTotalNeg(), nTotalPos(), selected(), and tried().

Referenced by GenLumiInfoProduct::mergeProduct().

103  {
104  nPassPos_ += other.nPassPos();
105  nPassNeg_ += other.nPassNeg();
106  nTotalPos_ += other.nTotalPos();
107  nTotalNeg_ += other.nTotalNeg();
108  tried_.add(other.tried());
109  selected_.add(other.selected());
110  killed_.add(other.killed());
111  accepted_.add(other.accepted());
112  acceptedBr_.add(other.acceptedBr());
113  }
void add(const FinalStat &other)
FinalStat GenLumiInfoProduct::ProcessInfo::killed ( ) const
inline

Definition at line 98 of file GenLumiInfoProduct.h.

Referenced by addOthers(), GenXSecAnalyzer::compute(), and operator==().

XSec GenLumiInfoProduct::ProcessInfo::lheXSec ( ) const
inline
unsigned int GenLumiInfoProduct::ProcessInfo::nPassNeg ( ) const
inline

Definition at line 92 of file GenLumiInfoProduct.h.

Referenced by addOthers(), GenXSecAnalyzer::compute(), and operator==().

92 { return nPassNeg_; }
unsigned int GenLumiInfoProduct::ProcessInfo::nPassPos ( ) const
inline

Definition at line 91 of file GenLumiInfoProduct.h.

Referenced by addOthers(), GenXSecAnalyzer::compute(), and operator==().

91 { return nPassPos_; }
unsigned int GenLumiInfoProduct::ProcessInfo::nTotalNeg ( ) const
inline

Definition at line 94 of file GenLumiInfoProduct.h.

Referenced by addOthers(), GenXSecAnalyzer::compute(), and operator==().

94 { return nTotalNeg_; }
unsigned int GenLumiInfoProduct::ProcessInfo::nTotalPos ( ) const
inline

Definition at line 93 of file GenLumiInfoProduct.h.

Referenced by addOthers(), GenXSecAnalyzer::compute(), and operator==().

93 { return nTotalPos_; }
int GenLumiInfoProduct::ProcessInfo::process ( ) const
inline

Definition at line 88 of file GenLumiInfoProduct.h.

Referenced by operator!=(), operator<(), and operator==().

FinalStat GenLumiInfoProduct::ProcessInfo::selected ( ) const
inline

Definition at line 97 of file GenLumiInfoProduct.h.

Referenced by addOthers(), GenXSecAnalyzer::compute(), and operator==().

void GenLumiInfoProduct::ProcessInfo::setAccepted ( unsigned int  n,
double  sum,
double  sum2 
)
inline
void GenLumiInfoProduct::ProcessInfo::setAcceptedBr ( unsigned int  n,
double  sum,
double  sum2 
)
inline
void GenLumiInfoProduct::ProcessInfo::setKilled ( unsigned int  n,
double  sum,
double  sum2 
)
inline
void GenLumiInfoProduct::ProcessInfo::setLheXSec ( double  value,
double  err 
)
inline
void GenLumiInfoProduct::ProcessInfo::setNPassNeg ( unsigned int  n)
inline
void GenLumiInfoProduct::ProcessInfo::setNPassPos ( unsigned int  n)
inline
void GenLumiInfoProduct::ProcessInfo::setNTotalNeg ( unsigned int  n)
inline
void GenLumiInfoProduct::ProcessInfo::setNTotalPos ( unsigned int  n)
inline
void GenLumiInfoProduct::ProcessInfo::setProcess ( int  id)
inline
void GenLumiInfoProduct::ProcessInfo::setSelected ( unsigned int  n,
double  sum,
double  sum2 
)
inline
void GenLumiInfoProduct::ProcessInfo::setTried ( unsigned int  n,
double  sum,
double  sum2 
)
inline
FinalStat GenLumiInfoProduct::ProcessInfo::tried ( ) const
inline

Definition at line 96 of file GenLumiInfoProduct.h.

Referenced by addOthers(), and operator==().

96 { return tried_; }

Member Data Documentation

FinalStat GenLumiInfoProduct::ProcessInfo::accepted_
private

Definition at line 136 of file GenLumiInfoProduct.h.

FinalStat GenLumiInfoProduct::ProcessInfo::acceptedBr_
private

Definition at line 137 of file GenLumiInfoProduct.h.

FinalStat GenLumiInfoProduct::ProcessInfo::killed_
private

Definition at line 135 of file GenLumiInfoProduct.h.

XSec GenLumiInfoProduct::ProcessInfo::lheXSec_
private

Definition at line 128 of file GenLumiInfoProduct.h.

unsigned int GenLumiInfoProduct::ProcessInfo::nPassNeg_
private

Definition at line 130 of file GenLumiInfoProduct.h.

unsigned int GenLumiInfoProduct::ProcessInfo::nPassPos_
private

Definition at line 129 of file GenLumiInfoProduct.h.

unsigned int GenLumiInfoProduct::ProcessInfo::nTotalNeg_
private

Definition at line 132 of file GenLumiInfoProduct.h.

unsigned int GenLumiInfoProduct::ProcessInfo::nTotalPos_
private

Definition at line 131 of file GenLumiInfoProduct.h.

int GenLumiInfoProduct::ProcessInfo::process_
private

Definition at line 127 of file GenLumiInfoProduct.h.

FinalStat GenLumiInfoProduct::ProcessInfo::selected_
private

Definition at line 134 of file GenLumiInfoProduct.h.

FinalStat GenLumiInfoProduct::ProcessInfo::tried_
private

Definition at line 133 of file GenLumiInfoProduct.h.