X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONBusStruct.cxx;h=ab0acd9ed781fec5b730855e933e523dadc7678e;hb=79a3c9e4951952ff059460b0531ef9008bb470c4;hp=5bb2c60b65c974b6d1b1c30c211e2b751477cb1f;hpb=000e9681abad4dc9867f188feb9ceb0dc50fb51a;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONBusStruct.cxx b/MUON/AliMUONBusStruct.cxx index 5bb2c60b65c..ab0acd9ed78 100644 --- a/MUON/AliMUONBusStruct.cxx +++ b/MUON/AliMUONBusStruct.cxx @@ -16,10 +16,12 @@ /* $Id$ */ #include "AliMUONBusStruct.h" + #include "AliLog.h" #include #include +//----------------------------------------------------------------------------- /// \class AliMUONBusStruct /// Bus patch structure for tracker raw data /// each Dsp contains at most 5 bus patch structure @@ -29,13 +31,17 @@ /// 12 bits for charge) /// /// \author Christian Finck +//----------------------------------------------------------------------------- +using std::cout; +using std::endl; /// \cond CLASSIMP ClassImp(AliMUONBusStruct) /// \endcond const Int_t AliMUONBusStruct::fgkHeaderLength = 4; const UInt_t AliMUONBusStruct::fgkDefaultDataKey = 0xB000000B; +const Int_t AliMUONBusStruct::fgkManuNofChannels(64); //___________________________________________ AliMUONBusStruct::AliMUONBusStruct() @@ -44,7 +50,7 @@ AliMUONBusStruct::AliMUONBusStruct() fTotalLength(0), fLength(0), fBusPatchId(0), - fBufSize(43*64), +fBufSize(43*fgkManuNofChannels), /* assuming 43 manus max per bustpatch. Anyway fData is resized where needed (though it makes it slower) */ fData(new UInt_t[fBufSize]),