21 #ifndef _CrystalWatchers
22 #define _CrystalWatchers
30 #ifndef ADF_CrystalFrame
77 static const Short_t gkNB_SIG = 10;
83 TString fProcessingAlgo;
128 virtual void DoCanvas(TCanvas *c, Option_t *);
132 void ProcessSignal(
Signal *, TH1 *h = 0x0);
134 void ProcessSignalBasic(
Signal *, TH1 *h = 0x0);
137 ShowSignals(
const char *name =
"ShowSignals",
const char *title =
"Display the signals for one crystal");
143 static void SetDefaultArrow(Double_t baseline, Double_t threshold, Double_t overshoot, Double_t pos = 10, Double_t length = 1000 );
149 void SetVRange(Int_t min = 0, Int_t max = 10000);
151 void SetHRange(Double_t min = 0, Double_t max = 100);
154 void ShowArrow(Int_t which_sig = 0);
164 virtual void Exec(Option_t *option=
"");
173 #include "TBrowser.h"
189 CrystalSpectra(
const char *name =
"CrystalSpectra",
const char *title =
"Display the values for one crystal at the producer level");
197 virtual void ShowSignalsMap(
int NbrOfSignals = 1);
199 virtual void ShowBaselinesMap(
const char *option=
"");
201 virtual void ShowSpectraMap(
const char *option=
"");
203 virtual void GlobalAutoRange(
const char *opt=
"xy");
225 CCrystalSpectra(
const char *name =
"CCrystalSpectra",
const char *title =
"Display the values for one crystal at the preprocessing level") :
CrystalSpectra(name,title) {}
virtual void ShowArrow(Int_t)
TH2 * fCoreCoinc
Core correlation core0 versus core1.
virtual void UnZoom(const char *x_y="y")
TObjArray fThresholdArrows
TObjArray * fSeg
Array of last gkNB_SIG signals for core and segments.
std::vector< Double_t > fFromSignal
Some characteritics extracted from the signal.
Int_t fVMin
to change the range to diplay signals
TObjArray fOvershootArrows
std::vector< Int_t > fCoincOverShoot
virtual ~CrystalWatcher()
TH2 * fEnergies
Energie for the different channels core and segments.
virtual void ShowCanvas(Option_t)
header file for CrystalFrame.cpp
virtual void SetRange(double min, double max, const char *x_y="x")
CCrystalSpectra(const char *name="CCrystalSpectra", const char *title="Display the values for one crystal at the preprocessing level")
Base Watcher working for any kind of crystal Frame (Frame interface)
virtual void ShowLastOnes()
TObjArray * fBaseLines
Baseline for the different channels core and segments.
virtual void SetRange(double min, double max, const char *x_y="y")
void SetVRange(Int_t min=0, Int_t max=10000)
change vertical range
void SetHRange(Double_t min=0, Double_t max=100)
change horizontal range
Base class for a trigger on a data flow.
virtual void SetHRange(Double_t min, Double_t max)
change horizontal range
std::vector< Int_t > fCoincThreshold
to keep event by event the list of signals and overshoot
virtual void SetLoupe(bool loupeon=true)
virtual void Unzoom(const char *x_y_xy="xy")
virtual void SetVRange(Int_t min, Int_t max)
change vertical range
TObjArray fBaseLinesArrows
contains arrows corresponding respectively to baseline, threshold and overshoot for all detector ...
Crystal spectra watcher class.
TH2 * fCoinc
Coincidence between segments [signals above the threshold].
CrystalWatcher(const char *name, const char *title)
TH3 * fHThreshold
keep statistcis for threshold and overshoot
virtual void SetLoupe(bool loupeon=true)
virtual ~CCrystalSpectra()