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

onlinemonitor/spadicmonitor/TSpadicParam.h (r4864/r3495)

Go to the documentation of this file.
00001 #ifndef TSPADICPARAM_H
00002 #define TSPADICPARAM_H
00003 
00004 #include "TGo4Parameter.h"
00005 #include "TSpadicEvent.h"
00006 
00007 class TSpadicParam : public TGo4Parameter {
00008    public:
00009       TSpadicParam(const char* name = 0);
00010 
00011       Int_t numSpadics;  // maximum spadic id in use
00012       Int_t numUsedSpadics; // actual number of used spadics, used for optimal drawing
00013       Bool_t activeSpadic[MAX_SPADIC]; //enable spadic/susibo of id
00014       Bool_t idMappingEnabled;// switch if crate id shall be mapped to susibo id
00015       UInt_t idSpadic[MAX_SPADIC]; // id mapping of spadics 
00016       Int_t spadic_movie; // number of spadic, used to produce movie
00017       
00018 //       Bool_t NoiseAnalyse; // Enables Noise analysis Histogramms
00019 //       Int_t NoiseCorrectionVersion; // Version of Noise Correction: 0=OFF, 1=Only Pedestle 2=Pedestle + two lowest  Channels, 3=Pedestle + Corelation Matrix
00020 //       Int_t NoiseCorrectionPedestle; // Hight of Pedestle set by Noise Correction
00021 //       Bool_t IgnoreOverflowBins; // kTRUE=Keep overflow bins at 255  kFALSE=correct overflow bins
00022 //       Double_t NoiseCorrelationThreshold; // Threshold for Noise Correction using correlation matrix (highly experimental)
00023 //       Int_t HitThreshold; // Threshold for Hits (ADC)
00024 //       Int_t ClusterizerVersion; // Version of Clusterizer: 0=OFF, 1=Simple Geometric, 2=not implemented yet
00025 //       Int_t ClusterizerMaxTimeBin; // Clusterizer: Maximal time bin for cluster search
00026 //       Int_t ClusterizerMinTimeBin; // Clusterizer: Minimal time bin for cluster search
00027 //       Int_t ClusterizerThreshold; // Clusterizer: Threshold for Clusterizer
00028 //       Int_t SpadicSpectral; // Enables filling of Spectral hilstos: 0=OFF, 1=All chanels, 2=Only in found cluster (requires Clusterizer)
00029 
00030 
00031     // // // Switches:
00032     Bool_t Run_RawSignalStatistics; // Raw Signal Statistics is ON=kTRUE
00033     Bool_t Run_PedestleCorrection;  // Pedestle Correction is ON=kTRUE
00034     Int_t pedestalTB; // number of timebins infront of signal used for pedestal !!! DO NOT USE PEDESTAL CORRECTION IN THIS STEP IT DOES NOT WORK PROPPER !!!
00035     Bool_t Run_NoiseCorrection; // Noise Correction is ON=kTRUE
00036     Bool_t Run_PadResponseFunction; // Calculating Pad Response Function is ON=kTRUE
00037     Bool_t Run_SimpleAnalysis;
00038     Bool_t Run_SimpleNoiseReduction;
00039     Bool_t Run_TimeClustering; // Clustering using hit time information !! USE Run_TimeClustering OR Run_AmplitudeClustering BUT AT LEAST ONE !!
00040     Bool_t Run_AmplitudeClustering; // Clustering using amplitude information !! USE Run_TimeClustering OR Run_AmplitudeClustering BUT AT LEAST ONE !!
00041     Bool_t UseClusteredSignal; // Use information of clustered event for spectra
00042     
00043     // // // Thresholds and function steering:
00044     Int_t HitThreshold; //Threshold, when channel is counted as hit (Occupancy)
00045     //Bool_t IgnoreOverflowBins; // kTRUE=Keep overflow bins at 255  kFALSE=correct overflow bins
00046     //Int_t Version_PedestleCorr; // Version of Pedestle Correction: 0=OFF, 1=Fix Value, 2=Average of the first 3 Timebins, 3=Value calculated in spill pause event
00047     //Int_t PedestleCorrV1value; // Fix value for PedestleCorr version 1
00048     //Int_t PedestleOffset; // Hight of Pedestle to be add to avoid undershoots
00049     //Int_t Version_NoiseCorrection; // Version of NoiseCorrection: 0=OFF, 1=two lowest (integral) Channels, 2=CorrelationMatrix (STILL UNSTABLE), 3=Sergeys Compensate method
00050     //Double_t NoiseCorrelationThreshold; // Threshold for Noise Correction using correlation matrix (highly experimental)
00051       
00052 
00053     /* implemented to copy setup of active spadics to spadic event */
00054     virtual Bool_t UpdateFrom(TGo4Parameter* rhs);
00055 
00056     /* Actual set roc event configuration. To be used from setup macro*/
00057     Bool_t SetConfigSpadics();
00058     
00059     void ResetConfigSpadics();
00060 
00061 
00062    ClassDef(TSpadicParam,3)
00063 };
00064 
00065 #endif

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