#include <MixingModuleConfig.h>
Public Member Functions | |
const int & | bunchSpace () const |
const MixingInputConfig & | config (unsigned int i=0) const |
const int & | maxBunch () const |
const int & | minBunch () const |
MixingModuleConfig () | |
void | read (edm::ParameterSet &pset) |
virtual | ~MixingModuleConfig () |
Private Attributes | |
int | bs_ |
std::vector< MixingInputConfig > | configs_ |
int | maxb_ |
int | minb_ |
Definition at line 57 of file MixingModuleConfig.h.
MixingModuleConfig::MixingModuleConfig | ( | ) |
virtual MixingModuleConfig::~MixingModuleConfig | ( | ) | [inline, virtual] |
Definition at line 60 of file MixingModuleConfig.h.
{};
const int& MixingModuleConfig::bunchSpace | ( | ) | const [inline] |
Definition at line 64 of file MixingModuleConfig.h.
References bs_.
Referenced by operator<<().
{ return bs_;}
const MixingInputConfig& MixingModuleConfig::config | ( | unsigned int | i = 0 | ) | const [inline] |
Definition at line 62 of file MixingModuleConfig.h.
Referenced by operator<<().
const int& MixingModuleConfig::maxBunch | ( | ) | const [inline] |
const int& MixingModuleConfig::minBunch | ( | ) | const [inline] |
void MixingModuleConfig::read | ( | edm::ParameterSet & | pset | ) |
Definition at line 22 of file MixingModuleConfig.cc.
References bs_, configs_, edm::ParameterSet::getParameter(), maxb_, and minb_.
Referenced by Mixing2DB::endJob().
{ bs_=pset.getParameter<int>("bunchspace"); minb_=(pset.getParameter<int>("minBunch")*25)/pset.getParameter<int>("bunchspace"); maxb_=(pset.getParameter<int>("maxBunch")*25)/pset.getParameter<int>("bunchspace"); //FIXME. not covering all possible cases (not used anyways) edm::ParameterSet p0=pset.getParameter<edm::ParameterSet>("input"); configs_[0].read(p0); }
int MixingModuleConfig::bs_ [private] |
Definition at line 75 of file MixingModuleConfig.h.
Referenced by bunchSpace(), and read().
std::vector<MixingInputConfig> MixingModuleConfig::configs_ [private] |
Definition at line 71 of file MixingModuleConfig.h.
Referenced by config(), MixingModuleConfig(), and read().
int MixingModuleConfig::maxb_ [private] |
Definition at line 74 of file MixingModuleConfig.h.
Referenced by maxBunch(), and read().
int MixingModuleConfig::minb_ [private] |
Definition at line 73 of file MixingModuleConfig.h.
Referenced by minBunch(), and read().