32 static int instCount(0);
42 std::cerr <<
"GFRaveVertex::GFRaveVertex() - Number of objects: " << ++instCount << std::endl;
48 const std::vector < GFRaveTrackParameters* > & smoothedTracks,
49 double ndf,
double chi2,
int id) :
55 smoothedTracks_(smoothedTracks)
57 if (
cov_.GetNrows()!=3 ||
cov_.GetNcols()!=3) {
58 Exception exc(
"GFRaveVertex ==> Covariance is not 3x3!",__LINE__,__FILE__);
63 std::cerr <<
"GFRaveVertex::GFRaveVertex(...) - Number of objects: " << ++instCount << std::endl;
78 for (
unsigned int i=0;
i<nPar; ++
i) {
83 std::cerr <<
"GFRaveVertex::GFRaveVertex(GFRaveVertex) - Number of objects: " << ++instCount << std::endl;
107 for (
unsigned int i=0;
i<nPar; ++
i) {
112 std::cerr <<
"GFRaveVertex::~GFRaveVertex() - Number of objects: " << --instCount << std::endl;
119 std::cout <<
"GFRaveVertex\n";
120 std::cout <<
"Position: ";
getPos().Print();
121 std::cout <<
"Covariance: ";
getCov().Print();
122 std::cout <<
"Ndf: " <<
getNdf() <<
", Chi2: " <<
getChi2() <<
", Id: " <<
getId() <<
"\n";
123 std::cout <<
"Number of tracks: " <<
getNTracks() <<
"\n";