AliRoot Core  edcc906 (edcc906)
AliCaloRawAnalyzerComparison.h
Go to the documentation of this file.
1 #ifndef ALICALORAWANALYZERCOMPARISON_H
2 #define ALICALORAWANALYZERCOMPARISON_H
3 
4 /* Copyright(c) 1998-2010, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 //_________________________________________________________________________
15 //_________________________________________________________________________
16 
17 
18 #define NANALYZERS 5
19 
20 #include <vector>
21 #include "AliCaloBunchInfo.h"
22 #include "AliCaloFitResults.h"
23 
24 #define NZCOLSSMOD 48
25 #define NXROWSSMOD 24
26 
27 class AliCaloRawAnalyzer;
28 class TH2D;
29 class TH1D;
30 
32 {
33  public:
34 
37 
38  void Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector,
39  const UInt_t altrocfg1, const UInt_t altrocfg2, const int event, const int col, const int row );
40 
41  void EventChanged();
42 
43  void WriteHistograms();
44 
45  private:
46 
49 
50  void InitHistograms( std::vector <AliCaloRawAnalyzer*> analyzers, AliCaloRawAnalyzer* ref );
51 
53 
58  TH1D *fAmpDiff [NANALYZERS];
59  TH1D *fTofDiff [NANALYZERS];
62 
63  std::vector <AliCaloRawAnalyzer*> fRawAnalyzers;
65 
66  int fMod;
67  int fMonCol1;
68  int fMonRow1;
69  int fMonCol2;
70  int fMonRow2;
71 
74 
75 };
76 
77 #endif
Base class for extraction of signal amplitude and peak position.
TH1D * fTofResDifferential[NANALYZERS]
Differntial tof resolution.
std::vector< AliCaloRawAnalyzer * > fRawAnalyzers
Raw analyzers.
AliCaloRawAnalyzer * fReferenceAnalyzer
Reference analyzer.
TH1D * fTofResAbsolute[NANALYZERS]
Differntial tof resolution.
AliCaloFitResults fMon1[NANALYZERS]
results for tower 1
TH2D * fRefAmpVsAnalyzers[NANALYZERS]
Amplidue from give analyzer vs reference.
Container class to hold results from fitting.
TH2D * fTofVsEvent[NANALYZERS]
Tof vs event number.
void Evaluate(const std::vector< AliCaloBunchInfo > &bunchvector, const UInt_t altrocfg1, const UInt_t altrocfg2, const int event, const int col, const int row)
int fMonCol1
column index, for tower 1
TH2D * fRefTofVsAnalyzers[NANALYZERS]
Amplidue from give analyzer vs reference.
#define NZCOLSSMOD
#define NANALYZERS
#define NXROWSSMOD
int fMonCol2
column index, for tower 2
void InitHistograms(std::vector< AliCaloRawAnalyzer * > analyzers, AliCaloRawAnalyzer *ref)
TH1D * fAmpHistograms[NANALYZERS][NZCOLSSMOD][NXROWSSMOD]
amplitude histos
TH2D * fAmplitudeVsEvent[NANALYZERS]
Amplitude vs envent number.
TH1D * fTofDiff[NANALYZERS]
Difference in tof between reference.
AliCaloRawAnalyzerComparison & operator=(const AliCaloRawAnalyzerComparison &)
Raw data fitting comparison.
AliCaloFitResults fMon2[NANALYZERS]
results for tower 2
TH1D * fAmpDiff[NANALYZERS]
Difference in amplitude between reference.