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

spadicplugin/go4/TSpadicEvent.h (r4864/r1178)

Go to the documentation of this file.
00001 #ifndef TSPADICEVENT_H
00002 #define TSPADICEVENT_H
00003 
00004 #include "TGo4EventElement.h"
00005 
00006 #define MAX_SPADIC           9
00007 // number of maximum connected spadics
00008 // NOTE: since susibo index starts with one, we do not use index 0, but assign one more
00009 
00010 #define N_CHA             8
00011 // channels per spadic
00012 
00013 #define TRACE_SIZE                 45
00014 // in samples
00015 
00016 // order of optional calibration polynomial
00017 #define CALIB_ORDER 2
00018 
00019 
00020 class TSpadicEvent : public TGo4EventElement {
00021    public:
00022       TSpadicEvent();
00023       TSpadicEvent(const char* name);
00024       virtual ~TSpadicEvent();
00025 
00027       void Clear(Option_t *t="");
00028 
00029       /* the raw pulse shape trace data for each channel*/      
00030       UChar_t fPulse[MAX_SPADIC][N_CHA][TRACE_SIZE];
00031   
00032         /* pulse centroid position (time) from minimum bin*/    
00033       Double_t fShapeCentroid[MAX_SPADIC][N_CHA];
00034        /* pulse baseline value (voltage) from averag*/  
00035       Double_t fShapeBaseline[MAX_SPADIC][N_CHA];
00036                 
00037 
00038         /* pulse height above baseline (voltage) from average and min bin*/
00039       Double_t fShapeHeight[MAX_SPADIC][N_CHA];
00040 
00041 
00042       /* pulse centroid position (time) from minimum bin*/
00043       Double_t fFitCentroid[MAX_SPADIC][N_CHA];
00044 
00045 
00046    ClassDef(TSpadicEvent,1)
00047 };
00048 #endif //TEVENT_H
00049 
00050 
00051 

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