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