// --- 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 ) ;
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) ;
+ void MakeRawsSTU(AliRawReader* rawReader);
virtual void StartOfDetectorCycle() ;
private:
Int_t fFittingAlgorithm; // select the fitting algorithm
AliCaloRawAnalyzer *fRawAnalyzer; // for signal fitting
- AliCaloRawAnalyzerLMS *fRawAnalyzerTRU; // for signal fitting, for TRU
+ 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