Line data Source code
1 : // -*- mode: c++ -*-
2 : #ifndef ALICALOPEAKFINDERVECTORS_H
3 : #define ALICALOPEAKFINDERVECTORS_H
4 :
5 : /**************************************************************************
6 : * This file is property of and copyright by the Relativistic Heavy Ion *
7 : * Group (RHIG), Department of Physics Yale University, US, 2010 *
8 : * *
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 *
12 : * *
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 : **************************************************************************/
21 :
22 : //Container class for Peak Finder vectors
23 :
24 : #include "TObject.h"
25 : //#include "AliCaloPeakFinderConstants.h"
26 : //using namespace PeakFinderConstants;
27 :
28 : #include "AliCaloConstants.h"
29 :
30 :
31 : class AliCaloPeakFinderVector;
32 :
33 :
34 0 : class AliCaloPeakFinderVectors : public TObject
35 : {
36 : public:
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;
44 : void ResetVectors();
45 :
46 : private:
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
51 :
52 58 : ClassDef( AliCaloPeakFinderVectors, 2 )
53 :
54 : };
55 :
56 : #endif
57 :
|