Fork me on GitHub

Changes in / [7a86a5c:7c7fe5e] in git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/Example1.C

    r7a86a5c r7c7fe5e  
    3030  TClonesArray *branchJet = treeReader->UseBranch("Jet");
    3131  TClonesArray *branchElectron = treeReader->UseBranch("Electron");
     32  TClonesArray *branchEvent = treeReader->UseBranch("Event");
    3233
    3334  // Book histograms
     
    4041    // Load selected branches with data from specified event
    4142    treeReader->ReadEntry(entry);
     43
     44   
     45    //HepMCEvent *event = (HepMCEvent*) branchEvent -> At(0);
     46    //LHEFEvent *event = (LHEFEvent*) branchEvent -> At(0);
     47    //Float_t weight = event->Weight;
    4248
    4349    // If event contains at least 1 jet
Note: See TracChangeset for help on using the changeset viewer.