* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
-$Log$
-Revision March 2001 new geometry for relocated PMD : Viyogi
-
-Revision 1.8 2000/06/09 10:31:36 hristov
-sqrt changed to TMath::Sqrt
-
-Revision 1.7 1999/11/03 18:01:40 fca
-Remove non orthogonal unused matrix
-Revision 1.6 1999/09/29 09:24:28 fca
-Introduction of the Copyright and cvs Log
+/* $Id$ */
-*/
-//
///////////////////////////////////////////////////////////////////////////////
// //
// Photon Multiplicity Detector Version 1 //
xpos[i]=xmod[j] + xsup[i]*TMath::Cos(theta[j]) - ysup[i]*TMath::Sin(theta[j]);
ypos[i]=ymod[j] + xsup[i]*TMath::Sin(theta[j]) + ysup[i]*TMath::Cos(theta[j]);
- printf("%f %f \n", xpos[i], ypos[i]);
+ if(fDebug) printf("%s: %f %f \n", ClassName(), xpos[i], ypos[i]);
num_mod = i + 1 + j*9;
- printf("\nNum_mod %d\n",num_mod);
+ printf("\n%s: Num_mod %d\n",ClassName(),num_mod);
if(i==0){
gMC->Gsposp("EMM2", num_mod, "EPMD", xpos[i],ypos[i], 0., irotate[j], "ONLY", dpara_emm1, 6);
// define gas-mixtures
- char namate[21];
+ char namate[21]="";
gMC->Gfmate((*fIdmate)[3], namate, a, z, d, radl, absl, buf, nbuf);
ag[1] = a;
zg[1] = z;
Int_t i;
kdet=1;
//
- printf("\n");
- for(i=0;i<35;i++) printf("*");
- printf(" PMD_INIT ");
- for(i=0;i<35;i++) printf("*");
- printf("\n");
- printf(" PMD simulation package (v3) initialised\n");
- printf(" parameters of pmd\n");
- printf("%10.2f %10.2f %10.2f %10.2f\n", cell_radius,cell_wall,cell_depth,zdist1 );
-
- for(i=0;i<80;i++) printf("*");
- printf("\n");
+ if(fDebug) {
+ printf("\n%s: ",ClassName());
+ for(i=0;i<35;i++) printf("*");
+ printf(" PMD_INIT ");
+ for(i=0;i<35;i++) printf("*");
+ printf("\n");
+ printf("%s: PMD simulation package (v3) initialised\n",
+ ClassName());
+ printf("%s: parameters of pmd\n",ClassName());
+ printf("%s: %10.2f %10.2f %10.2f %10.2f\n",ClassName(),
+ cell_radius,cell_wall,cell_depth,zdist1 );
+ printf("%s: ",ClassName());
+ for(i=0;i<80;i++) printf("*");
+ printf("\n");
+ }
Int_t *idtmed = fIdtmed->GetArray()-599;
fMedSens=idtmed[605-1];