]>
Commit | Line | Data |
---|---|---|
bab48e74 | 1 | #ifndef ALICALOPEAKFINDERVECTORS_H |
2 | #define ALICALOPEAKFINDERVECTORS_H | |
3 | ||
4 | /************************************************************************** | |
5 | * This file is property of and copyright by the Relativistic Heavy Ion * | |
6 | * Group (RHIG), Department of Physics Yale University, US, 2010 * | |
7 | * * | |
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 * | |
11 | * * | |
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 | **************************************************************************/ | |
20 | ||
21 | //Container class for Peak Finder vectors | |
22 | ||
23 | #include "TObject.h" | |
24 | #include "AliCaloPeakFinderConstants.h" | |
25 | using namespace PeakFinderConstants; | |
26 | ||
27 | ||
28 | class AliCaloPeakFinderVector; | |
29 | ||
30 | ||
31 | class AliCaloPeakFinderVectors : public TObject | |
32 | { | |
33 | public: | |
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; | |
fc7cd737 | 40 | void PrintVectors() const; |
bab48e74 | 41 | void ResetVectors(); |
42 | ||
fc7cd737 | 43 | private: |
bab48e74 | 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 | |
48 | ||
bab48e74 | 49 | ClassDef( AliCaloPeakFinderVectors, 1 ) |
50 | ||
51 | }; | |
52 | ||
53 | #endif | |
54 |