--- PamVMC/include/PamVMCSDMgr.h 2009/02/19 16:50:36 1.1 +++ PamVMC/include/PamVMCSDMgr.h 2009/06/12 18:39:19 1.5 @@ -35,7 +35,7 @@ void Register(){ // std::cout <<" Into Register() " << std::endl; TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); - TObject *o; while( o=(TObject *) n->Next()) { + TObject *o; while(( o=(TObject *) n->Next())) { //cout<<"!!KEY=<<"<< endl; ((PamVMCDetectorSD *)fsdmap.GetValue(o))->Register(); } @@ -43,14 +43,14 @@ void Clear(const Option_t* =""){ TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); - TObject *o; while( o=(TObject *) n->Next()) { + TObject *o; while( (o=(TObject *) n->Next())) { ((PamVMCDetectorSD *)fsdmap.GetValue(o))->ClearHitColl(); } } void Compress(const Option_t* =""){ TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); - TObject *o; while( o=(TObject *) n->Next()) { + TObject *o; while( (o=(TObject *) n->Next())) { ((PamVMCDetectorSD *)fsdmap.GetValue(o))->Compress(); } } @@ -58,14 +58,14 @@ void PreEvent(const Option_t* =""){ TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); - TObject *o; while( o=(TObject *) n->Next()) { + TObject *o; while( (o=(TObject *) n->Next())) { ((PamVMCDetectorSD *)fsdmap.GetValue(o))->PreEvent(); } } void Digitize(const Option_t* =""){ TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); - TObject *o; while( o=(TObject *) n->Next()) { + TObject *o; while( (o=(TObject *) n->Next())) { ((PamVMCDetectorSD *)fsdmap.GetValue(o))->Digitize(); } }