why this?
Detaching from program: /proc/9266/exe, process 9266
Traceback (most recent call last):
File "myCut.py", line 145, in <module>
main()
File "myCut.py", line 138, in main
runCutPrintEach(data_signal,cuts)
File "myCut.py", line 65, in runCutPrintEach
for passati in runCutEach(tree,cuts):
File "myCut.py", line 48, in runCutEach
passati.append({'n':tree.Draw("",cut),'name':cut.GetName()} )
TypeError: none of the 3 overloaded methods succeeded. Full details:
void TTree::Draw(Option_t* opt) =>
takes at most 1 arguments (2 given)
problem in C++; program state has been reset
Long64_t TTree::Draw(const char* varexp, const char* selection, Option_t* option = "", Long64_t nentries = 1000000000, Long64_t firstentry = 0) =>
could not convert argument 2 (expected string or Unicode object, TCut found)
and this:
Long64_t Draw(const char* varexp, const TCut& selection, Option_t* option = “”,Long64_t nentries = 1000000000, Long64_t firstentry = 0)
why it’s not considered??