47 void endJob()
override ;
135 text_<<
"# BinEdge NpartMean NpartVar NcollMean NcollVar NhardMean NhardVar bMean bVar"<<endl;
149 if(thisBin)
delete thisBin;
172 cout<<
"sigma = "<<thisBin->
b.
var<<endl;
173 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",
181 (Float_t)thisBin->
b.
mean,
182 (Float_t)thisBin->
b.
var)
184 cout<<
"__________________________________________________"<<endl;
T getParameter(std::string const &) const
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
float lowEdgeOfBin(int bin) const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
#define DEFINE_FWK_MODULE(type)
float NcollMeanOfBin(int bin) const
bool isNewTagRequest(const std::string &recordName)
cond::Time_t beginOfTime() const
float bSigmaOfBin(int bin) const
float NhardMeanOfBin(int bin) const
T * make(const Args &...args) const
make new ROOT object
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
~CentralityTableProducer() override
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
float NpartMeanOfBin(int bin) const
cond::Time_t endOfTime() const
edm::ESHandle< CentralityTable > inputDB_
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