Hello Rene,
no, it returns the same value before and after the call of SetBranchAddress, regardless of the success of SetBranchAddress, i.e. I get e.g.
. . .
--> StacoMuon_bestMatch before 0x9afb4c8
[ SetBranchAddress is called ]
Error in <TTree::SetBranchAddress>: The pointer type give (vector<bool>)
does not correspond to the class needed (vector<int>) by the branch:
StacoMuon_bestMatch
--> now is 0x9afb4c8
. . .
Best regards,
Alexander
Rene Brun schrieb:
> You can use TBranch::GetAddress. If it returns 0 the SetBranchAddress > was not successful. > > Rene Brun > > Alexander Mann wrote:
This archive was generated by hypermail 2.2.0 : Thu Sep 10 2009 - 17:50:02 CEST