1 #ifndef RecoMET_METPUSubtraction_GBRForestWriter_h
2 #define RecoMET_METPUSubtraction_GBRForestWriter_h
44 <<
" Failed to find File = " << inputFileName_fip <<
" !!\n";
49 <<
" Undefined Configuration Parameter 'inputFileName !!\n";
54 <<
" Invalid Configuration Parameter 'inputFileType' = " << inputFileType_string <<
" !!\n";
73 if ( cfg.
exists(
"categories") ) {
75 for ( edm::VParameterSet::const_iterator cfgCategory = cfgCategories.begin();
76 cfgCategory != cfgCategories.end(); ++cfgCategory ) {
88 <<
" Invalid Configuration Parameter 'outputFileType' = " << outputFileType_string <<
" !!\n";
98 for ( std::vector<categoryEntryType*>::iterator it =
categories_.begin();
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
categoryEntryType(const edm::ParameterSet &cfg)
std::vector< ParameterSet > VParameterSet
bool exists(std::string const ¶meterName) const
checks if a parameter exists
GBRForestWriter(const edm::ParameterSet &)
std::string gbrForestName_
std::vector< categoryEntryType * > categories_
vstring spectatorVariables_
std::string outputFileName_
std::string outputRecord_
jobEntryType(const edm::ParameterSet &cfg)
LocationCode location() const
Where was the file found?
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< jobEntryType * > jobs_
std::vector< std::string > vstring
std::string fullPath() const
std::string inputFileName_