Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Services
src
VertexTracker.cc
Go to the documentation of this file.
1
#include "
VertexTracker.h
"
2
3
#include <ostream>
4
5
unsigned
int
VertexTracker::next_id_
= 0;
6
7
std::ostream&
8
operator<<
(std::ostream& ost,
const
VertexTracker
& vt)
9
{
10
// static int empty_count = 1;
11
// std::string name = vt.name_;
12
13
// this is a bad place for this code
14
// if (name.empty())
15
// {
16
// std::ostringstream ostr;
17
// ostr << "EmptyName-" << empty_count;
18
// ++empty_count;
19
// name = ostr.str();
20
// }
21
22
ost << vt.
id_
<<
'\t'
23
<< (
void
*)vt.
addr_
<<
'\t'
24
<< vt.
total_as_leaf_
<<
'\t'
25
<< vt.
total_seen_
<<
'\t'
26
<< vt.
in_path_
<<
'\t'
27
<< vt.
percent_leaf_
<<
'\t'
28
<< vt.
percent_path_
<<
'\t'
29
<<
'"'
<< vt.
library_
<<
"\"\t"
30
<<
'"'
<< vt.
name_
<<
'"'
;
31
32
return
ost;
33
}
VertexTracker.h
VertexTracker::library_
std::string library_
Definition:
VertexTracker.h:91
VertexTracker::name_
std::string name_
Definition:
VertexTracker.h:90
VertexTracker::percent_path_
float percent_path_
Definition:
VertexTracker.h:100
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
VertexTracker::addr_
address_type addr_
Definition:
VertexTracker.h:92
VertexTracker::total_as_leaf_
unsigned int total_as_leaf_
Definition:
VertexTracker.h:94
VertexTracker::percent_leaf_
float percent_leaf_
Definition:
VertexTracker.h:99
VertexTracker::in_path_
unsigned int in_path_
Definition:
VertexTracker.h:96
VertexTracker
Definition:
VertexTracker.h:11
VertexTracker::total_seen_
unsigned int total_seen_
Definition:
VertexTracker.h:95
VertexTracker::id_
unsigned int id_
Definition:
VertexTracker.h:93
VertexTracker::next_id_
static unsigned int next_id_
Definition:
VertexTracker.h:102
Generated for CMSSW Reference Manual by
1.8.5