66 std::cout <<
"WP Tagger is "<<tagger<<std::endl;
69 std::cout <<
"WP Cut is "<<cut<<std::endl;
72 std::cout <<
"concrete Type is "<<concreteType<<std::endl;
79 std::cout <<
"Using "<<nres<<
" results and "<< nvar<<
" variables"<<std::endl;
81 unsigned int bins = 0;
85 std::cout <<
"Using "<<bins<<
" bins"<<std::endl;
89 std::vector<PerformanceResult::ResultType>
res;
90 std::vector<BinningVariables::BinningVariablesType>
bin;
95 while (number<nres && !in.eof()) {
99 std::cout <<
" Result #"<<number <<
" is "<<tmp<<std::endl;;
103 std::cout <<
" Table not well formed"<<std::endl;
115 std::vector<PhysicsTFormulaPayload> v_ppl;
118 while (number<nvar && !in.eof()) {
122 std::cout <<
" Variable #"<<number <<
" is "<<tmp<<std::endl;;
126 std::cout <<
" Table not well formed"<<std::endl;
133 for (
unsigned int recregion =0 ; recregion<
bins; ++recregion){
135 std::vector< std::pair<float, float> > limits;
136 std::vector<std::string> formulas;
140 while (number < nres && (!in.eof())){
143 std::cout <<
" Inserting "<<temp<<
" as formula in position "<<number<<std::endl;
145 formulas.push_back(temp);
155 while (number < nvar && (!in.eof())){
159 std::cout <<
" Inserting "<<temp1<<
","<<temp2<<
" as limits in position "<<number<<std::endl;
161 limits.push_back(std::pair<float, float>(temp1,temp2));
175 v_ppl.push_back(ppl);
181 if (concreteType ==
"PerformancePayloadFromBinnedTFormula"){
185 std::cout <<
" Non existing request: " <<concreteType<<std::endl;
188 std::cout <<
" Created the "<<concreteType <<
" object"<<std::endl;
190 std::cout <<
"Start writing the payload" << std::endl;
209 std::cout <<
"Finised writing the payload" << std::endl;
212 std::cout <<
"Start writing the WP" << std::endl;
231 std::cout <<
"Finished writing the WP" << 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