#include <ConfigurableHisto.h>
Definition at line 241 of file ConfigurableHisto.h.
SplittingConfigurableHisto::SplittingConfigurableHisto |
( |
HType |
t, |
|
|
std::string |
name, |
|
|
edm::ParameterSet & |
pset |
|
) |
| |
|
inline |
Definition at line 243 of file ConfigurableHisto.h.
References MillePedeFileConverter_cfg::e, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), mps_fire::i, edm::ParameterSet::insert(), label, Splitter::label(), Splitter::maxSlots(), CachingVariable::name(), muonDTDigis_cfi::pset, alignCSCRings::s, Splitter::shortLabel(), confdb::splitter(), AlCaHLTBitMon_QueryRunRegistry::string, overlapproblemtsosanalyzer_cfi::title, and findQualityFiles::v.
248 if (pset.
exists(
"splitters")) {
250 std::vector<std::string> splitters = pset.
getParameter<std::vector<std::string> >(
"splitters");
251 for (
unsigned int s = 0;
s != splitters.size(); ++
s) {
256 <<
"for: " <<
name_ <<
" the splitting variable: " << splitters[
s] <<
" is not a Splitter";
263 unsigned int mSlots = splitter->
maxSlots();
264 for (
unsigned int i = 0;
i != mSlots; ++
i) {
269 edm::Entry e(
"string", title +
" for " + label,
true);
270 mPset.
insert(
true,
"title",
e);
284 <<
"for: " <<
name_ <<
" the splitting variable: " << v->
name() <<
" is not a Splitter";
288 for (
unsigned int i = 0;
i != mSlots;
i++) {
292 edm::Entry e(
"string", title +
" for " + label,
true);
293 mPset.
insert(
true,
"title",
e);
T getParameter(std::string const &) const
def splitter(iterator, n)
const Splitter * splitter_
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void insert(bool ok_to_replace, char const *, Entry const &)
std::vector< ConfigurableHisto * > subHistos_
ConfigurableHisto(HType t, std::string name, edm::ParameterSet &iConfig)
const std::string shortLabel(unsigned int i) const
virtual unsigned int maxSlots() const
const std::string & label(unsigned int i) const
const std::string & name() const
Definition at line 391 of file ConfigurableHisto.h.
References clone(), mps_fire::i, splitter_, subHistoMap_, and subHistos_.
395 SubHistoMap::const_iterator i_end = master.
subHistoMap_.end();
396 for (; i != i_end; ++
i) {
397 const std::vector<ConfigurableHisto*>& masterHistos = i->second;
398 std::vector<ConfigurableHisto*>& clonedHistos =
subHistoMap_[i->first];
399 for (
unsigned int i = 0; i != masterHistos.size(); i++) {
400 clonedHistos.push_back(masterHistos[i]->
clone());
404 for (
unsigned int i = 0; i != master.
subHistos_.size(); i++) {
const Splitter * splitter_
std::vector< ConfigurableHisto * > subHistos_
ConfigurableHisto(HType t, std::string name, edm::ParameterSet &iConfig)
ConfigurableHisto * clone() const override
void SplittingConfigurableHisto::complete |
( |
| ) |
|
|
inline |
Definition at line 370 of file ConfigurableHisto.h.
References h, and mps_fire::i.
375 for (; i != i_end; ++
i) {
376 for (
unsigned int h = 0;
h != i->second.size();
h++) {
384 for (
unsigned int i = 0; i !=
subHistos_.size(); i++) {
const Splitter * splitter_
std::vector< ConfigurableHisto * > subHistos_
SubHistoStacks subHistoStacks_
const std::string & label(unsigned int i) const
void SplittingConfigurableHisto::fill |
( |
const edm::Event & |
e | ) |
|
|
inlineoverridevirtual |
const Splitter* SplittingConfigurableHisto::splitter_ |
|
private |
THStack* SplittingConfigurableHisto::stack_ |
|
private |