ROOT logo
// -*- mode: c++ -*-
#ifndef ALICALOPEAKFINDERVECTORS_H
#define ALICALOPEAKFINDERVECTORS_H

/**************************************************************************
 * This file is property of and copyright by the Relativistic Heavy Ion   *
 * Group (RHIG), Department of Physics Yale University, US, 2010          *
 *                                                                        *
 * Author: Per Thomas Hille <perthomas.hille@yale.edu> for the ALICE EMCAL*
 * project. Contributors are mentioned in the code where appropriate.     *
 * Please report bugs to perthomas.hille@yale.edu                         *
 *                                                                        *
 * 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.                  *
 **************************************************************************/

//Container class for Peak Finder vectors

#include "TObject.h"
//#include "AliCaloPeakFinderConstants.h"
//using namespace PeakFinderConstants;

#include "AliCaloConstants.h"


class AliCaloPeakFinderVector;


class  AliCaloPeakFinderVectors : public TObject
{
 public: 
  AliCaloPeakFinderVectors();
  virtual ~AliCaloPeakFinderVectors();
  void SetVector(const int i, const int j, const Double_t  *const a, const Double_t *const t,  
		 const Double_t *const ac, const Double_t *const tc );
  void GetVector(const int i, const int j, Double_t *const a, Double_t *const  t,  
		 Double_t *const ac, Double_t *const tc ) const;
  void PrintVectors() const;
  void ResetVectors();

 private:
  Double_t fPFAmpVC[PF::MAXSTART][PF::SAMPLERANGE][100]; // Vectors for Amplitude extraction, first iteration 
  Double_t fPFTofVC[PF::MAXSTART][PF::SAMPLERANGE][100]; // Vectors for TOF extraction, first iteration
  Double_t fPFAmpV[PF::MAXSTART][PF::SAMPLERANGE][100];  // Vectors for Amplitude extraction, second iteration 
  Double_t fPFTofV[PF::MAXSTART][PF::SAMPLERANGE][100];  // Vectors for TOF extraction, second iteration  
  
  ClassDef( AliCaloPeakFinderVectors, 2 )
    
};

#endif

 AliCaloPeakFinderVectors.h:1
 AliCaloPeakFinderVectors.h:2
 AliCaloPeakFinderVectors.h:3
 AliCaloPeakFinderVectors.h:4
 AliCaloPeakFinderVectors.h:5
 AliCaloPeakFinderVectors.h:6
 AliCaloPeakFinderVectors.h:7
 AliCaloPeakFinderVectors.h:8
 AliCaloPeakFinderVectors.h:9
 AliCaloPeakFinderVectors.h:10
 AliCaloPeakFinderVectors.h:11
 AliCaloPeakFinderVectors.h:12
 AliCaloPeakFinderVectors.h:13
 AliCaloPeakFinderVectors.h:14
 AliCaloPeakFinderVectors.h:15
 AliCaloPeakFinderVectors.h:16
 AliCaloPeakFinderVectors.h:17
 AliCaloPeakFinderVectors.h:18
 AliCaloPeakFinderVectors.h:19
 AliCaloPeakFinderVectors.h:20
 AliCaloPeakFinderVectors.h:21
 AliCaloPeakFinderVectors.h:22
 AliCaloPeakFinderVectors.h:23
 AliCaloPeakFinderVectors.h:24
 AliCaloPeakFinderVectors.h:25
 AliCaloPeakFinderVectors.h:26
 AliCaloPeakFinderVectors.h:27
 AliCaloPeakFinderVectors.h:28
 AliCaloPeakFinderVectors.h:29
 AliCaloPeakFinderVectors.h:30
 AliCaloPeakFinderVectors.h:31
 AliCaloPeakFinderVectors.h:32
 AliCaloPeakFinderVectors.h:33
 AliCaloPeakFinderVectors.h:34
 AliCaloPeakFinderVectors.h:35
 AliCaloPeakFinderVectors.h:36
 AliCaloPeakFinderVectors.h:37
 AliCaloPeakFinderVectors.h:38
 AliCaloPeakFinderVectors.h:39
 AliCaloPeakFinderVectors.h:40
 AliCaloPeakFinderVectors.h:41
 AliCaloPeakFinderVectors.h:42
 AliCaloPeakFinderVectors.h:43
 AliCaloPeakFinderVectors.h:44
 AliCaloPeakFinderVectors.h:45
 AliCaloPeakFinderVectors.h:46
 AliCaloPeakFinderVectors.h:47
 AliCaloPeakFinderVectors.h:48
 AliCaloPeakFinderVectors.h:49
 AliCaloPeakFinderVectors.h:50
 AliCaloPeakFinderVectors.h:51
 AliCaloPeakFinderVectors.h:52
 AliCaloPeakFinderVectors.h:53
 AliCaloPeakFinderVectors.h:54
 AliCaloPeakFinderVectors.h:55
 AliCaloPeakFinderVectors.h:56
 AliCaloPeakFinderVectors.h:57