JUST A STUPID PATCH
Reimplemented from edm::EDAnalyzer.
Definition at line 42 of file PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), stringResolutionProvider_cfi::bin, comment, gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), TkAlMuonSelectors_cfi::cut, DEFINE_FWK_MODULE, recoMuon::in, inputTxtFile, iovBegin, iovEnd, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), rec1, rec2, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, and tmp.
65 std::vector<float> pl;
69 std::cout <<
"WP Tagger is "<<tagger<<std::endl;
72 std::cout <<
"WP Cut is "<<cut<<std::endl;
75 std::cout <<
"concrete Type is "<<concreteType<<std::endl;
84 std::cout <<
" Results: " << nres<<
" Binning variables: "<<nbin<<std::endl;
90 std::vector<PerformanceResult::ResultType>
res;
91 std::vector<BinningVariables::BinningVariablesType>
bin;
93 while (number<nres && !in.eof()) {
100 std::cout <<
" Table not well formed"<<std::endl;
103 while (number<nbin && !in.eof()) {
110 std::cout <<
" Table not well formed"<<std::endl;
117 std::cout <<
" Inserting "<<temp<<
" in position "<<number<<std::endl;
125 if (stride != nbin*2+nres){
126 std::cout <<
" Table not well formed"<<std::endl;
128 if (stride != 0 && (number % stride) != 0){
129 std::cout <<
" Table not well formed"<<std::endl;
150 if (concreteType ==
"PerformancePayloadFromTable"){
153 std::cout <<
" Non existing request: " <<concreteType<<std::endl;
156 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)
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.
std::vector< std::vector< double > > tmp