Recent updates about EMC packages (A) [message #15795] |
Fri, 17 January 2014 15:31 |
Jifeng Hu
Messages: 31 Registered: October 2012
|
continuous participant |
From: *physik.uni-giessen.de
|
|
(A) MC generation
======================================================================== ======================
Class(source): PndEmc (EmcMC/PndEmc.cxx), producing MC points in EMC
line : 684 PndEmc.cxx
Changes : fTime = gMC->TrackTime(); //OLD
fTime = gMC->TrackTime()*1.e9; //NEW
Purpose : in unit of nano second, keep uniform style with other sub-detectors.
======================================================================== =======================
Class(source): PndEmcHit (EmcData/PndEmcHit.cxx), modeling a hit in one EMC crystal.
line : 67 PndEmcHit.h,
Changes : Double32_t fTime;
//Double32_t fTime;
Purpose : comment off this data member. PndEmcHit is derived from FairHit (derived from FairTimeStamp), so this data member is repeated.
line : 47, 51 PndEmcHit.h,
Changes : virtual void SetTime(Double32_t time) { fTime = time; }
virtual void SetTime(Double32_t time) { SetTimeStamp(time); }
Purpose : keep the old interface, and pass the time to base class data members.
======================================================================== ========================
Class(source): PndEmcHitProducer (EmcDigi/PndEmcHitProducer.cxx), producing emc hits for each fired crystal.
------------------------------------------------------------------------ ------------------------
line : 302, PndEmcHitProducer.cxx
Changes : [add] myHit->SetTimeStampError(diffTime);
Purpose : Assign an error to time stamp of one hit, this error is the difference time between the first MC point and the last MC point. all points inside one crystal will sum up one hit.
------------------------------------------------------------------------ ------------------------
line : 358, PndEmcHitProducer.cxx
Changes : [modify] point_time = point->GetTime()*1.e9 ==> point_time = point->GetTime();
Purpose : This unit convert is moved in PndEmc.cxx
======================================================================== ========================
|
|
|