Changeset 9328 for trunk/MagicSoft/Mars/msimcamera
- Timestamp:
- 02/12/09 20:07:51 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/msimcamera
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimcamera/MSimAPD.cc
r9309 r9328 89 89 Int_t MSimAPD::PreProcess(MParList *pList) 90 90 { 91 if (fNameGeomCam.IsNull()) 92 { 93 *fLog << inf << "No geometry container... skipping." << endl; 94 return kSKIP; 95 } 96 91 97 fGeom = (MGeomCam*)pList->FindObject(fNameGeomCam, "MGeomCam"); 92 98 if (!fGeom) … … 199 205 return kTRUE; 200 206 } 207 208 // -------------------------------------------------------------------------- 209 // 210 // NameGeomCam 211 // 212 Int_t MSimAPD::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 213 { 214 Bool_t rc = kFALSE; 215 if (IsEnvDefined(env, prefix, "NameGeomCam", print)) 216 { 217 rc = kTRUE; 218 fNameGeomCam = GetEnvValue(env, prefix, "NameGeomCam", fNameGeomCam); 219 } 220 221 return rc; 222 } -
trunk/MagicSoft/Mars/msimcamera/MSimAPD.h
r9240 r9328 28 28 Double_t fFreq; // Frequency of random phtons which hit the APDs 29 29 30 // MParContainer 31 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 32 30 33 // MTask 31 34 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc
r9323 r9328 281 281 return kTRUE; 282 282 } 283 284 // -------------------------------------------------------------------------- 285 // 286 // BaselineGain: Off 287 // 288 Int_t MSimCamera::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 289 { 290 Bool_t rc = kFALSE; 291 if (IsEnvDefined(env, prefix, "BaselineGain", print)) 292 { 293 rc = kTRUE; 294 fBaselineGain = GetEnvValue(env, prefix, "BaselineGain", fBaselineGain); 295 } 296 297 return rc; 298 } -
trunk/MagicSoft/Mars/msimcamera/MSimCamera.h
r9319 r9328 32 32 Bool_t fBaselineGain; // Should the gain be applied to baseline and electronic noise? 33 33 34 // MParContainer 35 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 36 34 37 // MTask 35 38 Int_t PreProcess(MParList *pList);
Note:
See TracChangeset
for help on using the changeset viewer.