49 virtual void endJob()
override ;
148 text_<<
"# BinEdge NpartMean NpartVar NcollMean NcollVar NhardMean NhardVar bMean bVar"<<endl;
162 if(thisBin)
delete thisBin;
185 cout<<
"sigma = "<<thisBin->
b.
var<<endl;
186 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",
194 (Float_t)thisBin->
b.
mean,
195 (Float_t)thisBin->
b.
var)
197 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
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
virtual void endJob() override
float lowEdgeOfBin(int bin) const
~CentralityTableProducer()
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
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)
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
float NpartMeanOfBin(int bin) const
void newRun(const edm::EventSetup &iSetup)
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 &)
CentralityProvider * cent
float NhardSigmaOfBin(int bin) const
const CentralityBins * CB
virtual void beginRun(const edm::EventSetup &)
float NcollSigmaOfBin(int bin) const