fChain = new TChain("RAW");
if (!fChain->AddFileInfoList((TCollection*)(collection.GetList()))) {
Error("AliRawReaderChain","Bad file list in collection, the chain is empty");
+ fIsValid = kFALSE;
return;
}
fChain = new TChain("RAW");
if (!fChain->AddFileInfoList((TCollection*)(collection->GetList()))) {
Error("AliRawReaderChain","Bad file list in collection, the chain is empty");
+ fIsValid = kFALSE;
return;
}
// create raw-reader objects which takes as an input a root chain
// from a root file collection
+ if (!fChain) fIsValid = kFALSE;
+
fChain->SetBranchStatus("*",1);
fEvent = new AliRawEvent;