|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | beginJob () override |
|
void | endJob () override |
|
| PhysicsPerformanceDBWriterFromFile_WPandPayload (const edm::ParameterSet &) |
|
| ~PhysicsPerformanceDBWriterFromFile_WPandPayload () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
void PhysicsPerformanceDBWriterFromFile_WPandPayload::beginJob |
( |
void |
| ) |
|
|
overridevirtual |
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