Baseline.hh

Go to the documentation of this file.
00001 
00008 #ifndef BASELINE_h
00009 #define BASELINE_h
00010 
00011 #include "Spe.hh"
00012 
00018 class Baseline{
00019 public:
00020   Baseline(){ Clear(); }
00021   virtual ~Baseline() {}
00023   void Clear();
00024 public:
00025   bool found_baseline;    
00026   double mean;            
00027   double variance;        
00028   int search_start_index; 
00029   int length;             
00030   bool saturated;         
00031   bool laserskip;         
00032   int ninterpolations;    
00033   std::vector<Spe> interpolations;     
00034   
00035   ClassDef(Baseline,3)
00036 
00037 };
00038 
00039 inline void Baseline::Clear()
00040 {
00041   found_baseline = false;
00042   mean = -1;
00043   variance = -1;
00044   search_start_index = -1;
00045   length = -1;
00046   saturated = false;
00047   laserskip = false;
00048   ninterpolations = 0;
00049   interpolations.clear();
00050 }
00051 
00052 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1