The Mvd Digitization is almost done. There is only a nice Parameter handling missing and the hard coded values have to be removed. To use the digitization with both Pixel an Strip detectors put the corresponding hitproducers into your macro.
// =========================================================================
// ====== Hit Producers ======
// =========================================================================
// ----- MVD Strip hit producer ---------------------------------------
double topPitch=0.004921,
botPitch=0.0042969,
orient=TMath::Pi()*(0.5),
skew=TMath::Pi()*(-0.5),
threshold=0., noise=0.;
int topFE = 10, botFE = 4, nrFEChannels = 128;
MvdStripHitProducer* mvdHitProd
= new MvdStripHitProducer(topPitch, botPitch, orient, skew,
topFE, botFE, nrFEChannels, threshold, noise);
mvdHitProd->SetVerbose(iVerbose);
fRun->AddTask(mvdHitProd);
// ----- MVD Pixel hit producer ---------------------------------------
Double_t lx=0.01, ly=0.01, threshold=000, noise=00;
MvdHybridHitProducer* mvdPixProd = new MvdHybridHitProducer(lx,ly,threshold,noise);
mvdPixProd->SetVerbose(iVerbose);
fRun->AddTask(mvdPixProd);
// =========================================================================
// ===== End of HitProducers =====
// =========================================================================
There will be later a combined task for everything, including the parameter readout from an external ascii file. The output are MvdDigiPixel and MvdDigiStrip data containing mainly Channel and Frontend numbers and Charge.