CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
counter.Counters Class Reference
Inheritance diagram for counter.Counters:

Public Member Functions

def __getitem__ (self, name)
 
def __init__ (self)
 
def __str__ (self)
 
def addCounter (self, name)
 
def counter (self, name)
 
def write (self, dirname)
 

Public Attributes

 counters
 
 ranks
 

Detailed Description

TODO: could be a diclist? 

Definition at line 85 of file counter.py.

Constructor & Destructor Documentation

◆ __init__()

def counter.Counters.__init__ (   self)

Definition at line 90 of file counter.py.

90  def __init__( self ):
91  self.counters = []
92  self.ranks = {}
93 

Member Function Documentation

◆ __getitem__()

def counter.Counters.__getitem__ (   self,
  name 
)

◆ __str__()

def counter.Counters.__str__ (   self)

◆ addCounter()

def counter.Counters.addCounter (   self,
  name 
)

Definition at line 94 of file counter.py.

94  def addCounter(self, name):
95  self.ranks[ name ] = len( self.counters )
96  self.counters.append( Counter(name) )
97 

References mps_setup.append, cms::cuda::AtomicPairCounter::Atomic2.counters, NMaxPerLumi.counters, analyzer.Analyzer.counters, HistogramManager.counters, counter.Counters.counters, cscdqm::ChamberCounterKeyType.counters, and counter.Counters.ranks.

◆ counter()

def counter.Counters.counter (   self,
  name 
)

◆ write()

def counter.Counters.write (   self,
  dirname 
)

Member Data Documentation

◆ counters

counter.Counters.counters

◆ ranks

counter.Counters.ranks

Definition at line 92 of file counter.py.

Referenced by counter.Counters.addCounter(), and counter.Counters.counter().

align::Counter
std::function< unsigned int(align::ID)> Counter
Definition: AlignableIndexer.h:31
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
mps_setup.append
append
Definition: mps_setup.py:85
TriggerAnalyzer.__str__
def __str__(self)
Definition: TriggerAnalyzer.py:103
counter
static std::atomic< unsigned int > counter
Definition: SharedResourceNames.cc:17
writeEcalDQMStatus.write
write
Definition: writeEcalDQMStatus.py:48
genParticles_cff.map
map
Definition: genParticles_cff.py:11