57 virtual std::auto_ptr<CentralityTable> produceTable(
const HeavyIonRcd& );
80 findingRecord<HeavyIonRcd>();
84 inputFileName_ = iConfig.
getParameter<
string>(
"inputFile");
87 std::auto_ptr<CentralityTable>
97 while ( getline( in, line ) ) {
98 if ( !line.size() || line[0]==
'#' ) {
continue; }
100 CT->m_table.push_back(thisBin);
101 istringstream ss(line);
102 ss>>CT->m_table[
i].bin_edge
103 >>CT->m_table[
i].n_part.mean
104 >>CT->m_table[
i].n_part.var
105 >>CT->m_table[
i].n_coll.mean
106 >>CT->m_table[
i].n_coll.var
107 >>CT->m_table[
i].n_hard.mean
108 >>CT->m_table[
i].n_hard.var
109 >>CT->m_table[
i].b.mean
110 >>CT->m_table[
i].b.var;
124 cout<<
"sigma = "<<thisBin->
b.
var<<endl;
125 cout<<
"__________________________________________________"<<endl;
133 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 &)