2 // Script to digit multiplicity information to std::cout.
5 #include <AliFMDDigit.h>
6 #include <AliFMDInput.h>
8 class ShowDigits : public AliFMDInputDigits
12 ShowDigits(Int_t det, const char* file="galice.root")
13 : AliFMDInputDigits(file), fDet(det)
15 fHist = new TH1F("digitData", "Digit Data", 128, 0, 1024);
17 Bool_t ProcessDigit(AliFMDDigit* digit)
19 if (digit->Counts() > 12) digit->Print();
20 if (digit->Detector() == det) fHist->Fill(digit->Counts());
29 //____________________________________________________________________