Go to the source code of this file.
Definition at line 48 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.
50 string centralityLabel =
"";
51 string centralityMC =
"";
54 if(thepset.
exists(
"HeavyIonGlobalParameters")){
56 centralityLabel = hiPset.
getParameter<
string>(
"centralityVariable");
57 if(hiPset.
exists(
"nonDefaultGlauberModel")){
58 centralityMC = hiPset.
getParameter<
string>(
"nonDefaultGlauberModel");
59 centralityLabel += centralityMC;
65 int nbinsMax = inputDB_->m_table.size();
68 for(
int j=0;
j<nbinsMax;
j++){
71 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_