Changeset 5341 for trunk


Ignore:
Timestamp:
11/04/04 22:00:51 (20 years ago)
Author:
moralejo
Message:
 Removed unused variables fTelesTheta and fTelesPhi from MMcRunHeader. They
 were not useful because telescope orientation may change from event to
 event. Added fMirrorFraction to the MMcConfigRunHeader container in the
 camera output.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx

    r5320 r5341  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.80 $
     23// $Revision: 1.81 $
    2424// $Author: moralejo $
    25 // $Date: 2004-10-26 19:21:05 $
     25// $Date: 2004-11-04 22:00:51 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    462462  Float_t shphimax = 0.0;
    463463  Float_t shphimin = 0.0;
    464   Float_t telestheta = 0.0;
    465   Float_t telesphi = 0.0;
    466464  UInt_t corsika = 5200 ;
    467465  Float_t maxpimpact = 0.0;
     
    27272725            McConfigRunHeader[ict]->SetMissPointingX(missP_x);
    27282726            McConfigRunHeader[ict]->SetMissPointingY(missP_y);
     2727
     2728            McConfigRunHeader[ict]->SetMirrorFraction(mirror_frac[ict]);
     2729
    27292730            if ( Spotsigma > 0.)
    27302731            {
     
    27592760  } // end big while loop
    27602761
    2761   //<@ Finally we should fill th McRunHeader
     2762  //<@ Finally we should fill the McRunHeader
    27622763
    27632764  Float_t heights[10];
     
    27692770  get_starfield_center(&sfRaH,&sfRaM,&sfRaS,&sfDeD,&sfDeM,&sfDeS);
    27702771  if (reflector_file_version<6){
    2771     telestheta=-10.0;
    2772     telesphi=-10.0;
    27732772    mcevth[0].get_theta_range(&shthetamin, &shthetamax);
    27742773    mcevth[0].get_phi_range(&shphimin,&shphimax);
     
    27812780  }
    27822781  else{
    2783     telestheta=mcevth_2[0].get_theta_CT();
    2784     telesphi=mcevth_2[0].get_phi_CT();
    27852782    mcevth_2[0].get_theta_range(&shthetamin, &shthetamax);
    27862783    mcevth_2[0].get_phi_range(&shphimin,&shphimax);
     
    28192816                    sfDeS,
    28202817                    meanNSB,
    2821                     telestheta,
    2822                     telesphi,
    28232818                    shthetamax,
    28242819                    shthetamin,
     
    28582853                    sfDeS,
    28592854                    meanNSB,
    2860                     telestheta,
    2861                     telesphi,
    28622855                    shthetamax,
    28632856                    shthetamin,
     
    49294922//
    49304923// $Log: not supported by cvs2svn $
     4924// Revision 1.80  2004/10/26 19:21:05  moralejo
     4925//
     4926//  Added fFadcTimeJitter to root output, in container MMcEvt. Added
     4927//  also fGainFluctuations boolean flag to MMcFadcHeader, to keep track of
     4928//  whether PMT gain fluctuations are simulated or not.
     4929//
    49314930// Revision 1.79  2004/10/26 14:02:32  moralejo
    49324931//
Note: See TracChangeset for help on using the changeset viewer.