CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
SiStripGainFromAsciiFile::ModuleGain Struct Reference

Public Member Functions

void hard_reset (float val)
 
void soft_reset ()
 

Public Attributes

float apv [6]
 

Detailed Description

Definition at line 22 of file SiStripGainFromAsciiFile.h.

Member Function Documentation

void SiStripGainFromAsciiFile::ModuleGain::hard_reset ( float  val)
inline

Definition at line 30 of file SiStripGainFromAsciiFile.h.

References apv, and mps_fire::i.

Referenced by SiStripGainFromAsciiFile::getNewObject().

30  {
31  for (int i = 0; i < 6; ++i)
32  apv[i] = val;
33  }
void SiStripGainFromAsciiFile::ModuleGain::soft_reset ( )
inline

Definition at line 25 of file SiStripGainFromAsciiFile.h.

References apv, and mps_fire::i.

25  {
26  for (int i = 0; i < 6; ++i)
27  if (apv[i] == -1)
28  apv[i] = 1;
29  }

Member Data Documentation

float SiStripGainFromAsciiFile::ModuleGain::apv[6]