46 void endJob()
override;
107 cout <<
"Adding table for run : " <<
runnum_ << endl;
123 text_ <<
"# BinEdge NpartMean NpartVar NcollMean NcollVar NhardMean NhardVar bMean bVar" << endl;
136 CT.
m_table.push_back(*thisBin);
154 cout <<
"B = " << thisBin->
b.
mean << endl;
155 cout <<
"sigma = " << thisBin->
b.
var << endl;
156 text_ << Form(
"%0.2f\t%0.2f\t%0.2f\t%0.2f\t%0.2f\t%0.2f\t%0.2f\t%0.2f\t%0.2f",
164 (Float_t)thisBin->
b.
mean,
165 (Float_t)thisBin->
b.
var)
167 cout <<
"__________________________________________________" << endl;
void printBin(const CentralityTable::CBin *)
T getUntrackedParameter(std::string const &, T const &) const
std::vector< CBin > m_table
float NpartSigmaOfBin(int bin) const
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
float lowEdgeOfBin(int bin) const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
float NcollMeanOfBin(int bin) const
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
float bSigmaOfBin(int bin) const
float NhardMeanOfBin(int bin) const
T * make(const Args &...args) const
make new ROOT object
~CentralityTableProducer() override
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
float NpartMeanOfBin(int bin) const
T getParameter(std::string const &) const
edm::Service< TFileService > fs
float bMeanOfBin(int bin) const
cond::Time_t currentTime() const
CentralityTableProducer(const edm::ParameterSet &)
float NhardSigmaOfBin(int bin) const
const CentralityBins * CB
float NcollSigmaOfBin(int bin) const