Commit cf72d5e6 authored by Chad Lantz's avatar Chad Lantz
Browse files

Added GetRMS method and a couple more includes

parent 13eeda78
......@@ -15,6 +15,8 @@
#include "Containers.h"
#include "TStyle.h"
#include "TGaxis.h"
#include "TF1.h"
#include "TLine.h"
class WFAnalysis : public Analysis{
......@@ -23,16 +25,17 @@ class WFAnalysis : public Analysis{
WFAnalysis( );
virtual ~WFAnalysis( );
virtual void Initialize ( );
virtual void SetupHistograms( );
virtual TH1 *GetDifferential( TH1D *h, int window, bool debug = false);
virtual void OverlayHistos ( TH1D *h1, TH1D *h2 , TVirtualPad* pad, bool save = false);
virtual void OverlayHistos ( TH1D *h1, TH1D *h2 , bool save = true);
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 AnalyzeEvent ( const std::vector< Channel* > vCh, TVirtualPad* pad );
virtual void Finalize ( );
virtual void Initialize ( );
virtual void SetupHistograms( );
virtual TH1 *GetDifferential( TH1D *h, int window, bool debug = false );
virtual double GetRMS ( TH1D *h, int diff_window, bool save = false) ;
virtual void OverlayHistos ( TH1D *h1, TH1D *h2 , TVirtualPad* pad, bool save = false );
virtual void OverlayHistos ( TH1D *h1, TH1D *h2 , bool save = true );
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 AnalyzeEvent ( const std::vector< Channel* > vCh, TVirtualPad* pad );
virtual void Finalize ( );
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment