CMS 3D CMS Logo

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 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 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]

Definition at line 23 of file SiStripGainFromAsciiFile.h.

Referenced by SiStripGainFromAsciiFile::getNewObject().