CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LASModuleProfile.h
Go to the documentation of this file.
1 
2 #ifndef __LASMODULEPROFILE_H
3 #define __LASMODULEPROFILE_H
4 
5 #include <vector>
6 
7 
13 
14  public:
16  LASModuleProfile( double* );
17  LASModuleProfile( int* );
18  void SetData( double* );
19  void SetData( int* );
20  double GetValue( unsigned int theStripNumber ) const { return( data[theStripNumber] ); } // return an element
21  void SetValue( unsigned int theStripNumber, const double& theValue ) { data.at( theStripNumber ) = theValue; }
22  void SetAllValuesTo( const double& );
23  void DumpToArray( double[512] );
27  LASModuleProfile operator+( const double[512] );
28  LASModuleProfile operator-( const double[512] );
31  LASModuleProfile& operator+=( const double[512] );
32  LASModuleProfile& operator-=( const double[512] );
33  LASModuleProfile& operator+=( const int[512] );
34  LASModuleProfile& operator-=( const int[512] );
35  LASModuleProfile& operator/=( const double );
36 
37  private:
38  void Init( void );
39  std::vector<double> data;
40 
41 };
42 
43 #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 *)