#include <LASModuleProfile.h>
Public Member Functions | |
void | DumpToArray (double[512]) |
double | GetValue (unsigned int theStripNumber) const |
LASModuleProfile (double *) | |
LASModuleProfile () | |
LASModuleProfile (int *) | |
LASModuleProfile | operator+ (const LASModuleProfile &) |
LASModuleProfile | operator+ (const double[512]) |
LASModuleProfile & | operator+= (const double[512]) |
LASModuleProfile & | operator+= (const int[512]) |
LASModuleProfile & | operator+= (const LASModuleProfile &) |
LASModuleProfile | operator- (const LASModuleProfile &) |
LASModuleProfile | operator- (const double[512]) |
LASModuleProfile & | operator-= (const LASModuleProfile &) |
LASModuleProfile & | operator-= (const int[512]) |
LASModuleProfile & | operator-= (const double[512]) |
LASModuleProfile & | operator/= (const double) |
LASModuleProfile & | operator= (const LASModuleProfile &) |
void | SetAllValuesTo (const double &) |
void | SetData (double *) |
void | SetData (int *) |
void | SetValue (unsigned int theStripNumber, const double &theValue) |
Private Member Functions | |
void | Init (void) |
Private Attributes | |
std::vector< double > | data |
Definition at line 8 of file LASModuleProfile.h.
LASModuleProfile::LASModuleProfile | ( | ) |
container class for a LAS SiStrip module's 512 strip signals
def constructor
Definition at line 9 of file LASModuleProfile.cc.
References Init().
Referenced by operator+(), and operator-().
{ Init(); }
LASModuleProfile::LASModuleProfile | ( | double * | ) |
LASModuleProfile::LASModuleProfile | ( | int * | ) |
void LASModuleProfile::DumpToArray | ( | double | array[512] | ) |
double LASModuleProfile::GetValue | ( | unsigned int | theStripNumber | ) | const [inline] |
Definition at line 20 of file LASModuleProfile.h.
References data.
Referenced by LASPeakFinder::FindPeakIn(), LASProfileJudge::GetNegativity(), LASProfileJudge::IsNegativePeaksInProfile(), LASProfileJudge::IsOverdrive(), LASProfileJudge::IsPeaksInProfile(), operator+(), operator+=(), operator-(), operator-=(), and operator=().
{ return( data[theStripNumber] ); } // return an element
void LASModuleProfile::Init | ( | void | ) | [private] |
everything needed for initialization
Definition at line 131 of file LASModuleProfile.cc.
References data.
Referenced by LASModuleProfile().
{ data.resize( 512 ); }
LASModuleProfile LASModuleProfile::operator+ | ( | const LASModuleProfile & | anotherProfile | ) |
Definition at line 166 of file LASModuleProfile.cc.
References GetValue(), i, and LASModuleProfile().
LASModuleProfile LASModuleProfile::operator+ | ( | const double | b[512] | ) |
add a double[512]
Definition at line 202 of file LASModuleProfile.cc.
References GetValue(), i, and LASModuleProfile().
LASModuleProfile & LASModuleProfile::operator+= | ( | const int | b[512] | ) |
LASModuleProfile & LASModuleProfile::operator+= | ( | const LASModuleProfile & | anotherProfile | ) |
LASModuleProfile & LASModuleProfile::operator+= | ( | const double | b[512] | ) |
LASModuleProfile LASModuleProfile::operator- | ( | const LASModuleProfile & | anotherProfile | ) |
Definition at line 184 of file LASModuleProfile.cc.
References GetValue(), i, and LASModuleProfile().
LASModuleProfile LASModuleProfile::operator- | ( | const double | b[512] | ) |
subtract a double[512]
Definition at line 220 of file LASModuleProfile.cc.
References GetValue(), i, and LASModuleProfile().
LASModuleProfile & LASModuleProfile::operator-= | ( | const double | b[512] | ) |
LASModuleProfile & LASModuleProfile::operator-= | ( | const int | b[512] | ) |
LASModuleProfile & LASModuleProfile::operator-= | ( | const LASModuleProfile & | anotherProfile | ) |
LASModuleProfile & LASModuleProfile::operator/= | ( | const double | divisor | ) |
LASModuleProfile & LASModuleProfile::operator= | ( | const LASModuleProfile & | anotherProfile | ) |
void LASModuleProfile::SetAllValuesTo | ( | const double & | theValue | ) |
Definition at line 103 of file LASModuleProfile.cc.
Referenced by LaserAlignment::beginJob(), and LaserAlignment::fillDataProfiles().
void LASModuleProfile::SetData | ( | double * | ) |
void LASModuleProfile::SetData | ( | int * | ) |
void LASModuleProfile::SetValue | ( | unsigned int | theStripNumber, |
const double & | theValue | ||
) | [inline] |
Definition at line 21 of file LASModuleProfile.h.
References data.
Referenced by LaserAlignment::fillDataProfiles(), and LaserAlignment::fillPedestalProfiles().
{ data.at( theStripNumber ) = theValue; }
std::vector<double> LASModuleProfile::data [private] |
Definition at line 39 of file LASModuleProfile.h.
Referenced by DumpToArray(), GetValue(), Init(), operator+=(), operator-=(), operator/=(), operator=(), SetAllValuesTo(), and SetValue().