//______________________________________________________________________
AliITSUSimulationPix::AliITSUSimulationPix()
: fTanLorAng(0)
- ,fReadOutCycleLength(25e-6)
- ,fReadOutCycleOffset(0)
,fGlobalChargeScale(1.0)
,fSpread2DHisto(0)
,fSpreadFun(0)
AliITSUSimulationPix::AliITSUSimulationPix(AliITSUSimuParam* sim,AliITSUSensMap* map)
:AliITSUSimulation(sim,map)
,fTanLorAng(0)
- ,fReadOutCycleLength(25e-6)
- ,fReadOutCycleOffset(0)
,fGlobalChargeScale(1.0)
,fSpread2DHisto(0)
,fSpreadFun(0)
AliITSUSimulationPix::AliITSUSimulationPix(const AliITSUSimulationPix &s)
:AliITSUSimulation(s)
,fTanLorAng(s.fTanLorAng)
- ,fReadOutCycleLength(s.fReadOutCycleLength)
- ,fReadOutCycleOffset(s.fReadOutCycleOffset)
,fGlobalChargeScale(s.fGlobalChargeScale)
,fSpread2DHisto(s.fSpread2DHisto)
,fSpreadFun(s.fSpreadFun)
// Assignment operator
if (&s == this) return *this;
AliITSUSimulation::operator=(s);
- fReadOutCycleLength = s.fReadOutCycleLength;
- fReadOutCycleOffset = s.fReadOutCycleOffset;
fSpread2DHisto = s.fSpread2DHisto;
//
fGlobalChargeScale = s.fGlobalChargeScale;
} // for isign
}
-//______________________________________________________________________
-void AliITSUSimulationPix::GenerateReadOutCycleOffset()
-{
- // Generate randomly the strobe
- // phase w.r.t to the LHC clock
- fReadOutCycleOffset = fReadOutCycleLength*gRandom->Rndm();
- // fReadOutCycleOffset = 25e-9*gRandom->Rndm(); // clm: I think this way we shift too much 10-30 us! The global shift should be between the BCs?!
- // RS: 25 ns is too small number, the staggering will not work. Let's at the moment keep fully random shift (still, no particle from correct
- // collision will be lost) untill real number is specified
- //
-}
-
//______________________________________________________________________
void AliITSUSimulationPix::SetResponseParam(AliITSUParamList* resp)
{