47 fSum1 =
MakeTH1(
'I',
"Sum1",
"Sum over 8 channels", 5000, 1., 5001.);
48 fSum2 =
MakeTH1(
'I',
"Sum2",
"Sum over 8 channels shift 1", 5000, 1., 5001.);
49 fSum3 =
MakeTH1(
'I',
"Sum3",
"Sum over 8 channels shift 2", 5000, 1., 5001.);
64 Bool_t isValid = kFALSE;
70 if(!inp_evt || !inp_evt->IsValid()){
71 out_evt->SetValid(isValid);
78 out_evt->
frData[cnt++] = inp_evt->fiCrate1[ii];
81 out_evt->frData[cnt++] = inp_evt->fiCrate2[ii];
85 if (out_evt->frData[ii]) {
87 fSum1->Fill(out_evt->frData[ii]);
94 out_evt->SetValid(isValid);
TH1 * MakeTH1(char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, const char *xtitle=nullptr, const char *ytitle=nullptr)
Create one dimensional histogram of specified type.
TGo4Parameter * MakeParameter(const char *fullname, const char *classname, const char *newcmd=nullptr)
Create parameter of specified class,.
TGo4EventProcessor(const char *name)
TGo4EventElement * GetInputEvent()
Access to external raw event which is set as association member.
friend class TGo4EventElement
TGo4Condition * GetAnalysisCondition(const char *name, const char *cond_cl=nullptr)
Get condition from go4 framework.
static void Info(const char *text,...) GO4_PRINTF_ARGS
User shortcut for message with prio 1.
Float_t frData[XXX_NUM_CHAN]
Bool_t BuildEvent(TGo4EventElement *dest) override
Fill the destination event dest.