Project

General

Profile

Actions

Feature #2387

open

Macros *reco*.C have to be corrected

Added by Anna Senger 4 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
01/17/2022
Due date:
% Done:

0%

Estimated time:

Description

Hi.
In many reco.C macros (particular in macro/mcbm directory) the old FairRunAna class is used:

FairRunAna* run = new FairRunAna();
run->SetInputFile(rawFile);
run->AddFriend(traFile);
run->SetOutputFile(recFile);

But in new FairRoot it has to be:

FairRunAna* run = new FairRunAna();
FairFileSource* inputSource = new FairFileSource(rawFile);
inputSource->AddFriend(traFile);
run->SetSource(inputSource);
run->SetOutputFile(recFile);

I think, the macros have to be corrected

Regards
Anna

No data to display

Actions

Also available in: Atom PDF