• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

spadicplugin/go4/TSpadicProc.h (r4864/r1179)

Go to the documentation of this file.
00001 #ifndef TSPADICPROCESSOR_H
00002 #define TSPADICPROCESSOR_H
00003 
00004 #include "TGo4EventProcessor.h"
00005 #include "TSpadicEvent.h"
00006 
00007 
00008 class TSpadicControl;
00009 
00010 class TSpadicProc : public TGo4EventProcessor {
00011    public:
00012       TSpadicProc() ;
00013       TSpadicProc(const char* name);
00014       virtual ~TSpadicProc() ;
00015 
00016       Bool_t BuildEvent(TGo4EventElement* target); // event processing function
00017 
00018  private:
00019         TGo4MbsEvent*           fInput; 
00020         TSpadicEvent*           fOutput; 
00021 
00022 
00023     TH1* h_DeltaTime;
00024         TH1* h_DeltaTimeFit;
00025         TH1* h_TagEvents;
00026         TH1* h_TagEventsWithData;
00027         TH1* h_NumFiredCrystals;
00028 
00029         TH1 *h_trace[MAX_SPADIC][N_CHA]; 
00030         TH1 *h_fittrace[MAX_SPADIC][N_CHA]; 
00031         TH1 *h_baseline[MAX_SPADIC][N_CHA]; 
00032         TH1 *h_peak[MAX_SPADIC][N_CHA]; 
00033         TH1 *h_meanpos[MAX_SPADIC][N_CHA]; 
00034         TH1 *h_noisesigma[MAX_SPADIC][N_CHA]; 
00035         TH1 *h_fit_pos[MAX_SPADIC][N_CHA]; 
00036 
00037 
00038         TGo4Picture * p_overview[MAX_SPADIC][N_CHA];
00039         TGo4Picture * p_traces[MAX_SPADIC];
00040         TGo4Picture * p_spectra[MAX_SPADIC];
00041 
00042         TGo4WinCond* fBaselineGate1[MAX_SPADIC];
00043         TGo4WinCond* fBaselineGate2[MAX_SPADIC];
00044 
00045         TGo4WinCond* fPeakHeightGate[MAX_SPADIC][N_CHA];
00046 
00047         
00048 
00049         TSpadicControl   *fControl;
00050 
00051         Bool_t DoModelFit(UInt_t sid, UInt_t ch, TH1* hist, TH1* fithist, Double_t& baseline, Double_t& ampl, Double_t& pos, Double_t& sigma, Double_t& posfit);
00052 
00053       
00054    ClassDef(TSpadicProc,1)
00055 };
00056 
00057 #endif //TUNPACKPROCESSOR_H
00058 

Generated on Tue Dec 10 2013 04:52:23 for ROCsoft by  doxygen 1.7.1