Ignore:
Timestamp:
07/06/00 11:24:00 (24 years ago)
Author:
harald
Message:
small changes to read in also cphotons
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Corsika/Simone/MSimone.cxx

    r324 r415  
    2727  CoreY   = 0. ;
    2828 
    29   FirstInt = 0. ;
     29  FirstInt = 0. ;
     30
     31  NumCerPhot = 0. ;
    3032}
    3133
     
    5557 
    5658  FirstInt= 0.  ;
     59
     60  NumCerPhot = 0. ;
    5761}
    5862
     
    7781  Phi            = e->Phi;
    7882 
     83  Float_t x, y ;
     84
     85  CoreD = e->get_core(&x, &y, 0 ) ;
     86
     87  CoreX = x ;
     88  CoreY = y ;
     89
    7990  FirstInt      = e->zFirstInt;
     91
    8092}
    8193
     94void MSimone::SetNumCerPhot( Int_t iN )
     95{
     96  NumCerPhot = (Float_t) iN ;
     97}
    8298
    8399void MSimone::NtupFill( TNtuple *n )
    84100{
    85   n->Fill(PartId,Energy,Theta,Phi) ;
     101  n->Fill(PartId,Energy,Theta,Phi,CoreX, CoreY, CoreD, NumCerPhot ) ;
    86102}
    87103
Note: See TracChangeset for help on using the changeset viewer.