CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::StatsCount Class Reference

#include <ELmap.h>

Public Member Functions

void add (const ELstring &context, bool reactedTo)
 
 StatsCount ()
 

Public Attributes

int aggregateN
 
ELstring context1
 
ELstring context2
 
ELstring contextLast
 
bool ignoredFlag
 
int n
 

Detailed Description

Definition at line 68 of file ELmap.h.

Constructor & Destructor Documentation

edm::StatsCount::StatsCount ( )

Definition at line 117 of file ELmap.cc.

117 : n(0), aggregateN(0), ignoredFlag(false), context1(""), context2(""), contextLast("") {}
ELstring context2
Definition: ELmap.h:74
int aggregateN
Definition: ELmap.h:71
ELstring context1
Definition: ELmap.h:73
ELstring contextLast
Definition: ELmap.h:75
bool ignoredFlag
Definition: ELmap.h:72

Member Function Documentation

void edm::StatsCount::add ( const ELstring context,
bool  reactedTo 
)

Definition at line 119 of file ELmap.cc.

References aggregateN, context1, context2, contextLast, FrontierConditions_GlobalTag_cff::dump, mps_fire::i, ignoredFlag, edm::LimitAndTimespan::limit, visualization-live-secondInstance_cfg::m, n, alignCSCRings::s, and edm::LimitAndTimespan::timespan.

Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().

119  {
120  ++n;
121  ++aggregateN;
122 
123  ((1 == n) ? context1 : (2 == n) ? context2 : contextLast) = ELstring(context, 0, 16);
124 
125  if (!reactedTo)
126  ignoredFlag = true;
127 
128  } // add()
ELstring context2
Definition: ELmap.h:74
int aggregateN
Definition: ELmap.h:71
ELstring context1
Definition: ELmap.h:73
ELstring contextLast
Definition: ELmap.h:75
bool ignoredFlag
Definition: ELmap.h:72
std::string ELstring
Definition: ELstring.h:21

Member Data Documentation

int edm::StatsCount::aggregateN

Definition at line 71 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::context1

Definition at line 73 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::context2

Definition at line 74 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::contextLast

Definition at line 75 of file ELmap.h.

Referenced by add().

bool edm::StatsCount::ignoredFlag

Definition at line 72 of file ELmap.h.

Referenced by add().

int edm::StatsCount::n

Definition at line 70 of file ELmap.h.

Referenced by add().