Hi Kathrin,
Using the TTree KAnaPhotonJetsTree (the same happens for a few others):
I got only the following compilation error:
root [1] KAnaPhotonJetsTree->Draw("analyze.C+")
Info in <TTreePlayer::DrawScript>: Will process tree/chain using
generatedSel.h+
Info in <TUnixSystem::ACLiC>: creating shared library
/var/tmp/./generatedSel_h.so
Note: Link requested for already precompiled class
vector<float,allocator<float> > (ignore this message) :0:
In file included from /var/tmp/./generatedSel.h:222,
from /var/tmp/./generatedSel_h_ACLiC_dict.h:33, from /var/tmp/./generatedSel_h_ACLiC_dict.cxx:16:/var/tmp/./analyze.C: In member function ‘double generatedSel::analyze()’: /var/tmp/./analyze.C:3: error: cannot convert ‘ROOT::TStlSimpleProxy<std::vector<int, std::allocator<int> > >’ to ‘double’ in return
and thus I changed analyze.C (since eventNumber actually contains a vector of int per event rather than a single value) into:
root [] KAnaPhotonJetsTree->Draw("analyze.C+")
Info in <TTreePlayer::DrawScript>: Will process tree/chain using
generatedSel.h+
Info in <TUnixSystem::ACLiC>: creating shared library
/var/tmp/./generatedSel_h.so
Note: Link requested for already precompiled class
vector<float,allocator<float> > (ignore this message) :0:
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
Event properties: 1 134826 Event properties: 1 134827 Event properties: 1 134828 Event properties: 1 134829 Event properties: 1 134830 Event properties: 1 134831
Cheers,
Philippe.
On 2/2/10 2:49 PM, Philippe Canal wrote:
> Hi Kathrin,
>
> Which TTree are you using within this file? (I can not reproduce your
> problem yet).
>
> Cheers,
> Philippe.
>
> On 2/2/10 2:32 PM, Kathrin Stoerig wrote:
>> Hello,
>>
>> I uploaded a testfile on
>>
>> https://james.physik.uni-freiburg.de/~stoerig/testdata.root
>>
>> Although with separated header, it still does not work. See errors
>> below:
>>
>> Many thanks for the help,
>> Kind regards,
>> Kathrin
>>
>
Received on Tue Feb 02 2010 - 22:06:11 CET
This archive was generated by hypermail 2.2.0 : Wed Feb 03 2010 - 11:50:02 CET