CMS 3D CMS Logo

VertexTracker Struct Reference

#include <FWCore/Services/src/VertexTracker.h>

List of all members.

Public Types

typedef voidaddress_type

Public Member Functions

void incLeaf () const
void incPath (int by) const
void incTotal () const
bool operator< (unsigned int id) const
bool operator< (const VertexTracker &a) const
void setID () const
 VertexTracker (const Sym &sym)
 VertexTracker (address_type addr, const std::string &name)
 VertexTracker (unsigned int id)
 VertexTracker ()

Public Attributes

address_type addr_
EdgeMap edges_
unsigned int id_
unsigned int in_path_
std::string library_
std::string name_
float percent_leaf_
float percent_path_
unsigned int total_as_leaf_
unsigned int total_seen_

Static Public Attributes

static unsigned int next_id_ = 0


Detailed Description

Definition at line 11 of file VertexTracker.h.


Member Typedef Documentation

typedef void* VertexTracker::address_type

Definition at line 13 of file VertexTracker.h.


Constructor & Destructor Documentation

VertexTracker::VertexTracker (  )  [inline]

Definition at line 14 of file VertexTracker.h.

00014                  :
00015     name_(),
00016     library_(),
00017     addr_(),
00018     id_(),
00019     total_as_leaf_(),
00020     total_seen_(),
00021     in_path_(),
00022     //size_(),
00023     percent_leaf_(0.0),
00024     percent_path_(0.0)
00025   { } 

VertexTracker::VertexTracker ( unsigned int  id  )  [inline, explicit]

Definition at line 27 of file VertexTracker.h.

00027                                          :
00028     name_(),
00029     library_(),
00030     addr_(),
00031     id_(id),
00032     total_as_leaf_(),
00033     total_seen_(),
00034     in_path_(),
00035     //size_(),
00036     percent_leaf_(0.0),
00037     percent_path_(0.0)
00038   { }

VertexTracker::VertexTracker ( address_type  addr,
const std::string &  name 
) [inline]

Definition at line 40 of file VertexTracker.h.

00040                                                          :
00041     name_(name),
00042     library_(),
00043     addr_(addr),
00044     id_(),
00045     total_as_leaf_(),
00046     total_seen_(),
00047     in_path_(),
00048     //size_(),
00049     percent_leaf_(0.0),
00050     percent_path_(0.0)
00051   { }

VertexTracker::VertexTracker ( const Sym sym  )  [inline, explicit]

Definition at line 53 of file VertexTracker.h.

00053                                          :
00054     name_(sym.name_),
00055     library_(sym.library_),
00056     addr_(sym.addr_),
00057     id_(),
00058     total_as_leaf_(),
00059     total_seen_(),
00060     in_path_(),
00061     //size_(sym.size_),
00062     percent_leaf_(0.0),
00063     percent_path_(0.0)
00064   { }


Member Function Documentation

void VertexTracker::incLeaf (  )  const [inline]

Definition at line 75 of file VertexTracker.h.

References total_as_leaf_.

00076   { ++total_as_leaf_; }

void VertexTracker::incPath ( int  by  )  const [inline]

Definition at line 83 of file VertexTracker.h.

References in_path_.

00084   { in_path_+=by; }

void VertexTracker::incTotal (  )  const [inline]

Definition at line 79 of file VertexTracker.h.

References total_seen_.

00080   { ++total_seen_; }

bool VertexTracker::operator< ( unsigned int  id  )  const [inline]

Definition at line 71 of file VertexTracker.h.

References id_.

00072   { return id_<id; }

bool VertexTracker::operator< ( const VertexTracker a  )  const [inline]

Definition at line 67 of file VertexTracker.h.

References addr_.

00068   { return addr_<a.addr_; }

void VertexTracker::setID (  )  const [inline]

Definition at line 87 of file VertexTracker.h.

References id_, and next_id_.

00088   { id_=next_id_++; }


Member Data Documentation

address_type VertexTracker::addr_

Definition at line 92 of file VertexTracker.h.

Referenced by operator<(), and operator<<().

EdgeMap VertexTracker::edges_ [mutable]

Definition at line 97 of file VertexTracker.h.

unsigned int VertexTracker::id_ [mutable]

Definition at line 93 of file VertexTracker.h.

Referenced by operator<(), operator<<(), and setID().

unsigned int VertexTracker::in_path_ [mutable]

Definition at line 96 of file VertexTracker.h.

Referenced by incPath(), and operator<<().

std::string VertexTracker::library_

Definition at line 91 of file VertexTracker.h.

Referenced by operator<<().

std::string VertexTracker::name_

Definition at line 90 of file VertexTracker.h.

Referenced by operator<<().

unsigned int VertexTracker::next_id_ = 0 [static]

Definition at line 102 of file VertexTracker.h.

Referenced by setID().

float VertexTracker::percent_leaf_ [mutable]

Definition at line 99 of file VertexTracker.h.

Referenced by operator<<().

float VertexTracker::percent_path_ [mutable]

Definition at line 100 of file VertexTracker.h.

Referenced by operator<<().

unsigned int VertexTracker::total_as_leaf_ [mutable]

Definition at line 94 of file VertexTracker.h.

Referenced by incLeaf(), and operator<<().

unsigned int VertexTracker::total_seen_ [mutable]

Definition at line 95 of file VertexTracker.h.

Referenced by incTotal(), and operator<<().


The documentation for this struct was generated from the following files:
Generated on Tue Jun 9 18:35:03 2009 for CMSSW by  doxygen 1.5.4