GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RawAmpWatcher Class Reference

#include <RawAmpWatcher.h>

Inheritance diagram for RawAmpWatcher:

Public Member Functions

void Abort ()
 These lines are used to remove these methods from the context menu. More...
 
void AddPeak (double EPeak)
 b) AddPeak More...
 
TCanvas * BuildSegmentedCanvas (TString CanvasName, TString CanvasTitle)
 
void Continue ()
 
virtual void Delete (const char *option="")
 
virtual void DrawClass () const
 
virtual TObject * DrawClone (const char *option="") const
 
virtual void Dump () const
 
virtual void DumpClass ()
 
virtual void Exec (const char *option)
 ******************************************************************************************/// More...
 
virtual void ExecuteTask (const char *option)
 
virtual void ExecuteTask_ (const char *option="Recal Source=60Co PL=40,10 ; Plot Exp=FW05:spec Opt=same ; all")
 
void FitAllRecal ()
 1) Calibration More...
 
void FitAllRoot (const char *FitType="Dino", const char *source="60Co")
 ******************************************************************************************/// More...
 
void FitSelectedRecal (bool PrintHeader=true)
 B) FitSelected. More...
 
void FitSelectedRoot (const char *FitType="Dino", const char *source="60Co", bool all=false)
 ******************************************************************************************/// More...
 
virtual void FullRangeAll (const char *x_y="xy")
 
virtual void FullRangePerPad (const char *x_y="xy")
 
virtual void FullRangeSelectedPad (const char *x_y="xy")
 
TString GetCrystalNameFromID (int ID)
 
int GetCurrentHistAndLib ()
 ******************************************************************************************/// More...
 
TString GetFileName ()
 
void GetPlotParams (const char *varexp="FW05:spec", const char *selection="", const char *option="")
 ******************************************************************************************/// More...
 
TString GetRunName ()
 
void GWRecalFit ()
 
void HandleMovement (Int_t eventType, Int_t eventX, Int_t eventY, TObject *select)
 ******************************************************************************************/// More...
 
int InitTree ()
 ******************************************************************************************/// More...
 
virtual void Inspect () const
 
virtual void InspectClass ()
 
virtual void LogX ()
 
virtual void LogY ()
 
virtual void LogZ ()
 
virtual void ls (const char *option="*") const
 
TCanvas * NewCanvas (TString cname, TString ctitle)
 
void NoBackGround ()
 c) NoBackGround More...
 
void PlotCalibResultsAsTree (int LibNbr)
 ******************************************************************************************/// More...
 
void PlotCalibResultsAsTreeLaucher ()
 ******************************************************************************************/// More...
 
void PrintHelp ()
 
void PrintHelpOnPropagateTask ()
 ******************************************************************************************/// More...
 
void PrintPlotHelp ()
 ******************************************************************************************/// More...
 
void PrintResForXTalk (int VerboseMod=0)
 3) VerboseOptions More...
 
 RawAmpWatcher (const char *name, const char *title)
 */ More...
 
void RemoveClosestPeakTo (double EPeak)
 c) RemoveClosestPeakTo More...
 
virtual void SaveAs (const char *filename="", const char *option="") const
 
void SearchPeak (int NPeaks=2, double width=50, double threshold=0.1, double xmin=0., double xmax=30000.)
 ******************************************************************************************/// More...
 
virtual void SetActive (Bool_t Active=true)
 
virtual void SetBreakin (int breakin=1)
 
virtual void SetBreakout (int breakout=1)
 
void SetChannelOffset (int Off)
 2) Configure More...
 
void SetCrystal (TString name)
 
virtual void SetDrawOption (const char *option="")
 
void SetFileName (TString name)
 ******************************************************************************************/// More...
 
void SetFirstLibGain (double gain)
 
void SetFullVerbosity ()
 A) SetFullVerbosity. More...
 
void SetGain (float Gain)
 f) UseFlatBackGround More...
 
void SetGlobalChannelLimits (int ChFrom=50, int ChTo=32768)
 b) SetChannelLimits More...
 
void SetGlobalPeaksLimits (float DefFWHM=15, float DefAmpli=5)
 C) PeakSearch. More...
 
void SetHistChannelLimits (int SpecNbr=0, int lib=1, int ChFrom=50, int ChTo=32768)
 c) SetChannelLimits More...
 
void SetHistPeaksLimits (int SpecNbr=0, int lib=1, float FWHM=15, float Ampli=5)
 b) SetHistPeaksLimits More...
 
void SetListOfLibrairies (TList *l)
 
virtual void SetLoupe (bool loupeon=true)
 
virtual void SetName (const char *name)
 
void SetPersoBackground (int NumberIterations=100, int Direction=TSpectrum::kBackDecreasingWindow, int FilterOrder=TSpectrum::kBackOrder8, bool Smoothing=true, int smoothingWindow=TSpectrum::kBackSmoothing3, bool Compton=false)
 ******************************************************************************************/// More...
 
virtual void SetRange (double min, double max, const char *x_y="x")
 
void SetRefPeak (double EPeak)
 d) SetRefPeak More...
 
void SetRunName (TString name)
 
void SetSelectedHistChannelLimits (int ChFrom=50, int ChTo=32768)
 ******************************************************************************************/// More...
 
void SetSelectedHistPeaksLimits (float FWHM=15, float Ampli=5)
 ******************************************************************************************/// More...
 
void SetSource (const char *SourcesNames)
 B) TheoreticalPeaks. More...
 
virtual void SetTitle (const char *title="")
 
void SetVerbosityLevel (int Verb=0)
 A) SetVerbosityLevel. More...
 
virtual void ShowHist (int HistNumber, int LibraryNumber=1, bool same=false)
 ******************************************************************************************/// More...
 
virtual void ShowSpectra (int LibraryNumber=1, const char *DrawOpt="")
 ******************************************************************************************/// More...
 
void SpecificFit (int NbrOfSpectra=38, int FirstHist=0, int Step=1)
 C) SpecificFit. More...
 
void UnsetLeftTail ()
 E) FitOptions. More...
 
void UnsetRightTail ()
 b) UseFlatBackGround More...
 
virtual void Unzoom (const char *x_y_xy="xy")
 
virtual void UnzoomSelected (const char *x_y_xy="xy")
 
void UseAffineBackGround ()
 b) UseAffineBackGround More...
 
void UseAffineCalib ()
 d) UseFlatBackGround More...
 
void UseFirstDerivativeSearch ()
 c) UseFirstDerivativeSearch More...
 
void UseFlatBackGround ()
 D) BackGround. More...
 
void UseLinearCalib ()
 c) UseFlatBackGround More...
 
void UseOffset (bool offset=false)
 
void UseParabolicCalib ()
 e) UseFlatBackGround More...
 
void UseSecondDerivativeSearch ()
 d) UseSecondDerivativeSearch More...
 
virtual void WriteCalibFiles (const char *ConfDirectory="")
 ******************************************************************************************/// More...
 
virtual ~RawAmpWatcher ()
 

Static Public Member Functions

static Bool_t OpenContextMenu (const char *method, TObject *obj, const char *alt_method_name="")
 

Public Attributes

TTree * fCalibResultsTree
 
TCanvas * fCanvas
 
bool fCompton
 
TString fCrystalName
 
TH1 * fCurrentHist
 
bool fDefinePersoBackground
 
int fDirection
 
ofstream fFileOutGWRecal
 
int fFilterOrder
 
double fFirstLibGain
 
FitFunctionsfFitFunction
 
GWRecalfGWRecal
 Recal Part. More...
 
Int_t fLasteventType
 HandleMovement part. More...
 
Int_t fLasteventX
 
Int_t fLasteventY
 
TList * fListOfLibrairies
 
int fNumberIterations
 
bool fSmoothing
 
int fsmoothingWindow
 
bool fSourceDefine
 
double fThreshold
 
bool fUseOffset
 
double fWidth
 
double fxmax
 
double fxmin
 
TString PlotVarExp
 
TString PlotVarOpt
 
TString PlotVarSel
 
double TabArea [38]
 
double TabE [38]
 
double TabFWHM [38]
 
double TabFWHM_10 [38]
 
double TabGain [38]
 
double TabLTProp [38]
 
double TabMean [38]
 
double TabOffset [38]
 
double TabRTProp [38]
 

Protected Member Functions

Color_t GetColor (int i)
 

Protected Attributes

BashColorfBashColor
 
TString fFileName
 
vector< PadPosfHistPositionList
 
int fLibNumber
 
int fNPadsX
 
int fNPadsY
 
TString fObservableName
 
TString fObservableTitle
 
vector< HistPosfPadPositionList
 
TString fRunName
 

Static Protected Attributes

static const int fNC = 2
 
static const int fNSg = 36
 

Detailed Description

Definition at line 15 of file RawAmpWatcher.h.


The documentation for this class was generated from the following files: