56 virtual std::auto_ptr<CentralityTable> produceTable(
const HeavyIonRcd& );
79 findingRecord<HeavyIonRcd>();
83 inputFileName_ = iConfig.
getParameter<
string>(
"inputFile");
86 std::auto_ptr<CentralityTable>
96 while ( getline( in, line ) ) {
97 if ( !line.size() || line[0]==
'#' ) {
continue; }
99 CT->m_table.push_back(thisBin);
100 istringstream
ss(line);
101 ss>>CT->m_table[
i].bin_edge
102 >>CT->m_table[
i].n_part.mean
103 >>CT->m_table[
i].n_part.var
104 >>CT->m_table[
i].n_coll.mean
105 >>CT->m_table[
i].n_coll.var
106 >>CT->m_table[
i].n_hard.mean
107 >>CT->m_table[
i].n_hard.var
108 >>CT->m_table[
i].b.mean
109 >>CT->m_table[
i].b.var;
123 cout<<
"sigma = "<<thisBin->
b.
var<<endl;
124 cout<<
"__________________________________________________"<<endl;
132 if(verbose_>=1)
std::cout <<
"HiTrivialConditionRetriever::setIntervalFor(): record key = " << rk.
name() <<
"\ttime: " << iTime.
time().
value() << std::endl;
void printBin(const CentralityTable::CBin *)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
static const IOVSyncValue & endOfTime()
std::pair< Time_t, Time_t > ValidityInterval
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static const IOVSyncValue & beginOfTime()
const char * name() const
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
HiTrivialConditionRetriever(const edm::ParameterSet &)
const Timestamp & time() const
tuple HiTrivialConditionRetriever
virtual std::auto_ptr< CentralityTable > produceTable(const HeavyIonRcd &)
TimeValue_t value() const