12 Centrality::Centrality(
double d, std::string
label)
18 etHFtruncatedPlus_(0),
20 etHFtowerSumMinus_(0),
21 etHFtruncatedMinus_(0),
23 etEEtruncatedPlus_(0),
25 etEEtruncatedMinus_(0),
28 pixelMultiplicity_(0),
29 trackMultiplicity_(0),
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()
const CentralityBins * getCentralityBinsFromDB(const edm::EventSetup &iSetup)
std::vector< CBin > table_