+void AliEMCALDigitizer::Browse(TBrowser* b)
+{
+ if(fHists) b->Add(fHists);
+ TTask::Browse(b);
+}
+
+TList *AliEMCALDigitizer::BookControlHists(int var)
+{
+ // 22-nov-04
+ // histograms for monitoring digitizer performance
+
+ Info("BookControlHists"," started ");
+ gROOT->cd();
+ const AliEMCALGeometry *geom = AliEMCALGeometry::GetInstance();
+ if(var>=1){
+ new TH1F("hDigiN", "#EMCAL digits with fAmp > fDigitThreshold",
+ fNADCEC+1, -0.5, Double_t(fNADCEC));
+ new TH1F("HDigiSumEnergy","Sum.EMCAL energy from digi", 1000, 0.0, 200.);
+ new TH1F("hDigiAmp", "EMCAL digital amplitude", fNADCEC+1, -0.5, Double_t(fNADCEC));
+ new TH1F("hDigiEnergy","EMCAL cell energy", 2000, 0.0, 200.);
+ new TH1F("hDigiAbsId","EMCAL absId cells with fAmp > fDigitThreshold ",
+ geom->GetNCells(), 0.5, Double_t(geom->GetNCells())+0.5);
+ }
+
+ fHists = AliEMCALHistoUtilities::MoveHistsToList("EmcalDigiControlHists", kFALSE);
+ fHists = 0; //huh? JLK 03-Mar-2006
+ return fHists;
+}
+
+void AliEMCALDigitizer::SaveHists(const char* name, Bool_t kSingleKey, const char* opt)
+{
+ AliEMCALHistoUtilities::SaveListOfHists(fHists, name, kSingleKey, opt);
+}