// create raw-reader objects which takes as an input a root chain
// from a root file collection
- if (!fChain) fIsValid = kFALSE;
+ if (!fChain) {
+ fIsValid = kFALSE;
+ return;
+ }
fChain->SetBranchStatus("*",1);
fChain->SetBranchAddress("rawevent",&fEvent,&fBranch);
// create raw-reader objects which takes as an input a root chain
// from a root file collection
- if (!elist) fIsValid = kFALSE;
+ if (!elist) {
+ fIsValid = kFALSE;
+ return;
+ }
fChain = new TChain("RAW");