[ROOT] bit shift in TTree::Draw

From: steve udriot (Steve.Udriot@cern.ch)
Date: Wed Nov 01 2000 - 12:11:35 MET


Hi rooters,

I am doing the following thing :

root [0] gSystem->Load("./libEvent.so");                 
root [1] TFile *f = TFile::Open("rfio:p37050.root")      
root [2] T->Draw("(cristal_0.GetSample(0)&0x3000)>>12")  
<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
root [3] T->Draw("((cristal_0.GetSample(0)&0x3000)>>12)")

*ERROR 41 : 
 ')' is expected
root [4]

At root[2] I am expecting 2 and I get 4092 ?
At root[3] it doesn't recognize the parenthesis ?

How does the bit shift works with TTree::Draw ?

Thanks!

Steve



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET