67 TString kind, input, out1, out2;
81 out1 =
"Output_Calib";
88 input = TString::Format(
"%s", argv[1]);
89 out1 = TString::Format(
"%s_Calib", argv[1]);
90 out2 = TString::Format(
"%s_Anl", argv[1]);
95 kind = TString::Format(
"%s", argv[1]);
96 input = TString::Format(
"%s", argv[2]);
97 out1 = TString::Format(
"%s_Calib", argv[2]);
98 out2 = TString::Format(
"%s_Anl", argv[2]);
144 ExecuteScript(Form(
"setup.C(\"%s\",\"%s\")", kind.Data(), input.Data()));
172 fSize =
new TH1D (
"Eventsize",
"Event size [b]",160,1,160);
185 fitter->
AddGauss1(
"data1",
"Gauss1",15,5,1000);
198 fitter->
AddGauss1(
"spectrum",
"Gauss1",500,20,1000);
TGo4FitterEnvelope * fFitEnvSpectrum
Bool_t AddParameter(TGo4Parameter *par, const char *subfolder=0)
static Bool_t CheckVersion(Int_t version)
virtual Int_t UserPreLoop()
void DefEventProcessor(const char *Pname, const char *Pclass)
void AddPolynomX(const char *DataName, const char *NamePrefix, Int_t MaxOrder=1, Int_t GroupIndex=0, Double_t lrange=0., Double_t rrange=0.)
friend class TGo4AnalysisStep
TGo4EventElement * GetOutputEvent()
virtual Int_t UserEventFunc()
Bool_t AddHistogram(TH1 *his, const char *subfolder=0, Bool_t replace=kTRUE)
Bool_t IsNewInputFile() const
void SetSourceEnabled(Bool_t on=kTRUE)
TH1 * GetHistogram(const char *name)
TGo4EventElement * GetInputEvent(const char *stepname)
TGo4FitModelGauss1 * AddGauss1(const char *DataName, const char *ModelName, Double_t iPosition, Double_t iWidth, Double_t iAmpl=1., Int_t Axis=0)
TGo4Parameter * GetParameter(const char *name, const char *parameter_class=0)
Long_t ExecuteScript(const char *script_name)
void DefOutputEvent(const char *Oname, const char *Oclass)
#define __GO4BUILDVERSION__
void SetStoreEnabled(Bool_t on=kTRUE)
void PrintMbsFileHeader()
virtual void Print(Option_t *opt="") const
void PrintMbsBufferHeader()
virtual Int_t UserPostLoop()
void SetProcessEnabled(Bool_t on=kTRUE)
Bool_t AddAnalysisStep(TGo4AnalysisStep *next)
void SetErrorStopEnabled(Bool_t on)
void DefInputEvent(const char *Iname, const char *Iclass)
TXXXUnpackEvent * fRawEvent
static void Error(const char *text,...)
TGo4FitterEnvelope * fFitEnvSize
static void Info(const char *text,...)
TGo4FitDataHistogram * AddH1(const char *DataName, TH1 *histo, Bool_t Owned=kFALSE, Double_t lrange=0., Double_t rrange=0.)