Skip to content

Commit

Permalink
Merge pull request #119 from rest-for-physics/lobis-fix-pipeline
Browse files Browse the repository at this point in the history
Fix macro
  • Loading branch information
lobis authored Aug 29, 2023
2 parents 1bef356 + eccd405 commit d14d457
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pipeline/processes/fit/fit.C
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ using namespace std;
Int_t fit(Bool_t draw = false) {
TRestRawSignalEvent* ev = new TRestRawSignalEvent();

TRestRawSignal* sgnl = new TRestRawSignal();
for (int n = 0; n < 512; n++) sgnl->AddPoint(0);
sgnl->IncreaseBinBy(70, 100);
ev->AddSignal(*sgnl);
TRestRawSignal* signal = new TRestRawSignal();
for (int n = 0; n < 512; n++) {
signal->AddPoint((Double_t)0);
}
signal->IncreaseBinBy(70, 100);
ev->AddSignal(*signal);

///// Initializing processes through metadata definition
string cfgFile = "metadata.rml";
Expand Down

0 comments on commit d14d457

Please sign in to comment.