16 # define new DEBUG_NEW
18 static char THIS_FILE[] = __FILE__;
27 virtual ~vertex() {cout<<
" Vertex Detructor ..."<<endl;}
36 parton (
double mpt,
double meta,
double mphi,
double me,
bool mfinal) {
pt=mpt;
eta=meta;
phi=mphi;
e=me;
final=mfinal;}
37 virtual ~parton() {cout<<
" Parton Destructor ..."<<endl;}
50 virtual ~shower2() {cout<<
"Shower2 Detrcutor ..."<<endl;}
99 vector<weak_ptr<parton>> myv; list<edge> le=
all_edges();
104 for (list<edge>::iterator
it=le.begin();
it!=le.end(); ++
it)
106 if (
PP[*
it]->isFinal())
107 myv.push_back(
PP[*
it]);
120 int main (
int argc,
char* argv[])
123 cout <<
"Loading graph and preserving ids" << endl;
126 cout <<
"Loading failed" << endl;
130 cout <<
"Loading OK" << endl;
137 cout <<
"Number of ids OK" << endl;
139 cout <<
"Loading graph and preserving ids" << endl;
143 cout <<
"Loading failed" << endl;
147 cout <<
"Loading OK" << endl;
154 cout <<
"Number of ids OK" << endl;