- Timestamp:
- 07/17/03 17:41:32 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc
r2173 r2283 33 33 // 34 34 //////////////////////////////////////////////////////////////////////////// 35 #include "MGeomCorsikaCT.h" 35 36 #include "MMcCorsikaRunHeader.h" 36 37 … … 44 45 // 45 46 // 46 MMcCorsikaRunHeader::MMcCorsikaRunHeader(const char *name, const char *title) 47 MMcCorsikaRunHeader::MMcCorsikaRunHeader(const char *name, const char *title, 48 int NumCT) 47 49 { 48 50 fName = name ? name : "MMcCorsikaRunHeader"; … … 79 81 for (int i=0;i<4; i++) fNFL[i] = 0; 80 82 83 fViewconeAngles[0]=0.0; 84 fViewconeAngles[1]=0.0; 85 81 86 fWobbleMode=0; 82 87 fAtmosphericModel=0; 88 89 fNumCT=NumCT; 90 for (int i=0;i<NumCT;i++) 91 fTelescopes[i]= new MGeomCorsikaCT; 92 83 93 } 84 94 … … 109 119 const Float_t catm[5], 110 120 const Float_t nfl[4], 121 const Float_t viewcone[2], 111 122 const Float_t wobble, 112 123 const Float_t atmospher … … 143 154 for (int i=0; i<4; i++) fNFL[i] = nfl[i]; 144 155 156 fViewconeAngles[0]=viewcone[0]; 157 fViewconeAngles[1]=viewcone[1]; 158 145 159 fWobbleMode=wobble; 146 160 fAtmosphericModel=atmospher; 161 162 } 163 164 // ------------------------------------------------------------------------- 165 // 166 // Fill C Telescope information in Corsika Run Header 167 // 168 void MMcCorsikaRunHeader::FillCT(Float_t ctx, Float_t cty, Float_t ctz, 169 Float_t cttheta, Float_t ctphi, 170 Float_t ctdiam, Float_t ctfocal, 171 Int_t CTnum){ 172 173 static_cast<MGeomCorsikaCT*>(fTelescopes.UncheckedAt(CTnum)) 174 ->Fill(ctx, cty, ctz, cttheta, ctphi, ctdiam, ctfocal); 147 175 148 176 } … … 157 185 158 186 159
Note:
See TracChangeset
for help on using the changeset viewer.