- Timestamp:
- 09/26/03 12:25:07 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
r2361 r2362 21 21 // 22 22 // $RCSfile: camera.cxx,v $ 23 // $Revision: 1.6 1$23 // $Revision: 1.62 $ 24 24 // $Author: blanch $ 25 // $Date: 2003-09-2 5 17:09:20$25 // $Date: 2003-09-26 11:25:07 $ 26 26 // 27 27 //////////////////////////////////////////////////////////////////////// … … 329 329 char flag[SIZE_OF_FLAGS + 1]; //@< flags in the .rfl file 330 330 char flag_new[SIZE_OF_FLAGS + 1]; //@< New flag for the run header in the .rfl file 331 char GeometryName[100][50]; //@< Name of MGeomCam for each CT 331 332 int GeometryCamera[100]; //@< Identification of MGeomCam for each CT 332 333 int TriggerPixels[100]; //@< Numeber of pixels in the trigger region for each CT … … 539 540 switch(GeometryCamera[i]){ 540 541 case 1: camgeom[i]=new MGeomCamMagic; 542 strcpy(GeometryName[i],"MGeomCamMagic"); 541 543 TriggerPixels[i]=TRIGGER_PIXELS_1; 542 544 break; 543 545 case 2: camgeom[i]=new MGeomCamMagic919; 546 strcpy(GeometryName[i],"MGeomCamMagic919"); 544 547 TriggerPixels[i]=TRIGGER_PIXELS_2; 545 548 break; 546 549 case 3: camgeom[i]=new MGeomCamMagicHG; 550 strcpy(GeometryName[i],"MGeomCamMagicHG"); 547 551 TriggerPixels[i]=TRIGGER_PIXELS_3; 548 552 break; 549 553 case 5: camgeom[i]=new MGeomCamECO1000; 554 strcpy(GeometryName[i],"MGeomCamECO1000"); 550 555 TriggerPixels[i]=TRIGGER_PIXELS_5; 551 556 break; 552 557 case 6: camgeom[i]=new MGeomCamECO1000HG; 558 strcpy(GeometryName[i],"MGeomCamECO1000HG"); 553 559 TriggerPixels[i]=TRIGGER_PIXELS_6; 554 560 break; 555 561 case 8: camgeom[i]=new MGeomCamCT1; 562 strcpy(GeometryName[i],"MGeomCamCT1"); 556 563 TriggerPixels[i]=TRIGGER_PIXELS_8; 557 564 break; 558 565 case 9: camgeom[i]=new MGeomCamCT1Daniel; 566 strcpy(GeometryName[i],"MGeomCamCT1Daniel"); 559 567 TriggerPixels[i]=TRIGGER_PIXELS_9; 560 568 break; … … 664 672 for(Int_t ict=0;ict<ct_Number;ict++){ 665 673 666 log(SIGNATURE,"\t%s : %i\n\t%20s:\t% i\n",674 log(SIGNATURE,"\t%s : %i\n\t%20s:\t%s\n", 667 675 "------- TELESCOPE ",ict+1, 668 "Geometry ", Geometry Camera[ict]);676 "Geometry ", GeometryName[ict]); 669 677 strcpy( qe_filename, get_qe_filename(ict)); 670 678 … … 990 998 } 991 999 if (ct_Number==1) 992 HeaderTree.Branch("MGeomCam", "MGeomCam",1000 HeaderTree.Branch("MGeomCam",GeometryName[0], 993 1001 &camdummy[0]); 994 1002 else{ … … 999 1007 strcat (branchname, & help[0]); 1000 1008 strcat (branchname, "."); 1001 HeaderTree.Branch(branchname, "MGeomCam",1009 HeaderTree.Branch(branchname,GeometryName[ict], 1002 1010 &camdummy[ict]); 1003 1011 } … … 4046 4054 // 4047 4055 // $Log: not supported by cvs2svn $ 4056 // Revision 1.61 2003/09/25 17:09:20 blanch 4057 // Bug on the number of phe from diffuse NSB fixed. 4058 // 4048 4059 // Revision 1.60 2003/09/23 16:50:55 blanch 4049 4060 // WE do not read ct_file anymore since all Telescope information is
Note:
See TracChangeset
for help on using the changeset viewer.