#include <vector>
#include <set>
#include <string>
#include <iostream>
#include <sstream>
#include <fstream>
#include <cstdio>
#include <iomanip>
#include <memory>
#include <algorithm>
#include <cstring>
#include <unistd.h>
#include <getopt.h>
#include <cmath>
#include <boost/algorithm/string.hpp>
#include <TFile.h>
#include <TCanvas.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TGraphAsymmErrors.h>
#include "FWCore/Common/interface/TriggerNames.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/ParameterSet/interface/Registry.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "DataFormats/HLTReco/interface/TriggerObject.h"
#include "DataFormats/HLTReco/interface/TriggerEvent.h"
#include "DataFormats/FWLite/interface/Handle.h"
#include "DataFormats/FWLite/interface/Event.h"
#include "DataFormats/FWLite/interface/ChainEvent.h"
#include "HLTrigger/HLTcore/interface/HLTConfigData.h"
Go to the source code of this file.
Classes | |
struct | SummaryOutputProducer::Event |
struct | SummaryOutputProducer::GenericSummary |
class | HLTCommonConfig |
class | HLTConfigDataEx |
class | HLTConfigInterface |
class | HltDiff |
struct | JsonOutputProducer::JsonConfiguration |
struct | JsonOutputProducer::JsonConfigurationBlock |
struct | JsonOutputProducer::JsonEvent |
struct | JsonOutputProducer::JsonEventState |
class | JsonOutputProducer |
struct | JsonOutputProducer::JsonTriggerEventState |
struct | JsonOutputProducer::JsonVars |
struct | SummaryOutputProducer::Pair |
class | SummaryOutputProducer |
struct | TriggerDiff |
struct | SummaryOutputProducer::TriggerSummary |
class | HLTCommonConfig::View |
Enumerations | |
enum | State { InvalidLinkId, InvalidROCId, InvalidPixelId, Unknown, Ready = edm::hlt::Ready, Pass = edm::hlt::Pass, Fail = edm::hlt::Fail, Exception = edm::hlt::Exception, Prescaled, Invalid } |
Functions | |
bool | check_file (std::string const &file) |
bool | check_files (std::vector< std::string > const &files) |
void | error (std::ostream &out) |
void | error (std::ostream &out, const char *message) |
void | error (std::ostream &out, const std::string &message) |
const char * | event_state (bool state) |
std::unique_ptr< HLTConfigDataEx > | getHLTConfigData (fwlite::EventBase const &event, std::string process) |
std::string | getProcessNameFromBranch (std::string const &branch) |
int | main (int argc, char **argv) |
std::ostream & | operator<< (std::ostream &out, TriggerDiff diff) |
const char * | path_state (State state) |
State | prescaled_state (int state, int path, int module, HLTConfigInterface const &config) |
void | print_detailed_path_state (std::ostream &out, State state, int path, int module, HLTConfigInterface const &config) |
void | print_trigger_candidates (std::ostream &out, trigger::TriggerEvent const &summary, edm::InputTag const &filter) |
void | print_trigger_collection (std::ostream &out, trigger::TriggerEvent const &summary, std::string const &tag) |
std::string | strip_process_name (std::string const &s) |
enum State |
Enumerator | |
---|---|
InvalidLinkId | |
InvalidROCId | |
InvalidPixelId | |
Unknown | |
Ready | |
Pass | |
Fail | |
Exception | |
Prescaled | |
Invalid |
Definition at line 241 of file hltDiff.cc.
bool check_file | ( | std::string const & | file | ) |
Definition at line 1224 of file hltDiff.cc.
References f, and geometryDiff::file.
Referenced by check_files().
bool check_files | ( | std::vector< std::string > const & | files | ) |
Definition at line 1229 of file hltDiff.cc.
References DMR_cfg::cerr, check_file(), geometryDiff::file, submitPVResolutionJobs::files, and RemoveAddSevLevel::flag.
Referenced by HltDiff::compare().
void error | ( | std::ostream & | out | ) |
Definition at line 43 of file hltDiff.cc.
References MillePedeFileConverter_cfg::out.
Referenced by error(), and main().
void error | ( | std::ostream & | out, |
const char * | message | ||
) |
void error | ( | std::ostream & | out, |
const std::string & | message | ||
) |
const char* event_state | ( | bool | state | ) |
std::unique_ptr<HLTConfigDataEx> getHLTConfigData | ( | fwlite::EventBase const & | event, |
std::string | process | ||
) |
Definition at line 362 of file hltDiff.cc.
References MicroEventContent_cff::branch, DMR_cfg::cerr, DiMuonV_cfg::config, beamvalidation::exit(), edm::pset::Registry::getMapped(), getProcessNameFromBranch(), edm::pset::Registry::instance(), LaserDQM_cfg::process, and muonDTDigis_cfi::pset.
Referenced by HltDiff::compare().
std::string getProcessNameFromBranch | ( | std::string const & | branch | ) |
Definition at line 356 of file hltDiff.cc.
References MicroEventContent_cff::branch, and submitPVValidationJobs::split().
Referenced by getHLTConfigData().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 1628 of file hltDiff.cc.
References dir2webdir::argc, GCPpyPlots::argv, HltBtagPostValidation_cff::c, DMR_cfg::cerr, error(), beamvalidation::exit(), ValidationMatrix::hlt, SiStripPI::max, and fileinputsource_cfi::option.
std::ostream& operator<< | ( | std::ostream & | out, |
TriggerDiff | diff | ||
) |
Definition at line 414 of file hltDiff.cc.
References change_name::diff, TriggerDiff::format(), and MillePedeFileConverter_cfg::out.
const char* path_state | ( | State | state | ) |
Definition at line 250 of file hltDiff.cc.
References Invalid.
Referenced by HltDiff::compare(), and print_detailed_path_state().
|
inline |
Definition at line 259 of file hltDiff.cc.
References Fail, castor_dqm_sourceclient_file_cfg::path, and Prescaled.
Referenced by HltDiff::compare().
void print_detailed_path_state | ( | std::ostream & | out, |
State | state, | ||
int | path, | ||
int | module, | ||
HLTConfigInterface const & | config | ||
) |
Definition at line 286 of file hltDiff.cc.
References Fail, label, MillePedeFileConverter_cfg::out, castor_dqm_sourceclient_file_cfg::path, and path_state().
Referenced by HltDiff::compare().
void print_trigger_candidates | ( | std::ostream & | out, |
trigger::TriggerEvent const & | summary, | ||
edm::InputTag const & | filter | ||
) |
Definition at line 297 of file hltDiff.cc.
References trigger::TriggerObject::eta(), ALCARECOTkAlBeamHalo_cff::filter, mps_fire::i, trigger::TriggerObject::id(), submitPVResolutionJobs::key, trigger::TriggerObject::mass(), MillePedeFileConverter_cfg::out, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), and edmLumisInFiles::summary.
Referenced by HltDiff::compare().
void print_trigger_collection | ( | std::ostream & | out, |
trigger::TriggerEvent const & | summary, | ||
std::string const & | tag | ||
) |
Definition at line 327 of file hltDiff.cc.
References mps_fire::end, trigger::TriggerObject::eta(), spr::find(), trigger::TriggerObject::id(), submitPVResolutionJobs::key, trigger::TriggerObject::mass(), MillePedeFileConverter_cfg::out, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), edmLumisInFiles::summary, and makeGlobalPositionRcd_cfg::tag.
Referenced by HltDiff::compare().
std::string strip_process_name | ( | std::string const & | s | ) |
Definition at line 272 of file hltDiff.cc.
References submitPVResolutionJobs::count, mps_fire::end, and alignCSCRings::s.
Referenced by HltDiff::compare().