// // $Id: SiDisk_t.cpp,v 1.2 2000/07/21 16:26:09 skulik Exp $ // // File: test_disk.cpp // Purpose: // Created: 23-NOV-1997 Thomas Trippe // // $Revision: 1.2 $ // // // Include files #include using std::endl; int main() { SiDisk *defaultDet,*specificDet; const int nwedges=24; const float radius=20.0; const float phi0=0.0; const float phi1=0.26180; const float sep=0.4; const bool flipped=true; const bool spun=true; defaultDet = new SiDisk; std::cout << "Default: " << *defaultDet << endl << endl; specificDet = new SiDisk(radius,nwedges,phi0,flipped,(SiWedgeHolder*)0,phi1,sep,spun); std::cout << "Specific (default): " << *specificDet << endl; SiWedgeHolder* copywedho = new SiWedgeHolder(); specificDet = new SiDisk(radius,nwedges,phi0,flipped,copywedho,phi1,sep,spun); std::cout << "Specific (replicate): " << *specificDet << endl; return(0); }