CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 79 of file ELmap.h.

Constructor & Destructor Documentation

edm::StatsCount::StatsCount ( )

Definition at line 130 of file ELmap.cc.

131 : n ( 0 )
132 , aggregateN ( 0 )
133 , ignoredFlag( false )
134 , context1 ( "" )
135 , context2 ( "" )
136 , contextLast( "" )
137 { }
ELstring context2
Definition: ELmap.h:87
int aggregateN
Definition: ELmap.h:84
ELstring context1
Definition: ELmap.h:86
ELstring contextLast
Definition: ELmap.h:88
bool ignoredFlag
Definition: ELmap.h:85

Member Function Documentation

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

Definition at line 140 of file ELmap.cc.

References aggregateN, context1, context2, contextLast, ignoredFlag, and n.

140  {
141 
142  ++n; ++aggregateN;
143 
144  ( (1 == n) ? context1
145  : (2 == n) ? context2
146  : contextLast
147  ) = ELstring( context, 0, 16 );
148 
149  if ( ! reactedTo )
150  ignoredFlag = true;
151 
152 } // add()
ELstring context2
Definition: ELmap.h:87
int aggregateN
Definition: ELmap.h:84
ELstring context1
Definition: ELmap.h:86
ELstring contextLast
Definition: ELmap.h:88
bool ignoredFlag
Definition: ELmap.h:85
std::string ELstring
Definition: ELstring.h:26

Member Data Documentation

int edm::StatsCount::aggregateN

Definition at line 84 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::context1

Definition at line 86 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::context2

Definition at line 87 of file ELmap.h.

Referenced by add().

ELstring edm::StatsCount::contextLast

Definition at line 88 of file ELmap.h.

Referenced by add().

bool edm::StatsCount::ignoredFlag

Definition at line 85 of file ELmap.h.

Referenced by add().

int edm::StatsCount::n

Definition at line 83 of file ELmap.h.

Referenced by add().