GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Increase bits for storage dch points in the track
Increase bits for storage dch points in the track [message #6078] Fri, 14 March 2008 14:27 Go to next message
Arkadiusz Bubak is currently offline  Arkadiusz Bubak
Messages: 5
Registered: September 2004
Location: Groningen
occasional visitor

From: *KVI.nl
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

[Updated on: Fri, 14 March 2008 16:50]

Report message to a moderator

Re: Increase bits for storage dch points in the track [message #6081 is a reply to message #6078] Sat, 15 March 2008 12:05 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *dip.t-dialin.net
Done.
Please check if it does work or not.
Re: Increase bits for storage dch points in the track [message #6083 is a reply to message #6081] Sat, 15 March 2008 17:13 Go to previous message
Arkadiusz Bubak is currently offline  Arkadiusz Bubak
Messages: 5
Registered: September 2004
Location: Groningen
occasional visitor

From: *KVI.nl
It works. Thanks. Arek
Previous Topic: RPC_TOF
Next Topic: problem in running demo/runMC.C
Goto Forum:
  


Current Time: Fri Apr 19 09:49:39 CEST 2024

Total time taken to generate the page: 0.00928 seconds