CMS 3D CMS Logo

LASModuleProfile.h
Go to the documentation of this file.
1 
2 #ifndef __LASMODULEPROFILE_H
3 #define __LASMODULEPROFILE_H
4 
5 #include <vector>
6 
12 
13 public:
15  LASModuleProfile(double*);
16  LASModuleProfile(int*);
17  void SetData(double*);
18  void SetData(int*);
19  double GetValue(unsigned int theStripNumber) const { return (data[theStripNumber]); } // return an element
20  void SetValue(unsigned int theStripNumber, const double& theValue) { data.at(theStripNumber) = theValue; }
21  void SetAllValuesTo(const double&);
22  void DumpToArray(double[512]);
25  LASModuleProfile operator+(const double[512]);
26  LASModuleProfile operator-(const double[512]);
29  LASModuleProfile& operator+=(const double[512]);
30  LASModuleProfile& operator-=(const double[512]);
31  LASModuleProfile& operator+=(const int[512]);
32  LASModuleProfile& operator-=(const int[512]);
33  LASModuleProfile& operator/=(const double);
34 
35 private:
36  void Init(void);
37  std::vector<double> data;
38 };
39 
40 #endif
LASModuleProfile operator-(const LASModuleProfile &)
void SetAllValuesTo(const double &)
double GetValue(unsigned int theStripNumber) const
LASModuleProfile & operator+=(const LASModuleProfile &)
LASModuleProfile & operator-=(const LASModuleProfile &)
std::vector< double > data
LASModuleProfile & operator/=(const double)
void DumpToArray(double[512])
void SetValue(unsigned int theStripNumber, const double &theValue)
LASModuleProfile operator+(const LASModuleProfile &)
void SetData(double *)