10 if(thepset.
exists(
"HeavyIonGlobalParameters")){
29 "Supported variables are: \n" +
"HFtowers HFhits PixelHits PixelTracks Tracks EB EE" +
"\n";
32 if(hiPset.
exists(
"nonDefaultGlauberModel")){
46 std::cout<<
"Attention, the sides are flipped from this run on!"<<std::endl;
59 int nbinsMax = inputDB_->m_table.size();
62 for(
int j=0;
j<nbinsMax;
j++){
64 thisBin = &(inputDB_->m_table[
j]);
91 for(
unsigned int j = 0;
j <
table_.size(); ++
j){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
CentralityProvider(const edm::EventSetup &iSetup)
void newEvent(const edm::Event &ev, const edm::EventSetup &iSetup)
edm::Handle< reco::Centrality > chandle_
std::string centralityLabel_
edm::EDGetTokenT< reco::Centrality > tag_
ParameterSet const & getProcessParameterSet()
void newRun(const edm::EventSetup &iSetup)
std::string centralityMC_
std::string centralityVariable_
std::vector< CBin > table_
double centralityValue() const