Changeset 723


Ignore:
Timestamp:
04/06/01 17:48:09 (23 years ago)
Author:
magicsol
Message:
New camera version able to read the new format of the reflector output:
reflector 0.4
File:
1 edited

Legend:

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

    r709 r723  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.23 $
    24 // $Author: blanch $
    25 // $Date: 2001-03-28 16:13:41 $
     23// $Revision: 1.24 $
     24// $Author: magicsol $
     25// $Date: 2001-04-06 16:48:09 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    385385  //@'
    386386
     387  int ioscar=0;
     388
    387389  char inname[256];           //@< input file name
    388390  char starfieldname[256];    //@< starfield input file name
     
    11281130
    11291131      while( isA( flag, FLAG_START_OF_EVENT   )){ // while there is a next event
    1130 
    11311132        //
    11321133        // Clear Trigger and Fadc
     
    11411142       
    11421143        // get MCEventHeader
    1143        
    11441144        fread( (char*)&mcevth, mcevth.mysize(), 1, inputfile );
    11451145
     
    14431443                           mcevth.get_coreY(),
    14441444                           impactD,
    1445                            ulli,
    1446                            ulli,
    1447                            (UInt_t) ncph,
     1445                           (UInt_t)mcevth.get_CORSIKA(),
     1446                           (UInt_t)mcevth.get_AtmAbs(),
     1447                           (UInt_t)mcevth.get_MirrAbs()+mcevth.get_OutOfMirr()+mcevth.get_BlackSpot(),
    14481448                           (UInt_t) ncph,
    14491449                           (UInt_t) inumphe,
     
    14521452            //  Fill the Tree with the current leaves of each branch
    14531453            i=EvtTree.Fill() ;
    1454    
     1454
    14551455            //  Clear the branches
    14561456            if(Write_McTrig){
     
    15591559                           mcevth.get_coreY(),
    15601560                           impactD,
    1561                            ulli,
    1562                            ulli,
    1563                            (UInt_t) ncph,
     1561                           (UInt_t)mcevth.get_CORSIKA(),
     1562                           (UInt_t)mcevth.get_AtmAbs(),
     1563                           (UInt_t)mcevth.get_MirrAbs()+mcevth.get_OutOfMirr()+mcevth.get_BlackSpot(),
    15641564                           (UInt_t) ncph,
    15651565                           (UInt_t) inumphe,
     
    15741574           
    15751575            EvtTree.Fill() ;
    1576            
    1577          
    1578          
     1576                         
    15791577            //
    15801578            //    if a first level trigger occurred, then
     
    28542852         
    28552853    // check if wl is inside table; outside the table, QE is assumed to be zero
    2856 
    28572854   
    28582855    if((wl < qept[0][0]) || (wl > qept[0][pointsQE-1])){
     
    32203217//
    32213218// $Log: not supported by cvs2svn $
     3219// Revision 1.23  2001/03/28 16:13:41  blanch
     3220// While feeling the MMcFadeHeader branch the boolean conditoin was wrong. It has
     3221// been solved.
     3222//
    32223223// Revision 1.22  2001/03/20 18:52:43  blanch
    32233224// *** empty log message ***
     
    32683269//
    32693270// $Log: not supported by cvs2svn $
     3271// Revision 1.23  2001/03/28 16:13:41  blanch
     3272// While feeling the MMcFadeHeader branch the boolean conditoin was wrong. It has
     3273// been solved.
     3274//
    32703275// Revision 1.22  2001/03/20 18:52:43  blanch
    32713276// *** empty log message ***
Note: See TracChangeset for help on using the changeset viewer.