41 virtual std::unique_ptr<CentralityTable> produceTable(
const HeavyIonRcd&);
63 findingRecord<HeavyIonRcd>();
67 inputFileName_ = iConfig.
getParameter<
string>(
"inputFile");
71 auto CT = std::make_unique<CentralityTable>();
77 while (getline(
in,
line)) {
78 if (
line.empty() ||
line[0] ==
'#') {
85 CT->m_table.push_back(thisBin);
97 cout <<
"B = " << thisBin->
b.
mean << endl;
98 cout <<
"sigma = " << thisBin->
b.
var << endl;
99 cout <<
"__________________________________________________" << endl;
106 std::cout <<
"HiTrivialConditionRetriever::setIntervalFor(): record key = " << rk.
name()
107 <<
"\ttime: " << iTime.
time().
value() << std::endl;
void printBin(const CentralityTable::CBin *)
T getParameter(std::string const &) const
static const IOVSyncValue & endOfTime()
std::pair< Time_t, Time_t > ValidityInterval
T getUntrackedParameter(std::string const &, T const &) const
virtual std::unique_ptr< CentralityTable > produceTable(const HeavyIonRcd &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static const IOVSyncValue & beginOfTime()
HiTrivialConditionRetriever
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
TimeValue_t value() const
HiTrivialConditionRetriever(const edm::ParameterSet &)
const Timestamp & time() const
const char * name() const