WFAnalysis.h 937 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** @file WFAnalysis
 *  @brief Function prototypes for WFAnalysis
 *
 *  This contains the prototypes and members 
 *  for WFAnalysis
 *
 *  @author Yakov Kulinich
 *  @bug No known bugs.
 */

#ifndef WFANALYSIS_H
#define WFANALYSIS_H

#include "Analysis.h"
15
#include "Containers.h"
16
17
#include "TStyle.h"
#include "TGaxis.h"
18
19
#include "TF1.h"
#include "TLine.h"
20

21
22
23
24
25
26
27

class WFAnalysis : public Analysis{

 public :
  WFAnalysis( );
  virtual ~WFAnalysis( );

28
29
  virtual void   Initialize     ( );
  virtual void   SetupHistograms( );
30
31
  virtual void   GetDifferential( TH1D *hIN, TH1D *hOUT, int N);
  virtual double GetRMS         ( TH1D *h, int diff_window, bool debug = false) ;
32
33
34
35
  virtual void   AnalyzeEvent   ( const std::vector< TH1* >& );
  virtual void   AnalyzeEvent   ( const std::vector< std::vector< float > >& );
  virtual void   AnalyzeEvent   ( const std::vector< Channel* > vCh );
  virtual void   Finalize       ( );
36
37
38
39

};

#endif