Changeset 1717


Ignore:
Timestamp:
01/20/03 16:38:50 (22 years ago)
Author:
blanch
Message:
*** empty log message ***
Location:
trunk/MagicSoft/include-Classes/MMcFormat
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc

    r1631 r1717  
    7777    for (int i=0;i<4; i++)  fNFL[i] = 0;
    7878
     79    fWobbleMode=0;
     80    fAtmosphericModel=0;
    7981}
    8082
     
    104106                               const Float_t  batm[5],
    105107                               const Float_t  catm[5],
    106                                const Float_t  nfl[4])
     108                               const Float_t  nfl[4],
     109                               const Float_t  wobble,
     110                               const Float_t  atmospher
     111                               )
    107112{
    108113    fRunNumber = runnumber;
     
    135140    }
    136141    for (int i=0; i<4; i++)  fNFL[i] = nfl[i];
     142
     143    fWobbleMode=wobble;
     144    fAtmosphericModel=atmospher;
     145
    137146}
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.h

    r1632 r1717  
    4343    Float_t fNFL[4];
    4444
     45    Float_t fWobbleMode;     // Indicates wobble mode with which
     46                             //  reflector has been run
     47    Float_t fAtmosphericModel; // Indicates atmospheric model used in
     48                               // absorption simulation. 0 = no atmosphere,
     49                               // 1 = atm_90percent, 2 = atm_isothermal,
     50                               // 3 = atm_corsika.
     51
    4552public:
    4653    MMcCorsikaRunHeader(const char *name=NULL, const char *title=NULL);
     
    6774              const Float_t  batm[5],
    6875              const Float_t  catm[5],
    69               const Float_t  nfl[4]
     76              const Float_t  nfl[4],
     77              const Float_t  wobble,
     78              const Float_t  atmospher
    7079             );
    7180
    72     ClassDef(MMcCorsikaRunHeader, 1) // storage container for corsika setup information
     81    ClassDef(MMcCorsikaRunHeader, 2) // storage container for corsika setup information
    7382};
    7483#endif
    7584
    7685
     86
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx

    r1595 r1717  
    5656                UInt_t   uiPco, 
    5757                UInt_t   uiPelS,
    58                 UInt_t   uiPelC ) {
     58                UInt_t   uiPelC,
     59                Float_t  elec,
     60                Float_t  muon,
     61                Float_t  other) {
    5962
    6063    fName  = "MMcEvt";
     
    101104  fPhotElfromShower = uiPelS ;
    102105  fPhotElinCamera   = uiPelC ;
     106
     107  fElecCphFraction=elec;
     108  fMuonCphFraction=muon;
     109  fOtherCphFraction=other;
    103110}
    104111
     
    136143    fPhotElfromShower = 0;
    137144    fPhotElinCamera   = 0;
     145
     146    fElecCphFraction=0;
     147    fMuonCphFraction=0;
     148    fOtherCphFraction=0;
    138149}
    139150
     
    166177                   UInt_t   uiPco, 
    167178                   UInt_t   uiPelS, 
    168                    UInt_t   uiPelC ) {
     179                   UInt_t   uiPelC,
     180                   Float_t  elec,
     181                   Float_t  muon,
     182                   Float_t  other ) {
    169183  //
    170184  //  All datamembers are filled with the correspondin parameters.
     
    205219  fPhotElfromShower = uiPelS ;
    206220  fPhotElinCamera = uiPelC ;
     221
     222  fElecCphFraction=elec;
     223  fMuonCphFraction=muon;
     224  fOtherCphFraction=other;
     225
    207226}
    208227
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx

    r1663 r1717  
    5454                            // from NSB
    5555
     56  // Now follow the fraction of photons reaching the camera produced by
     57  // electrons, muons and other particles respectively:
     58
     59  Float_t  fElecCphFraction;
     60  Float_t  fMuonCphFraction;
     61  Float_t  fOtherCphFraction;
     62 
     63
     64
    5665 public:
    5766  MMcEvt() ;
     
    6170          Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
    6271          Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
    63           UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ;
     72          UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t,
     73          Float_t, Float_t, Float_t) ;
    6474 
    6575  ~MMcEvt();
     
    7181             Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
    7282             Float_t, Float_t, Float_t, Float_t, Float_t, Float_t,
    73              UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t ) ;
     83             UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t,
     84             Float_t, Float_t, Float_t) ;
    7485
    7586  //virtual void AsciiWrite(ofstream &fout) const;
     
    132143
    133144
    134   ClassDef(MMcEvt, 2)  //Stores Montecarlo Information of one event (eg. the energy)
     145  ClassDef(MMcEvt, 3)  //Stores Montecarlo Information of one event (eg. the energy)
    135146
    136147};
    137148
    138149#endif
     150
     151
     152
     153
     154
Note: See TracChangeset for help on using the changeset viewer.