Fork me on GitHub

Opened 9 years ago

Closed 9 years ago

#806 closed Bug (fixed)

error message in 3.3.1 for hep->root conversions.

Reported by: J Dutta Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description (last modified by Pavel Demin)

Hi,

I am receiving the following errors in Delphes-3.3.1 while trying to convert hep files to root files using ./DelphesSTDHEP ..... (as given in QuickTour page). It is creating the root file but I suspect that it is not filling all the branches as the error suggests. I am not sure about it. Please have a look at the error message below.

Looking forward to your help in resolving this issue.

Regards,

Juhi


    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MET, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.MET, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.Phi, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.MissingET, nbytes=-1, entry=9122
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.ScalarHT.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.HT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.ScalarHT.HT, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.ScalarHT, nbytes=-1, entry=9122
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Edges[4], nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Tower.Edges[4], nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Tower, nbytes=-1, entry=9129
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:EFlowNeutralHadron.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:EFlowNeutralHadron.EFlowNeutralHadron.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.EFlowNeutralHadron, nbytes=-1, entry=9144
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Tower.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Tower, nbytes=-1, entry=9375
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Particle.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.fBits, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Particle, nbytes=-1, entry=9409
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Particle.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.PID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.PID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Status, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Status, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.IsPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.IsPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.M1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.M1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.M2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.M2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.D1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.D1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.D2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.D2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Mass, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Mass, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.E, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.E, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Px, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Px, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Py, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Py, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Pz, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Pz, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Rapidity, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Rapidity, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.X, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.X, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Y, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Y, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Z, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Z, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Particle, nbytes=-1, entry=9529
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Particle, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.Particle, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9540
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.fBits, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9548
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.IsolationVarRhoCorr, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.IsolationVarRhoCorr, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9555
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Electron.IsolationVarRhoCorr, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.IsolationVarRhoCorr, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Electron, nbytes=-1, entry=9556
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.IsolationVar, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.IsolationVar, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.SumPtCharged, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.SumPtCharged, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.SumPtNeutral, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.SumPtNeutral, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.SumPtChargedPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.SumPtChargedPU, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9556
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Electron.SumPtChargedPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.SumPtChargedPU, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Electron, nbytes=-1, entry=9557
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.SumPt, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.SumPt, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9557
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Electron.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.EhadOverEem, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.EhadOverEem, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.IsolationVar, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.IsolationVar, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.SumPtCharged, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.SumPtCharged, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.SumPtNeutral, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.SumPtNeutral, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.SumPt, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Electron.Electron.SumPt, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Electron, nbytes=-1, entry=9558
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:EFlowPhoton.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:EFlowPhoton.EFlowPhoton.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.EFlowPhoton, nbytes=-1, entry=9563
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Photon, nbytes=-1, entry=9563
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Photon.IsolationVarRhoCorr, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.IsolationVarRhoCorr, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Photon, nbytes=-1, entry=9564
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Photon.EhadOverEem, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.EhadOverEem, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.IsolationVar, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.IsolationVar, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.SumPtCharged, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.SumPtCharged, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.SumPtNeutral, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.SumPtNeutral, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.SumPtChargedPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.SumPtChargedPU, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Photon, nbytes=-1, entry=9565
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Photon.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.E, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.E, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.SumPt, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.SumPt, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Photon, nbytes=-1, entry=9566
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.fUniqueID, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.MissingET, nbytes=-1, entry=9579
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.ScalarHT.fUniqueID, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.ScalarHT, nbytes=-1, entry=9579
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Event.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.ReadTime, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.ReadTime, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.ProcTime, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.ProcTime, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.ProcessID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.ProcessID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Weight, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.Weight, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.ScalePDF, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.ScalePDF, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.AlphaQED, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.AlphaQED, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.AlphaQCD, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Event.Event.AlphaQCD, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Event, nbytes=-1, entry=9580
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MET, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.MET, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:MissingET.MissingET.Phi, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.MissingET, nbytes=-1, entry=9580
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.ScalarHT.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.HT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:ScalarHT.ScalarHT.HT, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.ScalarHT, nbytes=-1, entry=9580
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Tower.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Tower, nbytes=-1, entry=9586
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Edges[4], nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Tower.Edges[4], nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Tower, nbytes=-1, entry=9595
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:EFlowNeutralHadron.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:EFlowNeutralHadron.EFlowNeutralHadron.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.EFlowNeutralHadron, nbytes=-1, entry=9615
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Tower.Tower.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Tower, nbytes=-1, entry=9826
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Particle.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.fBits, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Particle, nbytes=-1, entry=9862
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Particles, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Photon.Photon.Particles, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Photon, nbytes=-1, entry=9958
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Particle, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.Particle, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9967
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Particle.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.fUniqueID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.PID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.PID, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Status, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Status, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.IsPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.IsPU, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.M1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.M1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.M2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.M2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.D1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.D1, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.D2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.D2, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Charge, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Mass, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Mass, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.E, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.E, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Px, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Px, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Py, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Py, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Pz, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Pz, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.PT, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Eta, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Phi, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Rapidity, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Rapidity, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.T, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.X, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.X, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Y, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Y, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Z, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Particle.Particle.Z, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Particle, nbytes=-1, entry=9982
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
Error in <TBranchElement::Fill>: Failed filling branch:Muon.fBits, nbytes=-1
Error in <TBranchElement::Fill>: Failed filling branch:Muon.Muon.fBits, nbytes=-1
Error in <TTree::Fill>: Failed filling branch:Delphes.Muon, nbytes=-1, entry=9989
 This error is symptomatic of a Tree created as a memory-resident Tree
 Instead of doing:
    TTree *T = new TTree(...)
    TFile *f = new TFile(...)
 you should do:
    TFile *f = new TFile(...)
    TTree *T = new TTree(...)
** [################################################################] (100.00%)
** Exiting...

Change History (4)

comment:1 by Pavel Demin, 9 years ago

Description: modified (diff)

comment:2 by Pavel Demin, 9 years ago

Hi Juhi,

To let us reproduce your problem, could you provide more details about your Delphes installation? What OS and ROOT version are you using?

Best regards,

Pavel

comment:3 by Pavel Demin, 9 years ago

I've just tried the following on a machine running Ubuntu 14.04 and could not reproduce your problem. Am I missing something?

wget https://root.cern.ch/download/root_v5.34.34.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
tar -zxf root_v5.34.34.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
mv root root_5.34.34

export ROOTSYS=$PWD/root_5.34.34
export PATH=$ROOTSYS/bin:$PATH
export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH


wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.3.1.tar.gz
tar -zxf Delphes-3.3.1.tar.gz
cd Delphes-3.3.1
make

curl http://cp3.irmp.ucl.ac.be/~demin/test.hepmc.gz | gunzip | ./DelphesHepMC cards/converter_card.tcl delphes_test_1.root

comment:4 by Pavel Demin, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.