44 virtual std::auto_ptr<CentralityTable> produceTable(
const HeavyIonRcd& );
67 findingRecord<HeavyIonRcd>();
71 inputFileName_ = iConfig.
getParameter<
string>(
"inputFile");
74 std::auto_ptr<CentralityTable>
84 while ( getline( in, line ) ) {
85 if ( !line.size() || line[0]==
'#' ) {
continue; }
87 CT->m_table.push_back(thisBin);
88 istringstream ss(line);
89 ss>>CT->m_table[
i].bin_edge
90 >>CT->m_table[
i].n_part.mean
91 >>CT->m_table[
i].n_part.var
92 >>CT->m_table[
i].n_coll.mean
93 >>CT->m_table[
i].n_coll.var
94 >>CT->m_table[
i].n_hard.mean
95 >>CT->m_table[
i].n_hard.var
96 >>CT->m_table[
i].b.mean
97 >>CT->m_table[
i].b.var;
111 cout<<
"sigma = "<<thisBin->
b.
var<<endl;
112 cout<<
"__________________________________________________"<<endl;
120 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
static const IOVSyncValue & beginOfTime()
const char * name() const
TimeValue_t value() const
#define DEFINE_FWK_EVENTSETUP_SOURCE(type)
HiTrivialConditionRetriever(const edm::ParameterSet &)
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
const Timestamp & time() const
tuple HiTrivialConditionRetriever
virtual std::auto_ptr< CentralityTable > produceTable(const HeavyIonRcd &)