Go to the documentation of this file.
46 void endJob()
override;
108 cout <<
"Adding table for run : " <<
runnum_ << endl;
124 text_ <<
"# BinEdge NpartMean NpartVar NcollMean NcollVar NhardMean NhardVar bMean bVar" << endl;
143 if (
pool.isAvailable()) {
144 if (
pool->isNewTagRequest(
"HeavyIonRcd")) {
159 cout <<
"B = " << thisBin->
b.
mean << endl;
160 cout <<
"sigma = " << thisBin->
b.
var << endl;
161 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",
169 (Float_t)thisBin->
b.
mean,
170 (Float_t)thisBin->
b.
var)
172 cout <<
"__________________________________________________" << endl;
const CentralityBins * CB
void printBin(const CentralityTable::CBin *)
void analyze(const edm::Event &, const edm::EventSetup &) override
T getUntrackedParameter(std::string const &, T const &) const
float NcollSigmaOfBin(int bin) const
#define DEFINE_FWK_MODULE(type)
std::vector< CBin > m_table
float bMeanOfBin(int bin) const
float NhardMeanOfBin(int bin) const
float NhardSigmaOfBin(int bin) const
float lowEdgeOfBin(int bin) const
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
float NcollMeanOfBin(int bin) const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
~CentralityTableProducer() override
edm::Service< TFileService > fs
CentralityTableProducer(const edm::ParameterSet &)
float bSigmaOfBin(int bin) const
T getParameter(std::string const &) const
float NpartMeanOfBin(int bin) const
float NpartSigmaOfBin(int bin) const