/*
$Log$
+Revision 1.2 2000/05/08 16:17:27 cblume
+Merge TRD-develop
+
Revision 1.1.2.1 2000/05/08 15:14:34 cblume
Add new data array classes
}
+//_____________________________________________________________________________
+AliTRDdataArrayI::AliTRDdataArrayI(AliTRDdataArrayI &a)
+{
+ //
+ // AliTRDdataArrayI copy constructor
+ //
+
+ a.Copy(*this);
+
+}
+
//_____________________________________________________________________________
AliTRDdataArrayI::~AliTRDdataArrayI()
{
}
+//_____________________________________________________________________________
+void AliTRDdataArrayI::Copy(AliTRDdataArrayI &a)
+{
+ //
+ // Copy function
+ //
+
+ fElements->Copy(*a.fElements);
+
+ a.fThreshold = fThreshold;
+
+ AliTRDdataArray::Copy(a);
+
+}
+
//_____________________________________________________________________________
void AliTRDdataArrayI::Reset()
{
Int_t idx1 = 0;
Int_t idx2 = 0;
- Int_t N = fElements->fN;
+ Int_t n = fElements->fN;
- for (i = 0; i < N; i++){
+ for (i = 0; i < n; i++){
// Negative sign counts the unwritten values (under threshold)
if ((*fElements)[i] < 0) {
Int_t idx1 = 0;
Int_t idx2 = 0;
- Int_t N = fElements->fN;
- for (i = 0; i < N; i++){
+ Int_t n = fElements->fN;
+ for (i = 0; i < n; i++){
// Negative sign counts the unwritten values (under threshold)
if ((*fElements)[i] < 0) {
idx1 -= fElements->At(i);
//_____________________________________________________________________________
void AliTRDdataArrayI::Compress2()
{
+ //
+ // Compress a buffer of type 2 - not implemented!
+ //
}