1 #ifndef FWCore_MessageLogger_JobReport_h
2 #define FWCore_MessageLogger_JobReport_h
98 #include "tbb/concurrent_unordered_map.h"
99 #include "tbb/concurrent_vector.h"
288 std::vector<std::string>
const& branchNames);
319 std::vector<std::string>
const& branchNames);
365 int const& exitCode);
377 std::map<std::string, std::string>
const& fileData) ;
428 std::map<std::string, std::string>
const& metrics);
432 std::map<std::string, std::string>
const& metrics);
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 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::ostream const * ost() const
unsigned long long EventNumber_t
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
edm::propagate_const< std::unique_ptr< JobReportImpl > > impl_
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)
edm::propagate_const< std::unique_ptr< JobReportImpl > > & impl()
std::vector< Token > contributingInputs
void reportSkippedEvent(RunNumber_t run, EventNumber_t event)
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.
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)
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
AtomicLongLong(AtomicLongLong const &r)
edm::propagate_const< std::ostream * > ost_
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.
void eventWrittenToFile(Token fileToken, RunNumber_t run, EventNumber_t event)
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)
void associateLumiSection(JobReport::Token token, unsigned int runNumber, unsigned int lumiSection, unsigned long nEvents)
std::string dumpFiles(void)
debug/test util
void parentBeforeFork(std::string const &jobReportFile, unsigned int numberOfChildren)
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 writeOutputFile(OutputFile const &f)
std::map< unsigned int, unsigned long > lumiSectionsToNEvents
JobReportImpl(std::ostream *iOst)
InputFile & getInputFileForToken(InputType inputType, Token t)
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 reportReadBranches()
OutputFile & getOutputFileForToken(Token t)
void reportLumiSection(JobReport::Token token, unsigned int run, unsigned int lumiSectId, unsigned long nEvents=0)
bool printedReadBranches_