CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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]);
26  LASModuleProfile operator+(const double[512]);
27  LASModuleProfile operator-(const double[512]);
30  LASModuleProfile& operator+=(const double[512]);
31  LASModuleProfile& operator-=(const double[512]);
32  LASModuleProfile& operator+=(const int[512]);
33  LASModuleProfile& operator-=(const int[512]);
34  LASModuleProfile& operator/=(const double);
35 
36 private:
37  void Init(void);
38  std::vector<double> data;
39 };
40 
41 #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 &)
LASModuleProfile operator+(const LASModuleProfile &)
void SetData(double *)