Functions | |
int | get (const char *name) |
int | get (const std::string &name) |
void | set (const std::string &name, int value) |
set the flag, with a run-time name | |
Variables | |
boost::unordered_map< const char *, std::pair< int, int > > | defines_ |
boost::unordered_map < std::string, int > | definesByString_ |
int runtimedef::get | ( | const char * | name | ) |
Definition at line 56 of file ProfilingTools.cc.
References defines_, definesByString_, mergeVDriftHistosByStation::name, and run_regression::ret.
Referenced by HybridNew::evalGeneric(), FitterAlgoBase::findCrossing(), MarkovChainMC::readChains(), nllutils::robustMinimize(), and toymcoptutils::SinglePdfGenInfo::SinglePdfGenInfo().
{ std::pair<int,int> & ret = defines_[name]; if (ret.second == 0) { ret.first = definesByString_[name]; ret.second = 1; } return ret.first; }
int runtimedef::get | ( | const std::string & | name | ) |
Definition at line 64 of file ProfilingTools.cc.
References definesByString_, and mergeVDriftHistosByStation::name.
{ return definesByString_[name]; }
void runtimedef::set | ( | const std::string & | name, |
int | value | ||
) |
set the flag, with a run-time name
Definition at line 67 of file ProfilingTools.cc.
References definesByString_, mergeVDriftHistosByStation::name, and relativeConstraints::value.
Referenced by CombDataSetFactory::addSetAny(), FWSiPixelClusterProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), pat::Tau::correctedTauJet(), CSCDCCHeader::CSCDCCHeader(), ESDataFormatterV4::DigiToRaw(), ESDataFormatterV1_1::DigiToRaw(), root::RooFitFunction< X, Expr >::evaluate(), RPCSim::fillDigis(), reco::HcalNoiseInfoProducer::fillrechits(), PixelDataFormatter::formatRawData(), pat::Tau::jecFactor(), pat::Jet::jecSet(), pat::Tau::jecSet(), TagProbeFitter::makeEfficiencyPlot1D(), TagProbeFitter::makeEfficiencyPlot2D(), funct::NumericalIntegral< Integrator, F, X >::function::operator()(), funct::IntegralStruct< F, X >::operator()(), funct::Function< X1, null_var, null_var >::operator()(), funct::Function< X1, X2, X3 >::operator()(), funct::Function< X1, X2, null_var >::operator()(), pos::PixelPortcardMap::portcards(), and RPCPackingModule::rawData().
{ definesByString_[name] = value; }
boost::unordered_map<const char *, std::pair<int,int> > runtimedef::defines_ |
Definition at line 54 of file ProfilingTools.cc.
Referenced by get().
boost::unordered_map<std::string, int> runtimedef::definesByString_ |
Definition at line 55 of file ProfilingTools.cc.