ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TreeMod/src/Analysis.cc
(Generate patch)

Comparing UserCode/MitAna/TreeMod/src/Analysis.cc (file contents):
Revision 1.15 by loizides, Sun Sep 28 02:36:23 2008 UTC vs.
Revision 1.17 by loizides, Wed Nov 5 17:23:47 2008 UTC

# Line 28 | Line 28 | using namespace mithep;
28   Analysis::Analysis(Bool_t useproof) :
29    fUseProof(useproof),
30    fUseHLT(kTRUE),
31 <  fHierachy(kTRUE),
31 >  fHierarchy(kTRUE),
32 >  fDoProxy(kTRUE),
33    fState(kPristine),
34    fNFriends(0),
35    fList(new TList),
# Line 349 | Line 350 | Bool_t Analysis::Init()
350  
351      // when not running Proof, we must make a selector
352      fSelector = new Selector;
353 <
353 >    fSelector->SetDoProxy(fDoProxy);
354      if (hltmod)
355        fSelector->AddInput(hltmod);
355
356      fSelector->AddInput(fSuperMod);
357      MDB(kAnalysis, 2)
358        fSelector->SetVerbosity(1);
# Line 496 | Line 496 | void Analysis::Terminate()
496          MDB(kAnalysis, 1)
497            Info("Terminate", "Saving output to %s!", fAnaOutput.Data());
498  
499 <        if (fHierachy)
499 >        if (fHierarchy)
500            fOutput->Write(fOutput->GetName(),TObject::kSingleKey);      
501          else
502            fOutput->Write();
503                
504        }
505      }
506 +    // set state to terminate
507 +    fState = kTerminate;
508    }
509  
510    delete fChain;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines