GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: Increase bits for storage dch points in the track
items: Re: Increase bits for storage dch points in the track

Increase bits for storage dch points in the track
type: item
description: Dear All Could anybody to increase the number of bits in CbmMCTrack for storage of number of points for DCH detector (I am allowed to make no changes in mcstack directory). Currently only 4 bits are available. It allows to store only 15 points. For DCH tracks this number is to small. I don't ask about a lot :). Only 2 bits more will be enough. It will allow to store 63 points (I need place for number 46). The DCH detector is first in bitvector representing the number of MCPoints in the track. There is still place for increasing this number for DCH crowd. ** xxx: Bit 0 - 3 ** xxx: Bit 4 - 7 ** xxx: Bit ..... ** DCH: Bit 12 - 15 ---> 10 - 15 ** EMC: Bit 16 - 19 ** STT: Bit 20 - 23 Int_t GetDchPoints() const { return ( (fPoints & (15 << 12) ) >> 12 ); } to: Int_t GetDchPoints() const { return ( (fPoints & (63 << 10) ) >> 10 ); } and the same for SetDchPoints. Thanks in advance Arek
creator: Arkadiusz Bubak
date: 2008-03-14T13:27:26-00:00

Re: Increase bits for storage dch points in the track
type: item
description: Done. Please check if it does work or not.
creator: StefanoSpataro
date: 2008-03-15T11:05:15-00:00

Re: Increase bits for storage dch points in the track
type: item
description: It works. Thanks. Arek
creator: Arkadiusz Bubak
date: 2008-03-15T16:13:17-00:00