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 previous 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

 
Read Message
Read Message
Read Message
Previous Topic: RPC_TOF
Next Topic: problem in running demo/runMC.C
Goto Forum:
  


Current Time: Sat Dec 03 20:16:55 CET 2022

Total time taken to generate the page: 0.00729 seconds