#include <L1TriggerJSONMonitoring.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static std::shared_ptr< l1Json::lumiVars > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< l1Json::runVars > | globalBeginRun (edm::Run const &, edm::EventSetup const &, void const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, l1Json::lumiVars *) |
static void | globalEndRun (edm::Run const &iRun, edm::EventSetup const &, RunContext const *iContext) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Public Attributes | |
std::string | baseRunDir_ |
std::vector< unsigned int > | L1AlgoAccept_ |
std::vector< unsigned int > | L1AlgoAcceptCalibration_ |
std::vector< unsigned int > | L1AlgoAcceptPhysics_ |
std::vector< unsigned int > | L1AlgoAcceptRandom_ |
std::vector< int > | L1AlgoBitNumber_ |
std::vector< std::string > | L1AlgoNames_ |
std::vector< unsigned int > | L1Global_ |
std::vector< std::string > | L1GlobalType_ |
edm::InputTag | level1Results_ |
edm::EDGetTokenT< GlobalAlgBlkBxCollection > | level1ResultsToken_ |
unsigned int | oldLumi |
unsigned int | oldPrescaleIndex |
unsigned int | prescaleIndex_ |
unsigned int | processed_ |
std::string | stL1Jsd_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunCache< l1Json::runVars >, edm::LuminosityBlockSummaryCache< l1Json::lumiVars > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: This class prints JSON files with L1 trigger info.
Created: Fri, 11 Mar 2016
See header file for documentation
Definition at line 71 of file L1TriggerJSONMonitoring.h.
|
explicit |
Definition at line 23 of file L1TriggerJSONMonitoring.cc.
L1TriggerJSONMonitoring::~L1TriggerJSONMonitoring | ( | ) |
Definition at line 31 of file L1TriggerJSONMonitoring.cc.
|
virtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 43 of file L1TriggerJSONMonitoring.cc.
References BXVector< T >::begin(), BXVector< T >::end(), edm::Event::eventAuxiliary(), edm::EventBase::experimentType(), edm::Event::getByToken(), i, createfilelist::int, L1AlgoAccept_, L1AlgoAcceptCalibration_, L1AlgoAcceptPhysics_, L1AlgoAcceptRandom_, L1Global_, SelectingProcedure_cff::l1tResults, level1ResultsToken_, LogDebug, edm::EventAuxiliary::luminosityBlock(), oldLumi, oldPrescaleIndex, or, prescaleIndex_, and processed_.
|
virtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 220 of file L1TriggerJSONMonitoring.cc.
References resetLumi().
|
virtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 117 of file L1TriggerJSONMonitoring.cc.
References Json::Value::append(), Json::arrayValue, baseRunDir_, edm::EventSetup::get(), L1TUtmTriggerMenu::getAlgorithmMap(), i, L1AlgoAccept_, L1AlgoAcceptCalibration_, L1AlgoAcceptPhysics_, L1AlgoAcceptRandom_, L1AlgoNames_, L1Global_, L1GlobalType_, GlobalAlgBlk::maxPhysicsTriggers, oldLumi, oldPrescaleIndex, edm::ESHandle< T >::product(), resetLumi(), mps_fire::result, edm::RunBase::run(), stL1Jsd_, AlCaHLTBitMon_QueryRunRegistry::string, interactiveExample::ui, Json::StyledWriter::write(), writeL1DefJson(), and cscNeutronWriter_cfi::writer.
void L1TriggerJSONMonitoring::endLuminosityBlockSummary | ( | edm::LuminosityBlock const & | , |
edm::EventSetup const & | , | ||
l1Json::lumiVars * | |||
) | const |
Definition at line 248 of file L1TriggerJSONMonitoring.cc.
References l1Json::lumiVars::baseRunDir, baseRunDir_, l1Json::lumiVars::L1AlgoAccept, L1AlgoAccept_, l1Json::lumiVars::L1AlgoAcceptCalibration, L1AlgoAcceptCalibration_, l1Json::lumiVars::L1AlgoAcceptPhysics, L1AlgoAcceptPhysics_, l1Json::lumiVars::L1AlgoAcceptRandom, L1AlgoAcceptRandom_, l1Json::lumiVars::L1Global, L1Global_, L1GlobalType_, l1Json::lumiVars::prescaleIndex, prescaleIndex_, l1Json::lumiVars::processed, processed_, l1Json::lumiVars::stL1Jsd, stL1Jsd_, l1Json::lumiVars::streamL1Destination, l1Json::lumiVars::streamL1MergeType, interactiveExample::ui, jsoncollector::HistoJ< T >::update(), and jsoncollector::HistoJ< T >::value().
|
static |
Definition at line 36 of file L1TriggerJSONMonitoring.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
static |
Definition at line 223 of file L1TriggerJSONMonitoring.cc.
|
inlinestatic |
Definition at line 84 of file L1TriggerJSONMonitoring.h.
References evf::MergeTypeJSNDATA.
|
static |
Definition at line 292 of file L1TriggerJSONMonitoring.cc.
References cms::Adler32(), Json::Value::append(), l1Json::lumiVars::baseRunDir, cscdqm::DATA, l1Json::lumiVars::L1AlgoAccept, l1Json::lumiVars::L1AlgoAcceptCalibration, l1Json::lumiVars::L1AlgoAcceptPhysics, l1Json::lumiVars::L1AlgoAcceptRandom, l1Json::lumiVars::L1Global, edm::LuminosityBlockBase::luminosityBlock(), l1Json::lumiVars::prescaleIndex, l1Json::lumiVars::processed, mps_fire::result, edm::LuminosityBlockBase::run(), evf::FastMonitoringService::shouldWriteFiles(), l1Json::lumiVars::stL1Jsd, l1Json::lumiVars::streamL1Destination, l1Json::lumiVars::streamL1MergeType, AlCaHLTBitMon_QueryRunRegistry::string, jsoncollector::HistoJ< T >::toJsonValue(), jsoncollector::StringJ::update(), jsoncollector::IntJ::value(), jsoncollector::StringJ::value(), jsoncollector::HistoJ< T >::value(), Json::StyledWriter::write(), and cscNeutronWriter_cfi::writer.
|
inlinestatic |
Definition at line 94 of file L1TriggerJSONMonitoring.h.
References callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.
void L1TriggerJSONMonitoring::resetLumi | ( | ) |
Definition at line 94 of file L1TriggerJSONMonitoring.cc.
References i, L1AlgoAccept_, L1AlgoAcceptCalibration_, L1AlgoAcceptPhysics_, L1AlgoAcceptRandom_, L1Global_, L1GlobalType_, prescaleIndex_, and processed_.
Referenced by beginLuminosityBlock(), and beginRun().
void L1TriggerJSONMonitoring::writeL1DefJson | ( | std::string | path | ) |
Definition at line 419 of file L1TriggerJSONMonitoring.cc.
References HIPAlignmentAlgorithm_cfi::outfile.
Referenced by beginRun().
std::string L1TriggerJSONMonitoring::baseRunDir_ |
Definition at line 121 of file L1TriggerJSONMonitoring.h.
Referenced by beginRun(), and endLuminosityBlockSummary().
std::vector<unsigned int> L1TriggerJSONMonitoring::L1AlgoAccept_ |
Definition at line 133 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), beginRun(), endLuminosityBlockSummary(), and resetLumi().
std::vector<unsigned int> L1TriggerJSONMonitoring::L1AlgoAcceptCalibration_ |
Definition at line 135 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), beginRun(), endLuminosityBlockSummary(), and resetLumi().
std::vector<unsigned int> L1TriggerJSONMonitoring::L1AlgoAcceptPhysics_ |
Definition at line 134 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), beginRun(), endLuminosityBlockSummary(), and resetLumi().
std::vector<unsigned int> L1TriggerJSONMonitoring::L1AlgoAcceptRandom_ |
Definition at line 136 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), beginRun(), endLuminosityBlockSummary(), and resetLumi().
std::vector<int> L1TriggerJSONMonitoring::L1AlgoBitNumber_ |
Definition at line 124 of file L1TriggerJSONMonitoring.h.
std::vector<std::string> L1TriggerJSONMonitoring::L1AlgoNames_ |
Definition at line 123 of file L1TriggerJSONMonitoring.h.
Referenced by beginRun().
std::vector<unsigned int> L1TriggerJSONMonitoring::L1Global_ |
Definition at line 137 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), beginRun(), endLuminosityBlockSummary(), and resetLumi().
std::vector<std::string> L1TriggerJSONMonitoring::L1GlobalType_ |
Definition at line 125 of file L1TriggerJSONMonitoring.h.
Referenced by beginRun(), endLuminosityBlockSummary(), and resetLumi().
edm::InputTag L1TriggerJSONMonitoring::level1Results_ |
Definition at line 117 of file L1TriggerJSONMonitoring.h.
edm::EDGetTokenT<GlobalAlgBlkBxCollection> L1TriggerJSONMonitoring::level1ResultsToken_ |
Definition at line 118 of file L1TriggerJSONMonitoring.h.
Referenced by analyze().
unsigned int L1TriggerJSONMonitoring::oldLumi |
Definition at line 140 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), and beginRun().
unsigned int L1TriggerJSONMonitoring::oldPrescaleIndex |
Definition at line 141 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), and beginRun().
unsigned int L1TriggerJSONMonitoring::prescaleIndex_ |
Definition at line 131 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), endLuminosityBlockSummary(), and resetLumi().
unsigned int L1TriggerJSONMonitoring::processed_ |
Definition at line 130 of file L1TriggerJSONMonitoring.h.
Referenced by analyze(), endLuminosityBlockSummary(), and resetLumi().
std::string L1TriggerJSONMonitoring::stL1Jsd_ |
Definition at line 127 of file L1TriggerJSONMonitoring.h.
Referenced by beginRun(), and endLuminosityBlockSummary().