JUST A STUPID PATCH
Reimplemented from edm::EDAnalyzer.
Definition at line 39 of file PhysicsPerformanceDBWriterFromFile_WPandPayload.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), stringResolutionProvider_cfi::bin, comment, gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), TkAlMuonSelectors_cfi::cut, DEFINE_FWK_MODULE, cond::service::PoolDBOutputService::endOfTime(), cmsRelvalreport::exit, recoMuon::in, inputTxtFile, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), rec1, rec2, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and tmp.
63 std::vector<float> pl;
67 std::cout <<
"WP Tagger is "<<tagger<<std::endl;
70 std::cout <<
"WP Cut is "<<cut<<std::endl;
73 std::cout <<
"concrete Type is "<<concreteType<<std::endl;
82 std::cout <<
" Results: " << nres<<
" Binning variables: "<<nbin<<std::endl;
87 std::cout <<
" Malformed input file" << std::endl;
93 std::vector<PerformanceResult::ResultType>
res;
94 std::vector<BinningVariables::BinningVariablesType>
bin;
96 while (number<nres && !in.eof()) {
103 std::cout <<
" Table not well formed"<<std::endl;
106 while (number<nbin && !in.eof()) {
113 std::cout <<
" Table not well formed"<<std::endl;
120 std::cout <<
" Intersing "<<temp<<
" in position "<<number<<std::endl;
128 if (stride != nbin*2+nres){
129 std::cout <<
" Table not well formed"<<std::endl;
131 if ((number % stride) != 0){
132 std::cout <<
" Table not well formed"<<std::endl;
154 if (concreteType ==
"PerformancePayloadFromTable"){
157 std::cout <<
" Non existing request: " <<concreteType<<std::endl;
160 std::cout <<
" Created the "<<concreteType <<
" object"<<std::endl;
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
bool isNewTagRequest(const std::string &recordName)
cond::Time_t beginOfTime() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
bin
set the eta bin as selection string.
cond::Time_t endOfTime() const
std::vector< std::vector< double > > tmp