CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
HLTriggerJSONMonitoring Class Reference

#include <HLTriggerJSONMonitoring.h>

Inheritance diagram for HLTriggerJSONMonitoring:
edm::stream::EDAnalyzer< edm::RunCache< hltJson::runVars >, edm::LuminosityBlockSummaryCache< hltJson::lumiVars > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
void beginRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, hltJson::lumiVars *) const
 
 HLTriggerJSONMonitoring (const edm::ParameterSet &)
 
void resetLumi ()
 
void resetRun (bool changed)
 
void writeHLTDefJson (std::string path)
 
 ~HLTriggerJSONMonitoring ()
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunCache< hltJson::runVars >, edm::LuminosityBlockSummaryCache< hltJson::lumiVars > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
static std::shared_ptr
< hltJson::lumiVars
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< hltJson::runVars
globalBeginRun (edm::Run const &, edm::EventSetup const &, void const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, hltJson::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< std::vector
< std::string > > 
datasetContents_
 
std::vector< std::string > datasetNames_
 
std::vector< unsigned int > hltAccept_
 
HLTConfigProvider hltConfig_
 
std::vector< unsigned int > hltDatasets_
 
std::vector< unsigned int > hltErrors_
 
std::vector< std::vector
< unsigned int > > 
hltIndex_
 
std::vector< unsigned int > hltL1s_
 
std::vector< std::string > hltNames_
 
std::vector< unsigned int > hltPre_
 
std::vector< unsigned int > hltReject_
 
std::vector< unsigned int > hltWasRun_
 
std::vector< int > posL1s_
 
std::vector< int > posPre_
 
unsigned int processed_
 
std::string stHltJsd_
 
edm::InputTag triggerResults_
 
edm::EDGetTokenT
< edm::TriggerResults
triggerResultsToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunCache< hltJson::runVars >, edm::LuminosityBlockSummaryCache< hltJson::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)
 

Detailed Description

Description: This class prints JSON files with HLT info.

Created: Fri, 11 Mar 2016

Author
Aram Avetisyan

See header file for documentation

Author
Aram Avetisyan

Definition at line 67 of file HLTriggerJSONMonitoring.h.

Constructor & Destructor Documentation

HLTriggerJSONMonitoring::HLTriggerJSONMonitoring ( const edm::ParameterSet ps)
explicit

Definition at line 24 of file HLTriggerJSONMonitoring.cc.

HLTriggerJSONMonitoring::~HLTriggerJSONMonitoring ( )

Definition at line 32 of file HLTriggerJSONMonitoring.cc.

Member Function Documentation

void HLTriggerJSONMonitoring::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
virtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 44 of file HLTriggerJSONMonitoring.cc.

void HLTriggerJSONMonitoring::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &  iSetup 
)
virtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 230 of file HLTriggerJSONMonitoring.cc.

void HLTriggerJSONMonitoring::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
virtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 168 of file HLTriggerJSONMonitoring.cc.

void HLTriggerJSONMonitoring::endLuminosityBlockSummary ( edm::LuminosityBlock const &  iLumi,
edm::EventSetup const &  iEventSetup,
hltJson::lumiVars iSummary 
) const

Definition at line 259 of file HLTriggerJSONMonitoring.cc.

void HLTriggerJSONMonitoring::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 37 of file HLTriggerJSONMonitoring.cc.

std::shared_ptr< hltJson::lumiVars > HLTriggerJSONMonitoring::globalBeginLuminosityBlockSummary ( edm::LuminosityBlock const &  iLumi,
edm::EventSetup const &  iSetup,
LuminosityBlockContext const *  iContext 
)
static

Definition at line 233 of file HLTriggerJSONMonitoring.cc.

static std::shared_ptr<hltJson::runVars> HLTriggerJSONMonitoring::globalBeginRun ( edm::Run const &  ,
edm::EventSetup const &  ,
void const *   
)
inlinestatic

Definition at line 80 of file HLTriggerJSONMonitoring.h.

void HLTriggerJSONMonitoring::globalEndLuminosityBlockSummary ( edm::LuminosityBlock const &  iLumi,
edm::EventSetup const &  iSetup,
LuminosityBlockContext const *  iContext,
hltJson::lumiVars iSummary 
)
static

Definition at line 304 of file HLTriggerJSONMonitoring.cc.

static void HLTriggerJSONMonitoring::globalEndRun ( edm::Run const &  iRun,
edm::EventSetup const &  ,
RunContext const *  iContext 
)
inlinestatic

Definition at line 91 of file HLTriggerJSONMonitoring.h.

void HLTriggerJSONMonitoring::resetLumi ( )

Definition at line 147 of file HLTriggerJSONMonitoring.cc.

void HLTriggerJSONMonitoring::resetRun ( bool  changed)

Definition at line 91 of file HLTriggerJSONMonitoring.cc.

void HLTriggerJSONMonitoring::writeHLTDefJson ( std::string  path)

Definition at line 439 of file HLTriggerJSONMonitoring.cc.

Member Data Documentation

std::string HLTriggerJSONMonitoring::baseRunDir_

Definition at line 121 of file HLTriggerJSONMonitoring.h.

std::vector<std::vector<std::string> > HLTriggerJSONMonitoring::datasetContents_

Definition at line 127 of file HLTriggerJSONMonitoring.h.

std::vector<std::string> HLTriggerJSONMonitoring::datasetNames_

Definition at line 126 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltAccept_

Definition at line 140 of file HLTriggerJSONMonitoring.h.

HLTConfigProvider HLTriggerJSONMonitoring::hltConfig_

Definition at line 119 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltDatasets_

Definition at line 144 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltErrors_

Definition at line 142 of file HLTriggerJSONMonitoring.h.

std::vector<std::vector<unsigned int> > HLTriggerJSONMonitoring::hltIndex_

Definition at line 124 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltL1s_

Definition at line 138 of file HLTriggerJSONMonitoring.h.

std::vector<std::string> HLTriggerJSONMonitoring::hltNames_

Definition at line 125 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltPre_

Definition at line 139 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltReject_

Definition at line 141 of file HLTriggerJSONMonitoring.h.

std::vector<unsigned int> HLTriggerJSONMonitoring::hltWasRun_

Definition at line 137 of file HLTriggerJSONMonitoring.h.

std::vector<int> HLTriggerJSONMonitoring::posL1s_

Definition at line 129 of file HLTriggerJSONMonitoring.h.

std::vector<int> HLTriggerJSONMonitoring::posPre_

Definition at line 130 of file HLTriggerJSONMonitoring.h.

unsigned int HLTriggerJSONMonitoring::processed_

Definition at line 135 of file HLTriggerJSONMonitoring.h.

std::string HLTriggerJSONMonitoring::stHltJsd_

Definition at line 132 of file HLTriggerJSONMonitoring.h.

edm::InputTag HLTriggerJSONMonitoring::triggerResults_

Definition at line 115 of file HLTriggerJSONMonitoring.h.

edm::EDGetTokenT<edm::TriggerResults> HLTriggerJSONMonitoring::triggerResultsToken_

Definition at line 116 of file HLTriggerJSONMonitoring.h.