ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
***************************************************************************/

/*
  author: Roberto Preghenella (R+), preghenella@bo.infn.it
*/


//////////////////////////////////////////////////////////////////////
//                                                                  //
//                                                                  //
//        This class provides a buffer for TDC errors.              //
//                                                                  //
//                                                                  //
//////////////////////////////////////////////////////////////////////

#include "AliTOFTDCErrorBuffer.h"
#include "AliLog.h"

ClassImp(AliTOFTDCErrorBuffer)

AliTOFTDCErrorBuffer::AliTOFTDCErrorBuffer() :
  TObject(),
  fBuffer("AliTOFTDCError")
{
  /* default constructor */
  fBuffer.SetOwner(kTRUE);
}

//_________________________________________________________________

AliTOFTDCErrorBuffer::~AliTOFTDCErrorBuffer()
{
  /* destructor */
}

//_________________________________________________________________

void
AliTOFTDCErrorBuffer::Add(const AliTOFTDCError &err)
{
  /* add function */

  new (fBuffer[GetEntries()]) AliTOFTDCError(err);
}
 AliTOFTDCErrorBuffer.cxx:1
 AliTOFTDCErrorBuffer.cxx:2
 AliTOFTDCErrorBuffer.cxx:3
 AliTOFTDCErrorBuffer.cxx:4
 AliTOFTDCErrorBuffer.cxx:5
 AliTOFTDCErrorBuffer.cxx:6
 AliTOFTDCErrorBuffer.cxx:7
 AliTOFTDCErrorBuffer.cxx:8
 AliTOFTDCErrorBuffer.cxx:9
 AliTOFTDCErrorBuffer.cxx:10
 AliTOFTDCErrorBuffer.cxx:11
 AliTOFTDCErrorBuffer.cxx:12
 AliTOFTDCErrorBuffer.cxx:13
 AliTOFTDCErrorBuffer.cxx:14
 AliTOFTDCErrorBuffer.cxx:15
 AliTOFTDCErrorBuffer.cxx:16
 AliTOFTDCErrorBuffer.cxx:17
 AliTOFTDCErrorBuffer.cxx:18
 AliTOFTDCErrorBuffer.cxx:19
 AliTOFTDCErrorBuffer.cxx:20
 AliTOFTDCErrorBuffer.cxx:21
 AliTOFTDCErrorBuffer.cxx:22
 AliTOFTDCErrorBuffer.cxx:23
 AliTOFTDCErrorBuffer.cxx:24
 AliTOFTDCErrorBuffer.cxx:25
 AliTOFTDCErrorBuffer.cxx:26
 AliTOFTDCErrorBuffer.cxx:27
 AliTOFTDCErrorBuffer.cxx:28
 AliTOFTDCErrorBuffer.cxx:29
 AliTOFTDCErrorBuffer.cxx:30
 AliTOFTDCErrorBuffer.cxx:31
 AliTOFTDCErrorBuffer.cxx:32
 AliTOFTDCErrorBuffer.cxx:33
 AliTOFTDCErrorBuffer.cxx:34
 AliTOFTDCErrorBuffer.cxx:35
 AliTOFTDCErrorBuffer.cxx:36
 AliTOFTDCErrorBuffer.cxx:37
 AliTOFTDCErrorBuffer.cxx:38
 AliTOFTDCErrorBuffer.cxx:39
 AliTOFTDCErrorBuffer.cxx:40
 AliTOFTDCErrorBuffer.cxx:41
 AliTOFTDCErrorBuffer.cxx:42
 AliTOFTDCErrorBuffer.cxx:43
 AliTOFTDCErrorBuffer.cxx:44
 AliTOFTDCErrorBuffer.cxx:45
 AliTOFTDCErrorBuffer.cxx:46
 AliTOFTDCErrorBuffer.cxx:47
 AliTOFTDCErrorBuffer.cxx:48
 AliTOFTDCErrorBuffer.cxx:49
 AliTOFTDCErrorBuffer.cxx:50
 AliTOFTDCErrorBuffer.cxx:51
 AliTOFTDCErrorBuffer.cxx:52
 AliTOFTDCErrorBuffer.cxx:53
 AliTOFTDCErrorBuffer.cxx:54
 AliTOFTDCErrorBuffer.cxx:55
 AliTOFTDCErrorBuffer.cxx:56
 AliTOFTDCErrorBuffer.cxx:57