Hi Dave, You are right. I have made the corresponding changes in TLorentzVector, but also in TVector3. Thanks for the remark. Rene Brun Dave Casper wrote: > > 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 : Tue Jan 01 2002 - 17:50:33 MET