source: branches/MarsGapdTimeJitter/mpedestal/MHPedestalCor.h@ 18159

Last change on this file since 18159 was 9153, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 815 bytes
Line 
1#ifndef MARS_MHPedestalCor
2#define MARS_MHPedestalCor
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TProfile
8#include <TProfile.h>
9#endif
10#ifndef ROOT_TMatrix
11#include <TMatrix.h>
12#endif
13
14class MHPedestalCor : public MH
15{
16private:
17 static const TString gsDefName;
18 static const TString gsDefTitle;
19
20 TProfile fProf;
21
22 Int_t Fill(const MParContainer *par, const Stat_t w=1);
23
24public:
25 MHPedestalCor(const char *name=NULL, const char *title=NULL);
26
27 void GetAutoCorrelation(TH2 &h) const;
28 void GetAutoCorrelation(TMatrix &m) const;
29 TMatrix GetAutoCorrelation() const
30 {
31 TMatrix m; GetAutoCorrelation(m); return m;
32 }
33
34 //void Paint(Option_t *o="");
35 void Draw(Option_t *o="");
36
37 ClassDef(MHPedestalCor, 1) // Histogram to get signal auto correlation
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.