Linear Collider Forum



Home » Software Tools » LCIO » TrackerHitImpl const-ness of setPosition
TrackerHitImpl const-ness of setPosition [message #2067] Fri, 27 August 2010 12:45 Go to previous message
jabernathy
Messages: 78
Registered: March 2006
Location: University of Victoria
Just wondering if changing the setPosition signature from:

void 	setPosition (double pos[3])


to

void 	setPosition (const double pos[3])


would make sense. This would allow:

new_hit->setPosition ( old_hit->getPosition() );
 
Read Message
Read Message
Previous Topic:LCIO install error
Next Topic:problems reading lcio files in direct access mode
Goto Forum:
  


Current Time: Mon May 21 11:46:49 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software