-#ifndef ALIEMCALQADataMakerRec_H
-#define ALIEMCALQADataMakerRec_H
+#ifndef ALIEMCALQADATAMAKERREC_H
+#define ALIEMCALQADATAMAKERREC_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
// --- AliRoot header files ---
#include "AliQADataMakerRec.h"
class AliCaloRawAnalyzer;
-class AliCaloRawAnalyzerLMS;
-class AliEMCALGeoParams;
+class AliCaloRawAnalyzerKStandard;
+//class AliEMCALGeoParams;
+class AliEMCALGeometry;
class AliEMCALQADataMakerRec: public AliQADataMakerRec {
kPedLG,kPedHG,
k2DRatioAmp,kRatioDist, kLEDMonRatio, kLEDMonRatioDist,
// then TRU info
- kNsmodTRU,kTimeTRU,
+ kNsmodTRU,
kSigTRU,kNtotTRU,
- kPedTRU,
kNL0TRU, kTimeL0TRU,
+ kNL0FirstTRU, kTimeL0FirstTRU,
// and also LED Mon info
kNsmodLGLEDMon,kNsmodHGLEDMon,kTimeLGLEDMon,kTimeHGLEDMon,
kSigLGLEDMon,kSigHGLEDMon,kNtotLGLEDMon,kNtotHGLEDMon,
- kPedLGLEDMon,kPedHGLEDMon
+ kPedLGLEDMon,kPedHGLEDMon,
+ //and STU info
+ kAmpL1, kGL1, kJL1,
+ kGL1V0, kJL1V0, kSTUTRU
} ;
//Histograms for RecPoints control
Int_t GetFittingAlgorithm() const {return fFittingAlgorithm; }
void SetFittingAlgorithm(Int_t val);
AliCaloRawAnalyzer *GetRawAnalyzer() const { return fRawAnalyzer;}
- AliCaloRawAnalyzerLMS *GetRawAnalyzerTRU() const { return fRawAnalyzerTRU;}
+ AliCaloRawAnalyzerKStandard *GetRawAnalyzerTRU() const { return fRawAnalyzerTRU;}
void SetSuperModules(int i) {fSuperModules = i;}; //The number of SuperModules
int GetSuperModules() const {return fSuperModules;}; //The number of SuperModules
virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t, TObjArray ** list) ;
void GetCalibRefFromOCDB() ;
+ void GetTruChannelPosition( Int_t &globRow, Int_t &globColumn, Int_t module, Int_t ddl, Int_t branch, Int_t column ) const;
virtual void InitESDs() ;
virtual void InitDigits() ;
virtual void InitRecPoints() ;
virtual void MakeDigits() ;
virtual void MakeDigits(TTree * digTree) ;
virtual void MakeRecPoints(TTree * recpoTree) ;
- virtual void MakeRaws(AliRawReader* rawReader) ;
+ virtual void MakeRaws(AliRawReader* rawReader) ;
+ virtual void MakeRawsSTU(AliRawReader* rawReader);
virtual void StartOfDetectorCycle() ;
private:
void ConvertProfile2H(TProfile * p, TH2 * histo) ; //change the profile plot to a 2D histogram
- Int_t fFittingAlgorithm; // select the fitting algorithm
- AliCaloRawAnalyzer *fRawAnalyzer; // for signal fitting
- AliCaloRawAnalyzerLMS *fRawAnalyzerTRU; // for signal fitting, for TRU
+ Int_t fFittingAlgorithm; // select the fitting algorithm
+
+ AliCaloRawAnalyzer *fRawAnalyzer; // for signal fitting
+ AliCaloRawAnalyzerKStandard *fRawAnalyzerTRU; // for signal fitting, for TRU
+ AliEMCALGeometry *fGeom; //EMCAL geometry, needed for STU decoding
int fSuperModules; //The number of SuperModules activated
int fFirstPedestalSample; // first sample for pedestal calculation, in bunch
TH2F * fCalibRefHistoH2F ; // H2F reference histogram from LED run
TProfile * fLEDMonRefHistoPro ; // Profile reference histogram from LED monitor
TH2F * fHighEmcHistoH2F ; // H2F reference histogram from LED run
-
// TText ** fTextSM ; //! Text info for each SM
// TLine * fLineCol ; //! line to distinguish the different SM side: A side and C side
// TLine * fLineRow ; //! line to distinguish the different SM sector 0 and 1
};
-#endif // AliEMCALQADataMakerRec_H
+#endif // AliEMCALQADATAMAKERREC_H