CMS 3D CMS Logo

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

#include <HLTScalersClient.h>

Inheritance diagram for HLTScalersClient:
edm::EDAnalyzer edm::EDConsumerBase

Classes

class  CountLS_t
 
class  CountLSFifo_t
 

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void beginJob (void)
 BeginJob. More...
 
void beginRun (const edm::Run &run, const edm::EventSetup &c)
 BeginRun. More...
 
void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
void endRun (const edm::Run &run, const edm::EventSetup &c)
 EndRun. More...
 
 HLTScalersClient (const edm::ParameterSet &ps)
 Constructors. More...
 
virtual ~HLTScalersClient ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- 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 ()
 

Private Member Functions

std::pair< double, double > getSlope_ (const CountLSFifo_t &points)
 

Private Attributes

std::vector< MonitorElement * > countHistories_
 
int currentLumiBlockNumber_
 
MonitorElementcurrentNormRate_
 
MonitorElementcurrentRate_
 
int currentRun_
 
DQMStoredbe_
 
bool debug_
 
bool first_
 
std::string folderName_
 
MonitorElementhltCount_
 
std::vector< MonitorElement * > hltCurrentNormRate_
 
std::vector< MonitorElement * > hltCurrentRate_
 
MonitorElementhltNormRate_
 
MonitorElementhltRate_
 
std::deque< int > ignores_
 
unsigned int kRateIntegWindow_
 
int maxFU_
 
MonitorElementmergeCount_
 
bool missingPathNames_
 
int nev_
 
int nLumi_
 
std::string processName_
 
std::vector< MonitorElement * > rateHistories_
 
std::vector< MonitorElement * > rateNormHistories_
 
CountLSFifo_t recentNormedOverallCountsPerLS_
 
std::vector< CountLSFifo_trecentNormedPathCountsPerLS_
 
CountLSFifo_t recentOverallCountsPerLS_
 
std::vector< CountLSFifo_trecentPathCountsPerLS_
 
std::ofstream textfile_
 
MonitorElementupdates_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- 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

Definition at line 57 of file HLTScalersClient.h.

Constructor & Destructor Documentation

HLTScalersClient::HLTScalersClient ( const edm::ParameterSet ps)

Constructors.

Definition at line 67 of file HLTScalersClient.cc.

virtual HLTScalersClient::~HLTScalersClient ( )
inlinevirtual

Destructor.

Definition at line 139 of file HLTScalersClient.h.

References debug_, and textfile_.

139  {
140  if ( debug_ ) {
141  textfile_.close();
142  }
143  };
std::ofstream textfile_

Member Function Documentation

void HLTScalersClient::analyze ( const edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 582 of file HLTScalersClient.cc.

void HLTScalersClient::beginJob ( void  )
virtual

BeginJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 123 of file HLTScalersClient.cc.

void HLTScalersClient::beginRun ( const edm::Run run,
const edm::EventSetup c 
)
virtual

BeginRun.

beginRun

Reimplemented from edm::EDAnalyzer.

Definition at line 135 of file HLTScalersClient.cc.

void HLTScalersClient::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
virtual

End LumiBlock DQM Client Diagnostic should be performed here

Reimplemented from edm::EDAnalyzer.

Definition at line 153 of file HLTScalersClient.cc.

void HLTScalersClient::endRun ( const edm::Run run,
const edm::EventSetup c 
)
virtual

EndRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 144 of file HLTScalersClient.cc.

std::pair< double, double > HLTScalersClient::getSlope_ ( const CountLSFifo_t points)
private

Definition at line 591 of file HLTScalersClient.cc.

Member Data Documentation

std::vector<MonitorElement*> HLTScalersClient::countHistories_
private

Definition at line 175 of file HLTScalersClient.h.

int HLTScalersClient::currentLumiBlockNumber_
private

Definition at line 173 of file HLTScalersClient.h.

MonitorElement* HLTScalersClient::currentNormRate_
private

Definition at line 186 of file HLTScalersClient.h.

MonitorElement* HLTScalersClient::currentRate_
private

Definition at line 172 of file HLTScalersClient.h.

int HLTScalersClient::currentRun_
private

Definition at line 170 of file HLTScalersClient.h.

DQMStore* HLTScalersClient::dbe_
private

Definition at line 166 of file HLTScalersClient.h.

bool HLTScalersClient::debug_
private

Definition at line 198 of file HLTScalersClient.h.

Referenced by ~HLTScalersClient().

bool HLTScalersClient::first_
private

Definition at line 190 of file HLTScalersClient.h.

std::string HLTScalersClient::folderName_
private

Definition at line 191 of file HLTScalersClient.h.

MonitorElement* HLTScalersClient::hltCount_
private

Definition at line 179 of file HLTScalersClient.h.

std::vector<MonitorElement*> HLTScalersClient::hltCurrentNormRate_
private

Definition at line 188 of file HLTScalersClient.h.

std::vector<MonitorElement*> HLTScalersClient::hltCurrentRate_
private

Definition at line 177 of file HLTScalersClient.h.

MonitorElement* HLTScalersClient::hltNormRate_
private

Definition at line 185 of file HLTScalersClient.h.

MonitorElement* HLTScalersClient::hltRate_
private

Definition at line 178 of file HLTScalersClient.h.

std::deque<int> HLTScalersClient::ignores_
private

Definition at line 195 of file HLTScalersClient.h.

unsigned int HLTScalersClient::kRateIntegWindow_
private

Definition at line 192 of file HLTScalersClient.h.

int HLTScalersClient::maxFU_
private

Definition at line 199 of file HLTScalersClient.h.

MonitorElement* HLTScalersClient::mergeCount_
private

Definition at line 182 of file HLTScalersClient.h.

bool HLTScalersClient::missingPathNames_
private

Definition at line 190 of file HLTScalersClient.h.

int HLTScalersClient::nev_
private

Definition at line 168 of file HLTScalersClient.h.

int HLTScalersClient::nLumi_
private

Definition at line 169 of file HLTScalersClient.h.

std::string HLTScalersClient::processName_
private

Definition at line 193 of file HLTScalersClient.h.

std::vector<MonitorElement*> HLTScalersClient::rateHistories_
private

Definition at line 174 of file HLTScalersClient.h.

std::vector<MonitorElement*> HLTScalersClient::rateNormHistories_
private

Definition at line 187 of file HLTScalersClient.h.

CountLSFifo_t HLTScalersClient::recentNormedOverallCountsPerLS_
private

Definition at line 204 of file HLTScalersClient.h.

std::vector<CountLSFifo_t> HLTScalersClient::recentNormedPathCountsPerLS_
private

Definition at line 203 of file HLTScalersClient.h.

CountLSFifo_t HLTScalersClient::recentOverallCountsPerLS_
private

Definition at line 201 of file HLTScalersClient.h.

std::vector<CountLSFifo_t> HLTScalersClient::recentPathCountsPerLS_
private

Definition at line 200 of file HLTScalersClient.h.

std::ofstream HLTScalersClient::textfile_
private

Definition at line 60 of file HLTScalersClient.h.

Referenced by ~HLTScalersClient().

MonitorElement* HLTScalersClient::updates_
private

Definition at line 181 of file HLTScalersClient.h.