2 #ifndef ALICALOPEAKFINDERVECTORS_H
3 #define ALICALOPEAKFINDERVECTORS_H
5 /**************************************************************************
6 * This file is property of and copyright by the Relativistic Heavy Ion *
7 * Group (RHIG), Department of Physics Yale University, US, 2010 *
9 * Author: Per Thomas Hille <perthomas.hille@yale.edu> for the ALICE EMCAL*
10 * project. Contributors are mentioned in the code where appropriate. *
11 * Please report bugs to perthomas.hille@yale.edu *
13 * Permission to use, copy, modify and distribute this software and its *
14 * documentation strictly for non-commercial purposes is hereby granted *
15 * without fee, provided that the above copyright notice appears in all *
16 * copies and that both the copyright notice and this permission notice *
17 * appear in the supporting documentation. The authors make no claims *
18 * about the suitability of this software for any purpose. It is *
19 * provided "as is" without express or implied warranty. *
20 **************************************************************************/
22 //Container class for Peak Finder vectors
25 //#include "AliCaloPeakFinderConstants.h"
26 //using namespace PeakFinderConstants;
28 #include "AliCaloConstants.h"
31 class AliCaloPeakFinderVector;
34 class AliCaloPeakFinderVectors : public TObject
37 AliCaloPeakFinderVectors();
38 virtual ~AliCaloPeakFinderVectors();
39 void SetVector(const int i, const int j, const Double_t *const a, const Double_t *const t,
40 const Double_t *const ac, const Double_t *const tc );
41 void GetVector(const int i, const int j, Double_t *const a, Double_t *const t,
42 Double_t *const ac, Double_t *const tc ) const;
43 void PrintVectors() const;
47 Double_t fPFAmpVC[PF::MAXSTART][PF::SAMPLERANGE][100]; // Vectors for Amplitude extraction, first iteration
48 Double_t fPFTofVC[PF::MAXSTART][PF::SAMPLERANGE][100]; // Vectors for TOF extraction, first iteration
49 Double_t fPFAmpV[PF::MAXSTART][PF::SAMPLERANGE][100]; // Vectors for Amplitude extraction, second iteration
50 Double_t fPFTofV[PF::MAXSTART][PF::SAMPLERANGE][100]; // Vectors for TOF extraction, second iteration
52 ClassDef( AliCaloPeakFinderVectors, 2 )