Go to the source code of this file.
Definition at line 49 of file Centrality.cc.
References CentralityTable::CBin::b, CentralityTable::CBin::bin_edge, edm::ParameterSet::exists(), edm::EventSetup::get(), edm::ParameterSet::getParameter(), edm::getProcessParameterSet(), j, CentralityTable::BinValues::mean, CentralityTable::CBin::n_coll, CentralityTable::CBin::n_hard, CentralityTable::CBin::n_part, CentralityBins::table_, and CentralityTable::BinValues::var.
51 string centralityLabel =
"";
52 string centralityMC =
"";
55 if(thepset.
exists(
"HeavyIonGlobalParameters")){
57 centralityLabel = hiPset.
getParameter<
string>(
"centralityVariable");
58 if(hiPset.
exists(
"nonDefaultGlauberModel")){
59 centralityMC = hiPset.
getParameter<
string>(
"nonDefaultGlauberModel");
60 centralityLabel += centralityMC;
66 int nbinsMax = inputDB_->m_table.size();
69 for(
int j=0;
j<nbinsMax;
j++){
72 thisBin = &(inputDB_->m_table[
j]);
T getParameter(std::string const &) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
ParameterSet const & getProcessParameterSet()
std::vector< CBin > table_