CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
lhef::LHERunInfo::Process Struct Reference

#include <LHERunInfo.h>

Public Member Functions

Counter accepted () const
 
Counter acceptedBr () const
 
void addAccepted (double w)
 
void addAcceptedBr (double w)
 
void addKilled (double w)
 
void addNPassNeg (unsigned int n=1)
 
void addNPassPos (unsigned int n=1)
 
void addNTotalNeg (unsigned int n=1)
 
void addNTotalPos (unsigned int n=1)
 
void addSelected (double w)
 
void addTried (double w)
 
XSec getLHEXSec () const
 
unsigned int heprupIndex () const
 
Counter killed () const
 
unsigned int nPassNeg () const
 
unsigned int nPassPos () const
 
unsigned int nTotalNeg () const
 
unsigned int nTotalPos () const
 
 Process ()
 
int process () const
 
 Process (int id)
 
Counter selected () const
 
void setHepRupIndex (int id)
 
void setLHEXSec (double value, double error)
 
void setProcess (int id)
 
Counter tried () const
 

Private Attributes

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

Detailed Description

Definition at line 103 of file LHERunInfo.h.

Constructor & Destructor Documentation

◆ Process() [1/2]

lhef::LHERunInfo::Process::Process ( )
inline

Definition at line 105 of file LHERunInfo.h.

105 : process_(-1), heprupIndex_(-1), nPassPos_(0), nPassNeg_(0), nTotalPos_(0), nTotalNeg_(0) {}

◆ Process() [2/2]

lhef::LHERunInfo::Process::Process ( int  id)
inline

Definition at line 106 of file LHERunInfo.h.

106 : process_(id), heprupIndex_(-1), nPassPos_(0), nPassNeg_(0), nTotalPos_(0), nTotalNeg_(0) {}

Member Function Documentation

◆ accepted()

Counter lhef::LHERunInfo::Process::accepted ( ) const
inline

◆ acceptedBr()

Counter lhef::LHERunInfo::Process::acceptedBr ( ) const
inline

◆ addAccepted()

void lhef::LHERunInfo::Process::addAccepted ( double  w)
inline

Definition at line 136 of file LHERunInfo.h.

136 { accepted_.add(w); }

References accepted_, lhef::LHERunInfo::Counter::add(), and w.

◆ addAcceptedBr()

void lhef::LHERunInfo::Process::addAcceptedBr ( double  w)
inline

Definition at line 137 of file LHERunInfo.h.

137 { acceptedBr_.add(w); }

References acceptedBr_, lhef::LHERunInfo::Counter::add(), and w.

◆ addKilled()

void lhef::LHERunInfo::Process::addKilled ( double  w)
inline

Definition at line 135 of file LHERunInfo.h.

135 { killed_.add(w); }

References lhef::LHERunInfo::Counter::add(), killed_, and w.

◆ addNPassNeg()

void lhef::LHERunInfo::Process::addNPassNeg ( unsigned int  n = 1)
inline

Definition at line 129 of file LHERunInfo.h.

129 { nPassNeg_ += n; }

References dqmiodumpmetadata::n, and nPassNeg_.

◆ addNPassPos()

void lhef::LHERunInfo::Process::addNPassPos ( unsigned int  n = 1)
inline

Definition at line 128 of file LHERunInfo.h.

128 { nPassPos_ += n; }

References dqmiodumpmetadata::n, and nPassPos_.

◆ addNTotalNeg()

void lhef::LHERunInfo::Process::addNTotalNeg ( unsigned int  n = 1)
inline

Definition at line 131 of file LHERunInfo.h.

131 { nTotalNeg_ += n; }

References dqmiodumpmetadata::n, and nTotalNeg_.

◆ addNTotalPos()

void lhef::LHERunInfo::Process::addNTotalPos ( unsigned int  n = 1)
inline

Definition at line 130 of file LHERunInfo.h.

130 { nTotalPos_ += n; }

References dqmiodumpmetadata::n, and nTotalPos_.

◆ addSelected()

void lhef::LHERunInfo::Process::addSelected ( double  w)
inline

Definition at line 134 of file LHERunInfo.h.

134 { selected_.add(w); }

References lhef::LHERunInfo::Counter::add(), selected_, and w.

◆ addTried()

void lhef::LHERunInfo::Process::addTried ( double  w)
inline

Definition at line 133 of file LHERunInfo.h.

133 { tried_.add(w); }

References lhef::LHERunInfo::Counter::add(), tried_, and w.

◆ getLHEXSec()

XSec lhef::LHERunInfo::Process::getLHEXSec ( ) const
inline

◆ heprupIndex()

unsigned int lhef::LHERunInfo::Process::heprupIndex ( ) const
inline

Definition at line 109 of file LHERunInfo.h.

109 { return heprupIndex_; }

References heprupIndex_.

◆ killed()

Counter lhef::LHERunInfo::Process::killed ( ) const
inline

◆ nPassNeg()

unsigned int lhef::LHERunInfo::Process::nPassNeg ( ) const
inline

◆ nPassPos()

unsigned int lhef::LHERunInfo::Process::nPassPos ( ) const
inline

◆ nTotalNeg()

unsigned int lhef::LHERunInfo::Process::nTotalNeg ( ) const
inline

◆ nTotalPos()

unsigned int lhef::LHERunInfo::Process::nTotalPos ( ) const
inline

◆ process()

int lhef::LHERunInfo::Process::process ( ) const
inline

◆ selected()

Counter lhef::LHERunInfo::Process::selected ( ) const
inline

◆ setHepRupIndex()

void lhef::LHERunInfo::Process::setHepRupIndex ( int  id)
inline

Definition at line 125 of file LHERunInfo.h.

125 { heprupIndex_ = id; }

References heprupIndex_, and triggerObjects_cff::id.

◆ setLHEXSec()

void lhef::LHERunInfo::Process::setLHEXSec ( double  value,
double  error 
)
inline

Definition at line 126 of file LHERunInfo.h.

126 { lheXSec_ = XSec(value, error); }

References relativeConstraints::error, and lheXSec_.

◆ setProcess()

void lhef::LHERunInfo::Process::setProcess ( int  id)
inline

Definition at line 124 of file LHERunInfo.h.

124 { process_ = id; }

References triggerObjects_cff::id, and process_.

◆ tried()

Counter lhef::LHERunInfo::Process::tried ( ) const
inline

Member Data Documentation

◆ accepted_

Counter lhef::LHERunInfo::Process::accepted_
private

Definition at line 150 of file LHERunInfo.h.

Referenced by accepted(), and addAccepted().

◆ acceptedBr_

Counter lhef::LHERunInfo::Process::acceptedBr_
private

Definition at line 151 of file LHERunInfo.h.

Referenced by acceptedBr(), and addAcceptedBr().

◆ heprupIndex_

unsigned int lhef::LHERunInfo::Process::heprupIndex_
private

Definition at line 142 of file LHERunInfo.h.

Referenced by heprupIndex(), and setHepRupIndex().

◆ killed_

Counter lhef::LHERunInfo::Process::killed_
private

Definition at line 149 of file LHERunInfo.h.

Referenced by addKilled(), and killed().

◆ lheXSec_

XSec lhef::LHERunInfo::Process::lheXSec_
private

Definition at line 141 of file LHERunInfo.h.

Referenced by getLHEXSec(), and setLHEXSec().

◆ nPassNeg_

unsigned int lhef::LHERunInfo::Process::nPassNeg_
private

Definition at line 144 of file LHERunInfo.h.

Referenced by addNPassNeg(), and nPassNeg().

◆ nPassPos_

unsigned int lhef::LHERunInfo::Process::nPassPos_
private

Definition at line 143 of file LHERunInfo.h.

Referenced by addNPassPos(), and nPassPos().

◆ nTotalNeg_

unsigned int lhef::LHERunInfo::Process::nTotalNeg_
private

Definition at line 146 of file LHERunInfo.h.

Referenced by addNTotalNeg(), and nTotalNeg().

◆ nTotalPos_

unsigned int lhef::LHERunInfo::Process::nTotalPos_
private

Definition at line 145 of file LHERunInfo.h.

Referenced by addNTotalPos(), and nTotalPos().

◆ process_

int lhef::LHERunInfo::Process::process_
private

Definition at line 140 of file LHERunInfo.h.

Referenced by process(), and setProcess().

◆ selected_

Counter lhef::LHERunInfo::Process::selected_
private

Definition at line 148 of file LHERunInfo.h.

Referenced by addSelected(), and selected().

◆ tried_

Counter lhef::LHERunInfo::Process::tried_
private

Definition at line 147 of file LHERunInfo.h.

Referenced by addTried(), and tried().

lhef::LHERunInfo::Process::tried_
Counter tried_
Definition: LHERunInfo.h:147
lhef::LHERunInfo::Process::nPassPos_
unsigned int nPassPos_
Definition: LHERunInfo.h:143
lhef::LHERunInfo::Process::nTotalPos_
unsigned int nTotalPos_
Definition: LHERunInfo.h:145
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
lhef::LHERunInfo::Counter::add
void add(double weight)
Definition: LHERunInfo.h:88
lhef::LHERunInfo::Process::nPassNeg_
unsigned int nPassNeg_
Definition: LHERunInfo.h:144
relativeConstraints.error
error
Definition: relativeConstraints.py:53
lhef::LHERunInfo::Process::acceptedBr_
Counter acceptedBr_
Definition: LHERunInfo.h:151
w
const double w
Definition: UKUtility.cc:23
lhef::LHERunInfo::Process::process_
int process_
Definition: LHERunInfo.h:140
lhef::LHERunInfo::Process::lheXSec_
XSec lheXSec_
Definition: LHERunInfo.h:141
value
Definition: value.py:1
lhef::LHERunInfo::Process::selected_
Counter selected_
Definition: LHERunInfo.h:148
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
lhef::LHERunInfo::Process::heprupIndex_
unsigned int heprupIndex_
Definition: LHERunInfo.h:142
lhef::LHERunInfo::Process::killed_
Counter killed_
Definition: LHERunInfo.h:149
lhef::LHERunInfo::Process::nTotalNeg_
unsigned int nTotalNeg_
Definition: LHERunInfo.h:146
lhef::LHERunInfo::Process::accepted_
Counter accepted_
Definition: LHERunInfo.h:150