fPackedDataBuffer(),
fLocalEventCounterDRM(-1),
fLocalEventCounterLTM(-1),
- fLocalEventCounterTRM(0x0),
- fLocalEventCounterChain(0x0),
- fChainBunchID(0x0),
+ fLocalEventCounterTRM(),
+ fLocalEventCounterChain(),
+ fChainBunchID(),
fCableLengthMap(0x0),
fEventID(0)
{
fRawReader->Reset();
fRawReader->Select("TOF");
- fLocalEventCounterTRM = new Int_t[13];
- fLocalEventCounterChain = new Int_t*[13];
- fChainBunchID = new Int_t*[13];
- for (Int_t j=0;j<13;j++){
- fLocalEventCounterTRM[j] = -1;
- fLocalEventCounterChain[j] = new Int_t[2];
- fChainBunchID[j] = new Int_t[2];
- for (Int_t k=0;k<2;k++){
- fLocalEventCounterChain[j][k] = -1;
- fChainBunchID[j][k] = -1;
+ for (Int_t jj=0;jj<13;jj++) {
+ fLocalEventCounterTRM[jj] = -1;
+ for (Int_t ii=0;ii<2;ii++) {
+ fLocalEventCounterChain[jj][ii] = -1;
+ fChainBunchID[jj][ii] = -1;
}
}
fPackedDataBuffer(),
fLocalEventCounterDRM(-1),
fLocalEventCounterLTM(-1),
- fLocalEventCounterTRM(0x0),
- fLocalEventCounterChain(0x0),
- fChainBunchID(0x0),
+ fLocalEventCounterTRM(),
+ fLocalEventCounterChain(),
+ fChainBunchID(),
fCableLengthMap(0x0),
fEventID(0)
{
fTOFrawData = new TClonesArray("AliTOFrawData",1000);
fTOFrawData->SetOwner();
- fLocalEventCounterTRM = new Int_t[13];
- fLocalEventCounterChain = new Int_t*[13];
- fChainBunchID = new Int_t*[13];
for (Int_t j=0;j<13;j++){
fLocalEventCounterTRM[j] = -1;
- fLocalEventCounterChain[j] = new Int_t[2];
- fChainBunchID[j] = new Int_t[2];
for (Int_t k=0;k<2;k++){
fLocalEventCounterChain[j][k] = -1;
fChainBunchID[j][k] = -1;
fPackedDataBuffer(),
fLocalEventCounterDRM(stream.fLocalEventCounterDRM),
fLocalEventCounterLTM(stream.fLocalEventCounterLTM),
- fLocalEventCounterTRM(0x0),
- fLocalEventCounterChain(0x0),
- fChainBunchID(0x0),
+ fLocalEventCounterTRM(),
+ fLocalEventCounterChain(),
+ fChainBunchID(),
fCableLengthMap(stream.fCableLengthMap),
fEventID(stream.fEventID)
{
fTOFrawData->Clear();
delete fTOFrawData;
- delete [] fLocalEventCounterTRM;
- for (Int_t ii=0; ii<2; ii++) {
- delete [] fLocalEventCounterChain[ii];
- delete [] fChainBunchID[ii];
- }
delete fCableLengthMap;
}
// nPadZ number -vol[3]- (variable in [0, 1])
// nPadX number -vol[4]- (variable in [0,47])
// in:
- // nDDL -eqId[0]- (variable in [0;71]) -> number of the DDL file
- // nTRM -eqId[1]- (variable in [3;12]) -> number of the TRM file
- // nTDC -eqId[2]- (variable in [0;14]) -> number of the TDC file
- // nChain -eqId[3]- (variable in [0; 1]) -> number of the chain file
- // nChannel -eqId[4]- (variable in [0; 8]) -> number of the channel file
+ // nDDL -eqId[0]- (variable in [0;71]) -> number of the DDL
+ // nTRM -eqId[1]- (variable in [3;12]) -> number of the TRM
+ // nTDC -eqId[2]- (variable in [0;14]) -> number of the TDC
+ // nChain -eqId[3]- (variable in [0; 1]) -> number of the chain
+ // nChannel -eqId[4]- (variable in [0; 8]) -> number of the channel
//
eqId[0] = Geant2DDL(vol);
// nPadZ number -vol[3]- (variable in [0, 1])
// nPadX number -vol[4]- (variable in [0,47])
// in:
- // nDDL (variable in [0;71]) -> number of the DDL file
+ // nDDL (variable in [0;71]) -> number of the DDL
//