Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/Example1.C

    rc9803f7 radde560  
    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.