Hi, The vector classes (TLorentzVector and TVector3, aka "the bane of my existence") have some member functions which lack what one would expect to be the proper const-ness: Using TLorentzVector as an example: TLorentzVector(Double_t* carray) TLorentzVector(Float_t* carray) [the argument of the constructor should be "const Double_t*", etc.] GetXYZT(Double_t* carray) GetXYZT(Float_t* carray) [member function should be declared const] Dave dcasper@uci.edu
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:50:53 MEST