1 #ifndef FWCore_MessageLogger_JobReport_h
2 #define FWCore_MessageLogger_JobReport_h
95 #include "boost/scoped_ptr.hpp"
96 #include "tbb/concurrent_unordered_map.h"
97 #include "tbb/concurrent_vector.h"
283 std::vector<std::string>
const& branchNames);
314 std::vector<std::string>
const& branchNames);
360 int const& exitCode);
372 std::map<std::string, std::string>
const& fileData) ;
423 std::map<std::string, std::string>
const& metrics);
427 std::map<std::string, std::string>
const& metrics);
433 boost::scoped_ptr<JobReportImpl>&
impl() {
return impl_;}
436 boost::scoped_ptr<JobReportImpl>
impl_;
void reportSkippedFile(std::string const &pfn, std::string const &lfn)
std::string outputModuleClassName
std::string physicalFileName
void associateRun(JobReport::Token token, unsigned int runNumber)
void reportMemoryInfo(std::vector< std::string > const &memoryData)
void associateLumiSection(JobReport::Token token, unsigned int runNumber, unsigned int lumiSection)
void reportInputRunNumber(unsigned int run)
void eventReadFromFile(InputType inputType, Token fileToken)
std::map< std::string, long long > readBranches_
static boost::mutex mutex
void reportFallbackAttempt(std::string const &pfn, std::string const &lfn, std::string const &err)
std::atomic< long long > & value()
std::map< std::string, bool > fastCopyingInputs
std::string logicalFileName
void reportFastCopyingStatus(Token t, std::string const &inputFileName, bool fastCopying)
JobReportImpl(JobReportImpl const &)=delete
void reportRunNumber(JobReport::Token token, unsigned int run)
void reportRandomStateFile(std::string const &name)
JobReport & operator=(JobReport const &)=delete
Token inputFileOpened(std::string const &physicalFileName, std::string const &logicalFileName, std::string const &catalog, std::string const &inputType, std::string const &inputSourceClassName, std::string const &moduleLabel, std::string const &guid, std::vector< std::string > const &branchNames)
std::vector< InputFile > inputFiles_
void reportPerformanceForModule(std::string const &metricClass, std::string const &moduleName, std::map< std::string, std::string > const &metrics)
std::vector< Token > contributingInputs
tbb::concurrent_unordered_map< std::string, AtomicLongLong > readBranchesSecSource_
void insertInputForOutputs(InputType inputType, Token t)
InputFile::StringVector StringVector
std::string moduleName(Provenance const &provenance)
void writeInputFile(InputFile const &f)
JobReportImpl & operator=(JobReportImpl const &)=delete
void reportInputLumiSection(unsigned int run, unsigned int lumiSectId)
std::map< std::string, long long > readBranchesSecFile_
std::map< RunNumber, RunReport > runReports
void reportPerformanceSummary(std::string const &metricClass, std::map< std::string, std::string > const &metrics)
void childAfterFork(std::string const &jobReportFile, unsigned int childIndex, unsigned int numberOfChildren)
New output file for child.
std::set< unsigned int > lumiSections
Token outputFileOpened(std::string const &physicalFileName, std::string const &logicalFileName, std::string const &catalog, std::string const &outputModuleClassName, std::string const &moduleLabel, std::string const &guid, std::string const &dataType, std::string const &branchHash, std::vector< std::string > const &branchNames)
AtomicLongLong(AtomicLongLong const &r)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::atomic< long long > const & value() const
std::vector< OutputFile > outputFiles_
void reportError(std::string const &shortDesc, std::string const &longDesc, int const &exitCode)
void associateInputRun(unsigned int runNumber)
void reportReadBranch(InputType inputType, std::string const &branchName)
Inform the job report that a branch has been read.
std::size_t numEventsWritten
void reportFastClonedBranches(std::set< std::string > const &fastClonedBranches, long long nEvents)
Inform the job report that branches have been fast Cloned.
boost::scoped_ptr< JobReportImpl > impl_
tbb::concurrent_vector< InputFile > inputFilesSecSource_
std::atomic< long long > value_
void parentAfterFork(std::string const &jobReportFile)
void reportMessageInfo(std::map< std::string, double > const &messageData)
std::string dumpFiles(void)
debug/test util
void parentBeforeFork(std::string const &jobReportFile, unsigned int numberOfChildren)
boost::scoped_ptr< JobReportImpl > & impl()
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
std::vector< InputFile >::size_type lastOpenedPrimaryInputFile_
void outputFileClosed(Token fileToken)
void eventWrittenToFile(Token fileToken, unsigned int run, unsigned int event)
void writeOutputFile(OutputFile const &f)
JobReportImpl(std::ostream *iOst)
InputFile & getInputFileForToken(InputType inputType, Token t)
void reportLumiSection(JobReport::Token token, unsigned int run, unsigned int lumiSectId)
void reportDataType(Token fileToken, std::string const &dataType)
volatile std::atomic< bool > shutdown_flag false
tbb::concurrent_vector< Token > contributingInputsSecSource
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
void inputFileClosed(InputType inputType, Token fileToken)
void associateInputLumiSection(unsigned int runNumber, unsigned int lumiSection)
void reportSkippedEvent(unsigned int run, unsigned int event)
void reportReadBranches()
OutputFile & getOutputFileForToken(Token t)
bool printedReadBranches_