- Timestamp:
- 03/08/16 13:27:31 (9 years ago)
- Location:
- trunk/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msim/MPhotonData.cc
r10060 r18449 63 63 : fPosX(0), fPosY(0), fCosU(0), fCosV(0), fTime(0), fWavelength(0), 64 64 /*fNumPhotons(1),*/ fProductionHeight(0), fPrimary(MMcEvtBasic::kUNDEFINED), 65 fTag(-1), fWeight(1)65 fTag(-1), fWeight(1), fMirrorTag(-1) 66 66 { 67 67 // fName = name ? name : "MPhotonData"; -
trunk/Mars/msim/MPhotonData.h
r9941 r18449 43 43 44 44 Int_t fTag; //! A tag for external use 45 Int_t fMirrorTag; // Tag for the mirror ID of the mirror which was hit by this photon 45 46 Float_t fWeight; //! A weight for external use 46 47 … … 108 109 Int_t GetTag() const { return fTag; } 109 110 111 void SetMirrorTag(Int_t mirrorTag) { fMirrorTag=mirrorTag; } 112 Int_t GetMirrorTag() const { return fMirrorTag; } 113 110 114 // TObject 111 115 //void Clear(Option_t * = NULL); -
trunk/Mars/msimreflector/MSimReflector.cc
r10090 r18449 532 532 dat->SetDirection(w); 533 533 534 // FTemme: As dat.fTag is later changed from mirror ID to pixel ID, here 535 // also dat.fMirrorTag is set to num: 536 dat->SetMirrorTag(num); 537 534 538 (*fMirror3)[cnt[3]++] = *dat; 535 539 //*static_cast<MPhotonData*>(cpy3.UncheckedAt(cnt[3]++)) = *dat;
Note:
See TracChangeset
for help on using the changeset viewer.