48 FairRootManager* ioman = FairRootManager::Instance();
50 LOG(fatal) << GetName() <<
"::Init: RootManager not instantiated!";
53 fHits = (TClonesArray*) ioman->GetObject(
"RichHit");
55 LOG(fatal) << GetName() <<
"::Init: No RichHit array!";
58 fRings = (TClonesArray*) ioman->GetObject(
"RichRing");
60 LOG(fatal) << GetName() <<
"::Init: No RichRing array!";
63 fPoints = (TClonesArray*) ioman->GetObject(
"RichPoint");
65 LOG(fatal) << GetName() <<
"::Init: No RichPoint array!";
68 fTracks = (TClonesArray*) ioman->GetObject(
"MCTrack");
70 LOG(fatal) << GetName() <<
"::Init: No MCTrack array!";
74 fMatches =
new TClonesArray(
"CbmTrackMatchNew", 100);
75 ioman->Register(
"RichRingMatch",
"RICH",
fMatches, IsOutputBranchPersistent(
"RichRingMatch"));