Changeset 9261 for trunk/MagicSoft/Mars/msimcamera
- Timestamp:
- 01/25/09 14:32:11 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/msimcamera
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimcamera/MSimSignalCam.cc
r9243 r9261 163 163 pix.SetNumPhotons(fCont[idx]); // gRandom->Uniform(last-first) 164 164 pix.SetArrivalTime(fCont[idx]<=0 ? -1 : fTime[idx]/fCont[idx]-first); 165 pix.Set PixelUsed();165 pix.SetRing(fCont[idx]>0); // Used==1, Unused==0 166 166 pix.SetPixelCore(kFALSE); 167 167 } -
trunk/MagicSoft/Mars/msimcamera/MSimTrigger.cc
r9256 r9261 289 289 return kTRUE; 290 290 } 291 292 // -------------------------------------------------------------------------- 293 // 294 // FileNameRouteac: routeac.txt 295 // FileNameCoincidenceMap: coincidence.txt 296 // DiscriminatorTheshold: 3.5 297 // 298 Int_t MSimTrigger::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 299 { 300 Bool_t rc = kFALSE; 301 if (IsEnvDefined(env, prefix, "FileNameRouteAC", print)) 302 { 303 rc = kTRUE; 304 fNameRouteAC = GetEnvValue(env, prefix, "FileNameRouteAC", fNameRouteAC); 305 } 306 307 if (IsEnvDefined(env, prefix, "FileNameCoincidenceMap", print)) 308 { 309 rc = kTRUE; 310 fNameCoincidenceMap = GetEnvValue(env, prefix, "FileNameCoincidenceMap", fNameCoincidenceMap); 311 } 312 313 if (IsEnvDefined(env, prefix, "DiscriminatorThreshold", print)) 314 { 315 rc = kTRUE; 316 fDiscriminatorThreshold = GetEnvValue(env, prefix, "DiscriminatorThreshold", fDiscriminatorThreshold); 317 } 318 319 return rc; 320 } -
trunk/MagicSoft/Mars/msimcamera/MSimTrigger.h
r9256 r9261 40 40 Int_t Process(); 41 41 42 // MParContainer 43 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 44 42 45 public: 43 46 MSimTrigger(const char *name=NULL, const char *title=NULL);
Note:
See TracChangeset
for help on using the changeset viewer.