CMS 3D CMS Logo

Public Member Functions | Public Attributes

edm::StatsCount Class Reference

#include <ELmap.h>

List of all members.

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.

: n          ( 0 )
, aggregateN ( 0 )
, ignoredFlag( false )
, context1   ( "" )
, context2   ( "" )
, contextLast( "" )
{ }

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.

                                                                 {

  ++n;  ++aggregateN;

  ( (1 == n) ? context1
  : (2 == n) ? context2
  :            contextLast
  )                        = ELstring( context, 0, 16 );

  if ( ! reactedTo )
    ignoredFlag = true;

}  // add()

Member Data Documentation

Definition at line 84 of file ELmap.h.

Referenced by add().

Definition at line 86 of file ELmap.h.

Referenced by add().

Definition at line 87 of file ELmap.h.

Referenced by add().

Definition at line 88 of file ELmap.h.

Referenced by add().

Definition at line 85 of file ELmap.h.

Referenced by add().

Definition at line 83 of file ELmap.h.

Referenced by add().