I’m facing a very strange and unexpected problem with TLorentzVector.
In attachement you find 3 files.cc that are very similar (I’ve just changed few line to explain the errors I get).
- cut_data_OHLT_VBF_2jets.cc works
- cut_data_OHLT_VBF_2jets_Bad1.cc don’t work, but only because I commented a cout statement
- cut_data_OHLT_VBF_2jets_Bad2.cc don’t work, but only because I use TLorentz vector to evaluate a diInvariantMass instead of doing it by hand
For files 2. and 3. the error I get is:
*** Break *** segmentation violation
Root > Function cut_data_OHLT_VBF_2jets_Bad1,2() busy flag cleared
The rootpla I’m using can be found in email@example.com:/tmp/fromeo/
If you have problems to get it, let me know and we can find a better way to access it.
I hope you can help me in debbuggin the problem I was not able to solve.
for the attention,
cut_data_OHLT_VBF_2jets_Bad2.cc (4.6 KB)
cut_data_OHLT_VBF_2jets_Bad1.cc (4.64 KB)
cut_data_OHLT_VBF_2jets.cc (4.67 KB)