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 ()
 
 Process (int id)
 
int process () const
 
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.

◆ Process() [2/2]

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

Definition at line 106 of file LHERunInfo.h.

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.

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

136 { accepted_.add(w); }
T w() const
void add(double weight)
Definition: LHERunInfo.h:88

◆ addAcceptedBr()

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

Definition at line 137 of file LHERunInfo.h.

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

137 { acceptedBr_.add(w); }
T w() const
void add(double weight)
Definition: LHERunInfo.h:88

◆ addKilled()

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

Definition at line 135 of file LHERunInfo.h.

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

135 { killed_.add(w); }
T w() const
void add(double weight)
Definition: LHERunInfo.h:88

◆ addNPassNeg()

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

Definition at line 129 of file LHERunInfo.h.

References dqmiodumpmetadata::n, and nPassNeg_.

◆ addNPassPos()

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

Definition at line 128 of file LHERunInfo.h.

References dqmiodumpmetadata::n, and nPassPos_.

◆ addNTotalNeg()

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

Definition at line 131 of file LHERunInfo.h.

References dqmiodumpmetadata::n, and nTotalNeg_.

◆ addNTotalPos()

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

Definition at line 130 of file LHERunInfo.h.

References dqmiodumpmetadata::n, and nTotalPos_.

◆ addSelected()

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

Definition at line 134 of file LHERunInfo.h.

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

134 { selected_.add(w); }
T w() const
void add(double weight)
Definition: LHERunInfo.h:88

◆ addTried()

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

Definition at line 133 of file LHERunInfo.h.

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

133 { tried_.add(w); }
T w() const
void add(double weight)
Definition: LHERunInfo.h:88

◆ 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.

References heprupIndex_.

109 { return heprupIndex_; }
unsigned int heprupIndex_
Definition: LHERunInfo.h:142

◆ 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.

References heprupIndex_, and l1ctLayer2EG_cff::id.

◆ setLHEXSec()

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

Definition at line 126 of file LHERunInfo.h.

References relativeConstraints::error, and lheXSec_.

◆ setProcess()

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

Definition at line 124 of file LHERunInfo.h.

References l1ctLayer2EG_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().